mirror of
https://github.com/mpv-player/mpv
synced 2025-02-26 02:05:31 +00:00
basically demux_audio was mixing data in its header buffer in a bogus manner, whereby it could sometimes "make up" valid mpeg headers where no such header actually occurred in the file. it should be correct now. btw these changes also fix the bug where mplayer reports huge initial cpu usage for sound when playing mp3 files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15206 b3059339-0415-0410-9bf9-f77b7e298cf2 |
||
---|---|---|
.. | ||
realrtsp | ||
.cvsignore | ||
ai_alsa1x.c | ||
ai_alsa.c | ||
ai_oss.c | ||
asf_mmst_streaming.c | ||
asf_streaming.c | ||
asf.h | ||
asfheader.c | ||
audio_in.c | ||
audio_in.h | ||
aviheader.c | ||
aviheader.h | ||
aviprint.c | ||
bswap.h | ||
cache2.c | ||
cdd.h | ||
cdda.c | ||
cddb.c | ||
cdinfo.c | ||
config.h | ||
cookies.c | ||
cookies.h | ||
cue_read.c | ||
cue_read.h | ||
demux_asf.c | ||
demux_audio.c | ||
demux_avi.c | ||
demux_avs.c | ||
demux_avs.h | ||
demux_demuxers.c | ||
demux_film.c | ||
demux_fli.c | ||
demux_gif.c | ||
demux_lavf.c | ||
demux_lmlm4.c | ||
demux_mf.c | ||
demux_mkv.c | ||
demux_mov.c | ||
demux_mpg.c | ||
demux_nsv.c | ||
demux_nuv.c | ||
demux_ogg.c | ||
demux_pva.c | ||
demux_rawaudio.c | ||
demux_rawdv.c | ||
demux_rawvideo.c | ||
demux_real.c | ||
demux_realaud.c | ||
demux_roq.c | ||
demux_rtp_codec.cpp | ||
demux_rtp_internal.h | ||
demux_rtp.cpp | ||
demux_rtp.h | ||
demux_smjpeg.c | ||
demux_ts.c | ||
demux_ty_osd.c | ||
demux_ty.c | ||
demux_viv.c | ||
demux_vqf.c | ||
demux_xmms_plugin.h | ||
demux_xmms.c | ||
demux_y4m.c | ||
demuxer.c | ||
demuxer.h | ||
dvb_defaults.h | ||
dvb_tune.c | ||
dvbin.c | ||
dvbin.h | ||
dvdnav_stream.c | ||
dvdnav_stream.h | ||
ebml.c | ||
ebml.h | ||
extension.c | ||
frequencies.c | ||
frequencies.h | ||
genres.h | ||
help_mp.h | ||
http.c | ||
http.h | ||
Makefile | ||
matroska.h | ||
mf.c | ||
mf.h | ||
mp3_hdr.c | ||
mp3_hdr.h | ||
mp_msg.h | ||
mpeg_hdr.c | ||
mpeg_hdr.h | ||
ms_hdr.h | ||
muxer_avi.c | ||
muxer_lavf.c | ||
muxer_mpeg.c | ||
muxer_rawvideo.c | ||
muxer.c | ||
muxer.h | ||
netstream.h | ||
network.c | ||
network.h | ||
nuppelvideo.h | ||
open.c | ||
parse_es.c | ||
parse_es.h | ||
parse_mp4.c | ||
parse_mp4.h | ||
pnm.c | ||
pnm.h | ||
qtpalette.h | ||
README | ||
rtp.c | ||
rtp.h | ||
stheader.h | ||
stream_file.c | ||
stream_ftp.c | ||
stream_netstream.c | ||
stream_null.c | ||
stream_vcd.c | ||
stream_vstream.c | ||
stream.c | ||
stream.h | ||
test.c | ||
tv.c | ||
tv.h | ||
tvi_bsdbt848.c | ||
tvi_def.h | ||
tvi_dummy.c | ||
tvi_v4l2.c | ||
tvi_v4l.c | ||
url.c | ||
url.h | ||
vcd_read_darwin.h | ||
vcd_read_fbsd.h | ||
vcd_read_nbsd.h | ||
vcd_read.h | ||
video.c | ||
videodev2.h | ||
yuv4mpeg_intern.h | ||
yuv4mpeg_ratio.c | ||
yuv4mpeg.c | ||
yuv4mpeg.h |
libmpdemux - MPlayer's input/demuxer layer (C) A'rpi / MPlayer team ========================================== NOTE: It is not in the final form yet! API may change... Stream input layer: =================== #include "stream.h" Supported modes: - file (by 2048 byte sectors) including STDIN (if filename "-") - VCD disk (by 2324 byte mode2 sectors) - network (buggy, mpg/avi download-like streaming works, asf not) - DVD disk using with libdvdread 0.8 or 0.9 Note: optional CACHE layer with read-ahead and seek-back buffer (not finished) Demuxer layer: ============== #include "demuxer.h" Supported formats: - MPEG (PS,PES,VOB,ES), including VCD disk image files (.ISO/.BIN) - AVI, with or without index, interleaved and non-interleaved formats - ASF v1.0 (aka .wmv/.wma) - Quicktime MOV - including compressed headers, CBR and VBR Others: ======= #include "stheader.h" - audio and video stream structs used by header parsers #include "parse_es.h" - Mpeg ES stream parser Using it outside of mplayer tree: ================================= It uses a few things from mplayer tree: config.h - system-dependent options, see ./configure mp_msg.c/.h - mplayer's message printing code - copy it or impement your own help_mp.h - error/info message texts bswap.h - little/big endian conversion If you use it in your project - please tell me! A'rpi - arpi@thot.banki.hu