Getting duration info from RealMedia w/o RealPlayer?
January 14, 2007 1:30 PM   Subscribe

Is there any way to get the duration of a RealAudio/RealVideo stream using a command line tool (i.e. without having to launch RealPlayer)? In a perfect world, I'd like to pipe a list of RealAudio/Video links and get back a text list with the time lengths of each file. At all possible?
posted by gwint to Computers & Internet (1 answer total)
 
Best answer: Mplayer can do this.

mplayer -frames 0 -msglevel identify=6 -ao null -nocache {filename/URL} |grep ID_LENGTH

Will give you the length in seconds.
posted by toxic at 1:55 PM on January 14, 2007


« Older How to recover from frozen Finder and Word   |   An ounce of prevention? Newer »
This thread is closed to new comments.