[MPlayer-users] Trouble with -identify -frames 1 and audio files

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Jan 19 10:49:35 CET 2008


Hello,
On Sat, Jan 19, 2008 at 08:55:37AM +0100, Sebastian Kemper wrote:
> I'm using "mplayer -vo null -ao null -identify -frames 1 ..." within a 
> script to determine file properties. Now I've stumbled upon a little 
> issue. When I run the above command on an MP3 file mplayer plays it 
> instead of quitting after 1 frame.

Well, actually it even does quit before the first frame :-)
Just use -endpos and -ao pcm:file=/dev/null:fast or something like that.

Greetings,
Reimar Doeffinger



More information about the MPlayer-users mailing list