Mailing List archive

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

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



Hello,

Karsten Mueller wrote:
> -----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 ... ;)

use the option -frames 0.

HP

> 
> 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.
>>
>> [...]




Home | Main Index | Thread Index