Hello,

It's a bit over my head.

In one command, I'd like to stack two videos, resize them to the same
width+height, and use audio from the first video.

Would someone have a working example?

#Stack
ffmpeg -i input0 -i input1 -filter_complex vstack=inputs=2 output

#Using audio from one particular input. This example will use the audio from
input1:
ffmpeg -i input0 -i input1 -filter_complex "[0:v][1:v]vstack=inputs=2[v]"
-map "[v]" -map 1:a output

#Resize/scale an input
ffmpeg -i input0 -i input2 -filter_complex
"[0:v]scale=640:-1[v0];[v0][1:v]vstack=inputs=2" output

Thank you.



--
Sent from: http://ffmpeg-users.933282.n4.nabble.com/
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to