> The problem of merging the two parts is solved:
> ffmpeg -y -ss 21:50 -to 23:20 -i input.MTS -i Photos/output.jpg
> \
> -filter_complex "[0:v][1:v] overlay=10:10:enable='between(t, 5,
> 85)', \
>
> colorkey=0xFFFFFF\:0.01[ckout];[0:v][ckout]overlay[out]" \
> -map '[out]'
> \
> -pix_fmt yuv420p -c:a:0 copy -vcodec libx264 -preset veryfast
> -crf 26 \
> -t 30 greenScreen.mp4
>
> How can I get the audio into the output?
Found it. I just need to use:
-map 0:a
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".