Im trying to get two 1080p videos side by side, Wanting the two scaled to 720p and combined both as 1080p
ive tried using the below code . it works fine when using the lower resolution but when i try to make it go higher it gets all mixed up
any tips
ffmpeg -i video.avi -i video2.avi -filter_complex "nullsrc=size=720x288 [base]; [0:v] setpts=PTS-STARTPTS, scale=360x288 [left]; [1:v] setpts=PTS-STARTPTS, scale=360x288 [right]; [base][left] overlay=shortest=1 [tmp1]; [tmp1][right] overlay=shortest=1:x=360:y=0" -c:v libx264 -f flv "rtmp://192.168.1.1/live/videocrop"