[MPlayer-dev-eng] [PATCH] prefer lavf demuxer over mplayer for dvr-ms files
compn
tempn at twmi.rr.com
Sat Aug 30 14:00:35 CEST 2008
On Sat, 30 Aug 2008 02:42:50 +0200, Aurelien Jacobs wrote:
>compn wrote:
>
>> i ran into a bunch of dvr-ms files and noticed that seeking really sucks
>> with mplayer demuxer.
>>
>> when seeking 10 secs, seek instead does 1:53 increments.
>> and lots of these after a few seeks:
>> Too many video packets in the buffer: (353 in 8465928 bytes).
>> Maybe you are playing a non-interleaved stream/file or the codec failed?
>> For AVI files, try to force non-interleaved mode with the -ni option.
>> A: 241.0 V: 229.6 A-V: 11.464 ct: 0.277 205/205 25% 22% 1.2% 0 0
>>
>>
>> anyone interested in fixing asf demuxer or is this change ok?
>> i'll try to make a small sample, current samples are 2gb each
>>
>> Index: extension.c
>> ===================================================================
>> --- extension.c (revision 27489)
>> +++ extension.c (working copy)
>> @@ -63,6 +63,7 @@
>> { "apl", DEMUXER_TYPE_LAVF },
>> { "mac", DEMUXER_TYPE_LAVF },
>> { "str", DEMUXER_TYPE_LAVF },
>> + { "dvr-ms", DEMUXER_TYPE_LAVF },
>>
>> // At least the following are hacks against broken autodetection
>> // that should not be there
>
>Is there any know drawbacks using the lavf demuxer for all asf files
i've heard of some bugreports about wmv and demuxer lavf being
desynched. mostly from people who use mencoder in a youtube like
website. seeking with -demuxer lavf on asf gives me a whole page of
output on mp4s/mp43 asf files, so at least that must be silenced before
the change.
http://samples.mplayerhq.hu/V-codecs/MP4S/ASForAVI.asf
[asf @ 0pf1d234]ignoring invalid packet_obj_size (758 200 200 2853)
[asf @ 0pf1d234]ignoring invalid packet_obj_size (958 334 334 2853)
[asf @ 0pf1d234]ignoring invalid packet_obj_size (1292 1283 1283 2853)
[asf @ 0pf1d234]freeing incomplete packet size 2853, new 2397
[asf @ 0pf1d234]freeing incomplete packet size 415, new 495
[asf @ 0pf1d234]ignoring invalid packet_obj_size (872 177 177 1978)
[asf @ 0pf1d234]ignoring invalid packet_obj_size (1049 182 182 1978)
[asf @ 0pf1d234]freeing incomplete packet size 1978, new 1280
[asf @ 0pf1d234]freeing incomplete packet size 1259, new 2502
[asf @ 0pf1d234]ignoring invalid packet_obj_size (1161 295 295 2621)
[asf @ 0pf1d234]freeing incomplete packet size 2621, new 1920
[asf @ 0pf1d234]ignoring invalid packet_obj_size (1161 295 295 2621)
[asf @ 0pf1d234]freeing incomplete packet size 2621, new 1920
[asf @ 0pf1d234]ignoring invalid packet_obj_size (1161 295 295 2621)
[asf @ 0pf1d234]freeing incomplete packet size 2621, new 1920
[asf @ 0pf1d234]freeing incomplete packet size 2755, new 4293
[asf @ 0pf1d234]ignoring invalid packet_obj_size (3160 645 645 4293)
[asf @ 0pf1d234]ignoring invalid packet_obj_size (3805 413 413 4293)
[asf @ 0pf1d234]freeing incomplete packet size 4293, new 3453
[asf @ 0pf1d234]freeing incomplete packet size 2755, new 4293
-compn
More information about the MPlayer-dev-eng
mailing list