mirror of https://github.com/mpv-player/mpv
1) some bugs introduced in the tuner autodetection and in the channel-parsing functions, 3) retries reading when the mplayer/mencoder don't read fast enough (sooner it exited) but especially 4) makes the stream compliant with the new, modular stream api (the one currently in CVS is not and is totally unreachable). [and maybe more, next time please include cvslog in patch! -- A'rpi] patch by Nico <nsabbi@libero.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10561 b3059339-0415-0410-9bf9-f77b7e298cf2 |
||
---|---|---|
.. | ||
realrtsp | ||
.cvsignore | ||
Makefile | ||
README | ||
ai_alsa.c | ||
ai_alsa1x.c | ||
ai_oss.c | ||
asf.h | ||
asf_mmst_streaming.c | ||
asf_streaming.c | ||
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 | ||
cue_read.c | ||
cue_read.h | ||
demux_asf.c | ||
demux_audio.c | ||
demux_avi.c | ||
demux_bmp.c | ||
demux_demuxers.c | ||
demux_film.c | ||
demux_fli.c | ||
demux_gif.c | ||
demux_mf.c | ||
demux_mkv.cpp | ||
demux_mov.c | ||
demux_mpg.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.cpp | ||
demux_rtp.h | ||
demux_rtp_codec.cpp | ||
demux_rtp_internal.h | ||
demux_smjpeg.c | ||
demux_ts.c | ||
demux_ty.c | ||
demux_ty_osd.c | ||
demux_viv.c | ||
demux_xmms.c | ||
demux_xmms_plugin.h | ||
demux_y4m.c | ||
demuxer.c | ||
demuxer.h | ||
dvb_defaults.h | ||
dvb_tune.c | ||
dvbin.c | ||
dvbin.h | ||
dvdauth.c | ||
dvdauth.h | ||
dvdnav_stream.c | ||
dvdnav_stream.h | ||
extension.c | ||
frequencies.c | ||
frequencies.h | ||
genres.h | ||
help_mp.h | ||
http.c | ||
http.h | ||
matroska.h | ||
mf.c | ||
mf.h | ||
mp3_hdr.c | ||
mp3_hdr.h | ||
mp_msg.h | ||
mpeg_hdr.c | ||
mpeg_hdr.h | ||
muxer.c | ||
muxer.h | ||
muxer_avi.c | ||
muxer_mpeg.c | ||
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 | ||
rtp.c | ||
rtp.h | ||
stheader.h | ||
stream.c | ||
stream.h | ||
stream_file.c | ||
stream_netstream.c | ||
stream_null.c | ||
stream_vcd.c | ||
test.c | ||
tv.c | ||
tv.h | ||
tvi_bsdbt848.c | ||
tvi_def.h | ||
tvi_dummy.c | ||
tvi_v4l.c | ||
tvi_v4l2.c | ||
url.c | ||
url.h | ||
vcd_read.h | ||
vcd_read_fbsd.h | ||
vcd_read_nbsd.h | ||
video.c | ||
videodev2.h | ||
yuv4mpeg.c | ||
yuv4mpeg.h | ||
yuv4mpeg_intern.h | ||
yuv4mpeg_ratio.c |
README
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