[MEncoder-users] estimate the final length of a file

Sergio raster at rastersoft.com
Thu Feb 23 15:10:09 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi again!

I need to know the final length of a file after being converted by
Mencoder. Currently I do it using the formula:

	(audio_rate+video_rate)*length

with AUDIO_RATE and VIDEO_RATE expressed as bytes/second and LENGTH as
seconds. Unfortunately, the size is overestimated in about a 35% (i.e.
when the estimation says 4.4 GBytes, the true final size is about 3
GBytes).

Is there a way of better estimate the final length?

Thanks in advance.

- --
Nos leemos
		         RASTER    (Linux user #228804)
raster at rastersoft.com              http://www.rastersoft.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD/cJBXEZvyfy1ha8RAk78AJ40YHnRQnH5xNwc1Kh2nRHZafoKkgCfbrYx
jtRGQN3OwP4Bx2SRLn0mjAs=
=nbVA
-----END PGP SIGNATURE-----




More information about the MEncoder-users mailing list