Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -y -i input1.mp4 -i input2.mp4 -i input3.png -filter_complex "[0:0]trim=start=0.0:end=9.516[out0];[out0]setpts=expr=PTS-STARTPTS[out1];[0:1]atrim=start=0.0:end=9.516[out2];[out2]asetpts=expr=PTS-STARTPTS[out3];[1:0]trim=start=0.0:end=3.402[trim4];[trim4]setpts=expr=PTS+(1.701-0.0)/TB[pts5];[pts5]scale=w=960:h=539[scale6];[out1][scale6]overlay=x=0:y=504:enable='between(t,1.701,5.103)'[overlay7];[2:0]scale=w=960:h=539[scale8];[overlay7][scale8]overlay=x=960:y=0:enable='between(t,2.796,7.796)'[overlay9]" -map '[overlay9]' -map '[out3]' -threads 4 -r 25.0 -f nut -pix_fmt bgr24 - | ffmpeg -y -f nut -r 25.0 -s 1920x108 -i - -c copy -vsync 1 -vcodec libx264 -f mp4 -s 1920x1080 -pix_fmt yuv420p -profile:v high -crf 22 -preset veryfast -x264opts no-cabac -strict -2 output.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement