[LAU] Retrieving audio info from a video file

Jonathan Gazeley jonathan.gazeley at bristol.ac.uk
Tue Feb 9 06:29:09 EST 2010


On 02/09/2010 11:26 AM, Maarten de Boer wrote:
>> Thanks for your advice. Unfortunately this seems to require a graphical
>> machine, but I'm trying to run this on a headless fileserver that has
>> all my media.
>>
>> [jonathan at zeus ~]$ mplayer -frame 0 -identify movie.avi
>> Creating config file: /home/jonathan/.mplayer/config
>> Unknown option on the command line: -frame
>> Error parsing option on the command line: -frame
>> MPlayer SVN-r29701-4.4.1 (C) 2000-2009 MPlayer Team
>>
>> Any other ideas?
>
> The option is -frames, not -frame, and you can use the null output 
> devices to run this on a headless machine.
>
> mplayer -identify -frames 0 -vo null -ao null movie.avi
>
> maarten
>
>


Thanks Maarten. I also found an app in the Fedora repo called 
themonospot which does what I want.

Cheers,
Jonathan


More information about the Linux-audio-user mailing list