Search code examples
ffmpegwatermark

Bad quality video after watermarking with ffmpeg


Can someone please tell me what I'm doing wrong? I'm using the following arguments to watermark a video with ffmpeg from a c# app:

-i "video.AVI" -s 384x288 -vhook "vhook/imlib2.dll -x 0 -y 0 -i "watermark.png"" -y "output.avi" -sameq

The orginal file size is 233mb but the output is 60 odd mb. I thought using the -sameq argument would give me the same size and quality output.


Solution

  • Instead of -sameq try defining the bitrates manually with -ab and -vb.