Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: OT: Tool to read avi header information



-----BEGIN PGP SIGNED MESSAGE-----

Hi,

mplayer could do the trick. It's a bit dirty, but it works...

Try:

	mplayer your-movie.avi -wid 42 2>&1 |egrep "^VIDEO|^AUDIO"

which produces (parseable) lines like:

VIDEO:  [DIV3]  352x264  24bpp  29.97 fps  680.8 kbps (83.1 kbyte/s)
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 8000->176400

Maybe it'd be better to add some kind of an "-info" switch to mplayer
instead of the "(hopefully) nonexistent window" trick ... ;)

JM2¢

- -- 
with best regards
- ---
Karsten Mueller
Softwaredevelopment / Keyaccount Manager
RATIO Entwicklungen GmbH
Admiralitaetstr. 59
20459 Hamburg
Email: mailto:kmu@ratio.de


On Monday 06 May 2002 22:12, you wrote:
> Hi,
>
> I'm looking for a tool to read the avi header to extract such information
> as frames/s, resolution, etc.
>
> Does anyone know such a thing?
>
> I've been searching with google but couldn't find anything for Linux.
>
> Cheers,
>          Bernd


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in
Charset: noconv

iQEVAwUBPNeAJPa/7v6IZOEZAQH+LAf/eKDF/+PCOMeo4BD/I9zduAJvPh129tWf
9fqx3MiPyValUJXcbMRuy5DIu7A+EHlnkUHVRW34lQtQmm5+unw/LbT8QEDJpa6D
hnCEszdDrmHE0o53MemcMRbTk8ixbb9CoelXejcYN9E3D6DcEK82POS/yqk+M7ep
p7qkN12s4vPEm7cwG4Sno3tAnEqMlTs9HJNuFHq+zSm0WmpK5pu3ZmjzrEOjreAW
A8QCyhPVpHSsMmhHWzMeaqiz1i2bCTLg4c79u3EzVLOS0K5O3MTHnzmYP1ZxlfGi
WIU6Xl/bmDqoHzpGfjznIeb0iLq4mprZz2lYKWEbl2UmFRLaisHyAA==
=RZOD
-----END PGP SIGNATURE-----




Home | Main Index | Thread Index