[MPlayer-dev-eng] [PATCH] prefer lavf demuxer over mplayer for dvr-ms files
Aurelien Jacobs
aurel at gnuage.org
Sat Aug 30 02:42:50 CEST 2008
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
instead of the native demuxer ?
If not, I would suggest adding "asf" to the demux_lavf.c preferred_list
instead of just checking for the dvr-ms extension.
Aurel
More information about the MPlayer-dev-eng
mailing list