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

Werner Robitza werner.robitza at gmail.com
Fri Aug 15 17:37:41 CEST 2014


On Friday, August 15, 2014, Moritz Barsnick <barsnick at gmx.net> wrote:

> 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?


Oh indeed! Disregard this then.

I might have spotted a difference in file size with another set of commands
though.

Thanks for the sanity check.


-- 
Sent from Gmail Mobile


More information about the ffmpeg-user mailing list