[FFmpeg-user] Size of the video output file changes after mirror effect.

Mehta Naisargi Rajeshbhai mehta.naisargi at vvdntech.in
Mon Jun 11 21:17:46 EEST 2018


Hello Everyone,

I am using this  below ffmpeg command for giving the mirror effect in the video output file :

ffmpeg -i <video input file> -pix_fmt yuv420p -vf "hflip" -metadata:s:v rotate=180 <video output file>

size of video input file is 3.0 M and
size of video output file is 1.5M

Here size of video output file decreases after giving mirror effect. And rest of the things remains same for example resolution remains the same. So can anyone tell me that why the size of video output file is changing?
And  what steps I need to follow for mirror effect to keep the size of the output file  same as that of the input file.

Please guide me with the  proper steps.

Thanking you.


More information about the ffmpeg-user mailing list