When you run ffmpeg
command, you get the following error message: "Too many packets buffered for output stream 0:1.". Simply add the following option at the end of your video options:
-max_muxing_queue_size 1024
.
For example,
ffmpeg -y -i VIDEO.mp4 -i logo.png \ -filter_complex "overlay=x=main_w-overlay_w-(main_w*0.01):y=main_h-overlay_h-(main_h*0.01)" \ -max_muxing_queue_size 1024 \ OUTPUT.mp4