Answer the question
In order to leave comments, you need to log in
Ffmpeg: Image overlay on video without quality loss?
Good afternoon, I'm trying to solve a problem - you need to overlay an image on a video using ffmpeg, I sort of figured it out, but then I realized that not everything is as good as it seemed initially, namely, after the conversion, the video size (mb) becomes 3 times smaller and the video is clearly a little darker , I tried to solve the problem on my own for several days, but I realized that I couldn’t do without the ffmpeg guru)
So, I use this command:
ffmpeg -i videoin.mp4 -i background1.png -filter_complex "[0:v][1:v] overlay=1:1:enable='between(t,1,30)'" output.mp4
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question