Answer the question
In order to leave comments, you need to log in
FFmpeg - overlay with negative Y offset is not applied. How to overcome?
I set the simplest filter:
ffmpeg -i video.mp4 -loop 1 -i photo.jpg -filter_complex " [0:v][1:v] overlay=x=-220:y=0 [out]" -c:v libx264 -map [out] -t 10 -y out.mp4
Everything works as it should. But if I set a negative Y offset, then the image is not overlayed:
ffmpeg -i video.mp4 -r 1 -loop 1 -i photo.jpg -filter_complex " [0:v][1:v] overlay=x=-220: y=-220 [out]" -c:v libx264 -map [out] -t 10 -y
out.mp4 Moreover, if I set the offset to -100, then ffmpeg generally crashes with the error code -1073741819. I can't figure it out and googling didn't turn up anything.
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