[MPlayer-users] Can't read property length from avi file

Mathieu SCHROETER mathieu.schroeter at gamesover.ch
Wed Sep 24 16:07:57 CEST 2008


Bart van Deenen a écrit :
> Hi all

Hi,

> 
> I'm running into a  problem with an avi file that plays correctly (Linux 
> mplayer, kaffeine, various Windows players). The file is 37 seconds, but 
> mplayer can not get its length: "pausing get_property length" returns an 
> error. The slave command get_time_length gives 30 ms of total time.
> I also notice that the <- and -> keys for moving around in the video don't 
> work correctly.
> The avi file is from a Canon camcorder. 
> 
> When I get the fileproperties->metainfo (from KDE) I see:
> 
> Length: 00:37
> Resolution: 640x480
> Frame Rate: 30 fps
> Video Codec: mjpg
> Audio Codec: Microsoft PCM
> 
> So KDE seems to read the read video length. Kaffeine also gets the length from 
> the file, its position scrollbar works correctly.
> 
> Any ideas about this, and how to work around it or fix it? 
> 

test with `-demuxer lavf`

Regards,
Mathieu



More information about the MPlayer-users mailing list