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

Balatoni Denes pnis at coder.hu
Thu Jun 5 22:27:11 CEST 2003


Hi!

afaik lengh is calculated by 
length on medium/bitrate
for mpeg - so bitrate in mpeg header is probably not very accurate.
For avi however length is calculated from number of frames (iirc, or number of 
something else) in header which is much more accurate as it seems. 
I am afraid that didn't help much to solve the actual problem though :)

On 2003. június 5. 08.37, 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)

bye
Denes




More information about the MPlayer-users mailing list