1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00
mpv/demux
wm4 222a5cf7c0 demux_lavf: make minimum probe score customizable, remove lavf_preferred
libavformat wants to read a full ~400KB of data to determine whether
it's really AAC. This causes slow startup with AAC web radio streams [1]
(possible due to a broken initial packet). There are similar issues
with other file formats.

Make the probe "score" (libavformat's mechanism for testing file
formats) configurable with the -lavfdtops:probescore option. This allows
lowering the amount of data read on probing. If the probe score is below
the probescore option value, demux_lavf will try to get a higher score
by feeding more data to libavformat, until the required score or the
max. probe size is reached.

Remove the lavf_preferred demuxer entry. This had a purpose in
mplayer-svn, but now there doesn't seem to be any good reason for it
to exist. Make sure that our native "good" demuxers are above
demux_lavf in demuxer_list[] instead (so that they are preferred).

[1] http://lr2mp0.latvijasradio.lv:8000
2012-12-11 00:37:54 +01:00
..
asf.h
asfguid.h
asfheader.c
asfheader.h
aviheader.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
aviheader.h stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
aviprint.c
aviprint.h
demux_asf.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_avi.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_cue.c
demux_edl.c
demux_lavf.c demux_lavf: make minimum probe score customizable, remove lavf_preferred 2012-12-11 00:37:54 +01:00
demux_mf.c demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
demux_mkv.c audio: improve decoder open failure handling 2012-12-03 21:08:52 +01:00
demux_mng.c
demux_mpg.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_packet.h stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_rawaudio.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_rawvideo.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_ts.c stream, demux: replace off_t with int64_t 2012-11-20 18:00:15 +01:00
demux_ts.h
demux.c demux_lavf: make minimum probe score customizable, remove lavf_preferred 2012-12-11 00:37:54 +01:00
demux.h demux_lavf: make minimum probe score customizable, remove lavf_preferred 2012-12-11 00:37:54 +01:00
ebml.c
ebml.h
extension.c
matroska.h
mf.c demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
mf.h demux_mf: allow displaying single image files, various cleanups 2012-11-16 21:21:16 +01:00
mp3_hdr.c
mp3_hdr.h
mp_taglists.c
mp_taglists.h
mpeg_hdr.c
mpeg_hdr.h
ms_hdr.h
parse_es.c
parse_es.h
stheader.h
video.c demux_lavf: make minimum probe score customizable, remove lavf_preferred 2012-12-11 00:37:54 +01:00