I'm trying to combine 3 videos into one. 2 are sourced from a surveillance system, the 3rd is a placeholder JPEG that I looped in to a video using this:
ffmpeg -loop 1 -i FULL.jpg -c:v libx264 -t 10 -pix_fmt yuv420p -vf "scale=1920:1080,setsar=sar=189/190,setdar=16/9" -filter:v fps=fps=1 placeholder.mp4
As you can see, I'm trying to set the sar. Because when I combine the 3 files via
ffmpeg -i BEGINNING.mp4 -i placeholder.mp4 -i END.mp4 -f lavfi -t 0.1 -i anullsrc -filter_complex "[1:v]setsar=sar=189/190[v1];[0:v:0][0:a:0][1:v:0][3:a][2:v:0][2:a:0]concat=n=3:v=1:a=1[v][a]" -map "[v]" -map "[a]" full_demo.mp4
Filter setsar has a unconnected output
The sar of BEGINNING.mp4 and END.mp4 are 189/190 according to their mediainfo output. When I run mediainfo on placeholder.mp4, there is no sar or dar returned.
So what am I doing wrong?