user25159: 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"

user1760: Just use hstack:
ffmpeg -i video.avi -i video2.avi -filter_complex "[0:v] setpts=PTS-STARTPTS, scale=360x288 [left]; [1:v] setpts=PTS-STARTPTS, scale=360x288 [right]; [left][right]hstack=inputs=2" -c:v libx264 -f flv rtmp://192.168.1.1/live/videocrop


25159: <p>Im trying to get two 1080p videos side by side,  Wanting the two scaled to 720p and combined both as 1080p </p>

<p>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</p>

<p>any tips </p>

<p><code>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"</code></p>
 1760: <p>Just use <a href="https://ffmpeg.org/ffmpeg-filters.html#hstack" rel="nofollow noreferrer">hstack</a>:</p>

<pre><code>ffmpeg -i video.avi -i video2.avi -filter_complex "[0:v] setpts=PTS-STARTPTS, scale=360x288 [left]; [1:v] setpts=PTS-STARTPTS, scale=360x288 [right]; [left][right]hstack=inputs=2" -c:v libx264 -f flv rtmp://192.168.1.1/live/videocrop
</code></pre>
