[FFmpeg-user] Make white of photo transparant
Cecil Westerhof
Cecil at decebal.nl
Wed Jun 29 02:48:25 EEST 2022
I am still experimenting with ffmpeg.
At the moment I have the folowing:
ffmpeg -y -ss 21:50 -to 23:20 -i input.MTS -i Photos/output.jpg \
-filter_complex "[0:v][1:v] overlay=0:-10:enable='between(t, 5, 85)'" \
-pix_fmt yuv420p -acodec copy -vcodec libx264 -preset veryfast -crf 26 \
output.mp4
The background of the photo is white. Would it be possible to make
that transparent? (So where there is white, I do not see white, but
the video.)
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
More information about the ffmpeg-user
mailing list