[FFmpeg-user] Why does encoding a file on different VM hosts result in different file size?

Moritz Barsnick barsnick at gmx.net
Fri Aug 15 16:56:56 CEST 2014


On Fri, Aug 15, 2014 at 16:29:06 +0200, Werner Robitza wrote:
> of ffmpeg. Ubuntu runs in a virtual machine. Running the exact same
> encode once under VMware Player and VirtualBox gives me different file
> sizes.

You're _not_ running the exact same encode.

1)
ffmpeg -i Barefoot.mp4 -filter:v
"scale=iw*min(1920/iw\\,1080/ih):ih*min(1920/iw\\,1080/ih),
pad=1920:1080:(1920-iw*min(1920/iw\\,1080/ih))/2:(1080-ih*min(1920/iw\\,1080/ih))/2"
-c:a pcm_s16le -c:v ffv1 -pix_fmt yuv420p -ss 14.5 -t 60 -report
Barefoot-60s-2.avi

2)
ffmpeg -report -i Barefoot.mp4 -filter:v
"unsharp=la=1.0,scale=iw*min(1920/iw\\,1080/ih):ih*min(1920/iw\\,1080/ih),
pad=1920:1080:(1920-iw*min(1920/iw\\,1080/ih))/2:(1080-ih*min(1920/iw\\,1080/ih))/2"
-c:a pcm_s16le -c:v ffv1 -pix_fmt yuv420p -ss 14.5 -t 60
Barefoot-60s-4.avi

I see the difference. Don't you?

Moritz


More information about the ffmpeg-user mailing list