Moritz Barsnick <barsn...@gmx.net> writes:

> On Tue, May 24, 2022 at 21:55:20 +0200, FFmpeg user discussions wrote:
>> What I find strange is that the input video is 23 MB and the picture
>> is 302 KB, but the generated video is 42 MB.
>> Am I doing something wrong?
>
> No, that's not strange at all. You are reencoding a video. That process
> will likely use different parameters than the original encoding.
> (Approximately the same would happen without the overlay.) You can
> control the encoding parameters, e.g. by the bitrate option "-b:v", or
> with "-crf" (if using libx264 or libx265). There is a lot of
> information about that available.

Of-course, should have thought about that. :'-(
Changed the last but one line to:
    -pix_fmt yuv420p -c:a copy -vcodec libx265 -preset veryfast -crf 30 \

And now the output file is 16 MB.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to