mpv/libmpdemux
nicodvb 047325d99f don't read past the end of the selected track
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15913 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 15:20:14 +00:00
..
realrtsp fix illegal memory accesses 2005-06-22 11:58:56 +00:00
.cvsignore
Makefile Be more patch-friendly 2005-06-19 22:52:55 +00:00
README
ai_alsa.c
ai_alsa1x.c
ai_oss.c
asf.h
asf_mmst_streaming.c some debugging code 2005-06-03 15:59:24 +00:00
asf_streaming.c printf converted to mp_msg; made static many unnecessarily global symbols 2005-06-03 15:33:26 +00:00
asfheader.c M$ puts whole FAQs in these headers, so they can get really big... 2005-06-21 19:56:47 +00:00
audio_in.c
audio_in.h
aviheader.c memleak fix by bryanwilkerson WHIRLPOOL yahoo SPOT com 2005-06-16 19:04:09 +00:00
aviheader.h consistency/tcc support patch by Oded Shimon 2005-07-03 12:49:23 +00:00
aviprint.c removed loader/ dependancy, imported some files from g2, also used patches from Dominik Mierzejewski 2004-04-28 10:18:33 +00:00
bswap.h
cache2.c prevent segfault on shmem failer 2004-07-26 22:06:30 +00:00
cdd.h
cdda.c
cddb.c DragonFly BSD support 2005-05-25 08:48:32 +00:00
cdinfo.c
config.h
cookies.c
cookies.h
cue_read.c better implementation of read() 2005-05-15 15:38:57 +00:00
cue_read.h ported cue:// to the new stream api; note: this stream must still be optimized in its read() and seek() functions 2005-05-15 07:38:42 +00:00
demux_aac.c demux close gets called automatically 2005-06-26 15:52:49 +00:00
demux_asf.c Speedup asf descrambling (avoid one memcpy and use our fastmemcpy). 2005-05-23 16:20:46 +00:00
demux_audio.c Fix MP3 detection (list of found MP3 headers was not kep sorted). 2005-04-18 20:51:34 +00:00
demux_avi.c Move generic length and percent pos calculation to demuxer.c 2005-01-15 16:11:45 +00:00
demux_avs.c memory leak fixes, patch by Gianluigi Tiesi <mplayer at netfarm.it> 2005-06-02 16:49:29 +00:00
demux_avs.h avisynth demuxer patch by Gianluigi Tiesi <mplayer at netfarm.it> 2005-02-13 13:39:19 +00:00
demux_demuxers.c
demux_film.c Fix for stereo files 2005-05-14 15:47:49 +00:00
demux_fli.c
demux_gif.c
demux_lavf.c 10l 2005-06-26 15:32:09 +00:00
demux_lmlm4.c
demux_mf.c
demux_mkv.c demux_stream_t.pts should not be assigned by the demuxer. Fixes playback of VFR files. Patch by Sam Dennis <sam () malfunction ! screaming ! net> 2005-06-09 07:45:17 +00:00
demux_mov.c avoid bad memory access 2005-06-20 14:32:51 +00:00
demux_mpg.c support raw ac3 (in private pes packets without the usual dvd 4 bytes substream header). Patch by Matthias Scharzott 2005-06-25 13:25:27 +00:00
demux_nsv.c avoid always skipping first junk with a "sync lost" message 2004-09-09 19:28:54 +00:00
demux_nuv.c 10l 2005-06-26 15:15:38 +00:00
demux_ogg.c prevent possible exploit 2005-05-13 00:00:54 +00:00
demux_pva.c
demux_rawaudio.c needed for a/v sync with compressed audio (e.g. raw .mp2 or .ac3 file) 2004-04-26 03:11:08 +00:00
demux_rawdv.c Rather simple patch for RAWDV demuxer which lets it say whats the total 2005-03-09 20:29:50 +00:00
demux_rawvideo.c y420 vs i420 typo 2004-12-16 23:54:59 +00:00
demux_real.c Fix rm files with a really big index chunk. 2005-03-03 10:23:28 +00:00
demux_realaud.c Fix very old ra files with no fourcc 2005-03-03 23:02:45 +00:00
demux_roq.c
demux_rtp.cpp ported all network streams to the new API 2005-05-29 12:54:00 +00:00
demux_rtp.h ported all network streams to the new API 2005-05-29 12:54:00 +00:00
demux_rtp_codec.cpp
demux_rtp_internal.h LIVE.COM tests moved to ./configure 2004-08-09 08:22:10 +00:00
demux_smjpeg.c
demux_ts.c pass along audio extradata if present 2005-06-06 20:49:55 +00:00
demux_ty.c a cleaned-up version of ty demuxer improvements found in tivo-mplayer fork. 2005-05-28 20:16:33 +00:00
demux_ty_osd.c
demux_viv.c make stupid gcc versions happy 2004-03-31 05:40:31 +00:00
demux_vqf.c 10l 2005-06-26 15:21:27 +00:00
demux_xmms.c removing AFMT_ dependancy 2004-12-27 17:55:06 +00:00
demux_xmms_plugin.h
demux_y4m.c 10l 2005-06-26 15:15:38 +00:00
demuxer.c adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net> 2005-06-20 23:07:35 +00:00
demuxer.h added AAC ADTS demuxer 2005-06-13 20:40:29 +00:00
dvb_defaults.h Mark modified imported files as such to comply more closely with GPL §2a. 2005-04-16 12:51:09 +00:00
dvb_tune.c Mark modified imported files as such to comply more closely with GPL §2a. 2005-04-16 12:51:09 +00:00
dvbin.c check the result of poll() before read()ing; 100l 2005-04-18 19:49:40 +00:00
dvbin.h Mark modified imported files as such to comply more closely with GPL §2a. 2005-04-16 12:51:09 +00:00
dvdnav_stream.c ported dvd:// to the new stream api 2005-05-19 19:50:39 +00:00
dvdnav_stream.h
ebml.c 100l, no endian conversion on floats! 2005-01-13 21:56:06 +00:00
ebml.h
extension.c demux ac3 by means of lavf by default 2005-04-07 18:59:15 +00:00
frequencies.c
frequencies.h comment out useless/nonexistent variable breaking compile on gcc4 2005-05-14 20:26:46 +00:00
genres.h more genre IDs by Bernd Ernesti <mplayer@lists.veego.de> 2004-08-22 14:43:42 +00:00
help_mp.h
http.c Remove code that is already done by fixup_network_stream_cache. 2005-06-16 07:42:01 +00:00
http.h
matroska.h Handle missing palettes in the info part of VobSubs in Matroska files correctly by giving mplayer a NULL pointer. This way it will use a default palette instead of black only. Patch by Csillag Kristof (fenwick () freemail ! hu) 2005-01-21 18:25:44 +00:00
mf.c
mf.h
mp3_hdr.c wrong framesize calculation for layers 1 and 2 with lsf set 2005-04-24 08:41:45 +00:00
mp3_hdr.h assign correct tag, dwScale and dwBlockAlign to mpeg audio; optionally assign layer and samples_per_frame when parsing mpa header 2005-04-17 09:42:51 +00:00
mp_msg.h
mpeg_hdr.c demux high profile H.264 ES 2005-06-02 21:16:21 +00:00
mpeg_hdr.h integer overflow when reading fps from h264 vui. 2005-04-19 21:17:39 +00:00
ms_hdr.h Better protection against double definition of MPEGLAYER3WAVEFORMAT 2004-08-09 15:53:10 +00:00
muxer.c messed up ordering of cases, special delivery of Cola to Tobias 2005-06-21 18:54:50 +00:00
muxer.h rawaudio muxer 2005-06-19 09:12:44 +00:00
muxer_avi.c new mpeg muxer compatible with dvd/[s]vcd; small changes in the muxer layer (sanity checks in the muxer_init functions) 2005-02-21 21:45:49 +00:00
muxer_lavf.c mux extradata 2005-05-17 21:44:28 +00:00
muxer_mpeg.c added support for AAC; moved most of MSGL_V to MSGL_DBG2 to reduce verbosity 2005-04-27 18:30:10 +00:00
muxer_rawaudio.c Fix off_t on OSX, thanks to Steven M. Schultz 2005-06-20 00:30:18 +00:00
muxer_rawvideo.c new mpeg muxer compatible with dvd/[s]vcd; small changes in the muxer layer (sanity checks in the muxer_init functions) 2005-02-21 21:45:49 +00:00
netstream.h tcp fragging bugfix by Song Du <freewizard at gmail.com> 2004-06-25 15:21:43 +00:00
network.c fix seeking over http for files larger 2 GB 2005-06-24 11:01:00 +00:00
network.h ported all network streams to the new API 2005-05-29 12:54:00 +00:00
nuppelvideo.h Specify the padding instead of expecting the compiler to align correctly 2005-05-25 11:48:58 +00:00
open.c ported all network streams to the new API 2005-05-29 12:54:00 +00:00
parse_es.c
parse_es.h
parse_mp4.c
parse_mp4.h Extended support for other object type IDs in the ESDS. This enables e.g. MPEG2 video in the MP4 container. 2004-11-15 15:04:57 +00:00
pnm.c printf converted to mp_msg; made static many unnecessarily global symbols 2005-06-03 15:33:26 +00:00
pnm.h ported all network streams to the new API 2005-05-29 12:54:00 +00:00
qtpalette.h static tables 2004-06-25 17:03:59 +00:00
rtp.c fix wrong usage of select() (based on patch by Selwyn Tang selwyn hectrix com), 2005-06-19 12:42:36 +00:00
rtp.h Mark modified imported files as such to comply more closely with GPL §2a. 2005-04-16 12:51:09 +00:00
stheader.h Remove file-global mpadec, add ad_driver member to sh_audio_t instead. 2005-02-25 11:17:43 +00:00
stream.c ported all network streams to the new API 2005-05-29 12:54:00 +00:00
stream.h ported all network streams to the new API 2005-05-29 12:54:00 +00:00
stream_dvd.c Reduce senseless spamminess of DVD playback in verbose mode. 2005-05-22 22:35:44 +00:00
stream_file.c fixed file:// syntax using newly introduced -string- urlpart 2005-05-14 12:50:59 +00:00
stream_ftp.c
stream_livedotcom.c typos 2005-06-20 08:47:27 +00:00
stream_netstream.c
stream_null.c
stream_smb.c remove inclusion of stdio.h 2005-05-19 21:47:30 +00:00
stream_vcd.c don't read past the end of the selected track 2005-07-03 15:20:14 +00:00
stream_vstream.c more on tivo vstream support.. 1000l to Joey for forgetting this file and breaking MPlayer build! :) 2005-02-27 05:53:12 +00:00
test.c
tv.c BGR formats are ok, too 2005-05-12 15:31:37 +00:00
tv.h several sets of headers declare global variables in them, which causes multiple definition errors with gcc 4.x 2005-01-29 12:24:43 +00:00
tvi_bsdbt848.c DragonFly BSD support 2005-05-25 08:48:32 +00:00
tvi_def.h
tvi_dummy.c and more and more stupidity 2004-05-01 18:30:38 +00:00
tvi_v4l.c removing AFMT_ dependancy 2004-12-27 17:30:15 +00:00
tvi_v4l2.c do not modify tv_param_noaudio 2005-05-14 13:54:25 +00:00
url.c uber 10l found by Ilia <chest4l at mail.ru> 2004-06-25 14:57:01 +00:00
url.h
vcd_read.h
vcd_read_darwin.h fix build on darwin ppc 2004-11-01 17:57:00 +00:00
vcd_read_fbsd.h
vcd_read_nbsd.h OpenBSD portability patches from the OpenBSD ports tree 2004-07-11 22:23:57 +00:00
video.c added support for other codecs (mpeg4/h264/aac) in mpeg-ps parsing the PSM 2005-03-06 21:10:01 +00:00
videodev2.h
yuv4mpeg.c replace almost obsolete email address: snel@phys.uu.nl -> rsnel@cube.dyndns.org 2005-01-08 14:32:26 +00:00
yuv4mpeg.h replace almost obsolete email address: snel@phys.uu.nl -> rsnel@cube.dyndns.org 2005-01-08 14:32:26 +00:00
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