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

Mathieu SCHROETER mathieu.schroeter at gamesover.ch
Sun Sep 28 20:43:03 CEST 2008


Bart van Deenen a écrit :
> On Wednesday 24 September 2008 16:07:57 Mathieu SCHROETER wrote:
>> Bart van Deenen a écrit :
>>> 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.
>>>
>> test with `-demuxer lavf`
> Thanks, works like a charm. Can I use this for all avi files, or even better 
> for all movie files, or should I try to error trap, and then apply this magic 
> potion?

The diff is just to use libavformat (FFmpeg) instead of
MPlayer's demuxers..
But with lavf, there are less informations with -identify and
maybe some problems with Matroska, and others formats?!...
I don't know..


Regards,
Mathieu



More information about the MPlayer-users mailing list