[MPlayer-users] Re: Getting info from mplayer for semi-automatic encoding script

Blaz Lorger blaz.lorger at kksonline.com
Thu Jun 5 20:46:09 CEST 2003


Neilen wrote:

>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>Hi.
>
>On Thu, 2003-06-05 at 15:08, Michael Waters wrote:
>  
>
>>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>>On Thu, Jun 05, 2003 at 14:37 +0800, Neilen wrote:
>>...
>>    
>>
>>>Right now, I need to get the time length of a movie file. When I use
>>>mplayer -identify on avi files, the ID_LENGTH field seems to give me the
>>>expected result.  
>>>
>>>On DVDs, however, the value is always too low. It does seem to be
>>>proportional to the movie length, however. If on a given DVD I say
>>>(using the latest mplayer 0.9 release)
>>>
>>>mplayer -identify dvd://3, I get (snipping everything before the ID_*
>>>fields)
>>>
>>>      
>>>
You could use 3-pass encoding and get length from avi file after first 
pass. You would have to choose audio bitrate manually, but that should 
not be a problem.




More information about the MPlayer-users mailing list