[FFmpeg-user] Convertion of Png image into yuv420p format codec mpeg2video.

shivkumar munugala shivkumar020994 at gmail.com
Thu Oct 18 16:19:48 EEST 2018


Hi ,

I am using below command to convert png into yuv420p
Command :
ffmpeg -async 1 -i *boot_up_1.png* -vcodec mpeg2video -r 25 -pix_fmt
yuv420p -minrate 50000k -maxrate 50000k -b 50000k -intra  -ps 1000M -qmin 1
-qmax 3 -top 1 -bufsize 2000000 -an output_iframetest_7_test.m2v

input file:
* boot_up_1.png*
output file:

*output_iframetest_7_test.m2v*
Problem:
Lower file size image less than 10Kb, when converted using above command
it's giving higher file size than input.
Higher file size image more than 414kb, when converted, output file size in
less.

Question:
Why this behaviour? . Either it should increase the output file size or
reduce, why both behaviour?


Warm regards,
Shivkumar Munugala


More information about the ffmpeg-user mailing list