1
mirror of https://github.com/mpv-player/mpv synced 2024-09-05 02:48:21 +02:00
mpv/libmpdemux
attila f3f05bfc4d 10!
someone please tell me how subs ever worked with mkv


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11269 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-26 12:28:45 +00:00
..
realrtsp many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
.cvsignore Move ignores in subdirs to their respective .cvsignore files. 2001-11-17 23:55:40 +00:00
ai_alsa1x.c v4l2 support 2003-08-07 12:24:35 +00:00
ai_alsa.c v4l2 support 2003-08-07 12:24:35 +00:00
ai_oss.c v4l2 support 2003-08-07 12:24:35 +00:00
asf_mmst_streaming.c 10l 2003-10-22 17:30:13 +00:00
asf_streaming.c simple fix for buffer overflow (remotely exploitable). feel free to 2003-09-25 00:36:04 +00:00
asf.h bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines can be safely used like functions: mydef(flag ? val1 : val2) 2003-01-15 11:16:33 +00:00
asfheader.c Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash. 2003-05-17 12:24:01 +00:00
audio_in.c v4l2 support 2003-08-07 12:24:35 +00:00
audio_in.h Lots of functions and variables specific to OSS audio are used without 2002-12-28 13:39:51 +00:00
aviheader.c Saving and loading external index file. Patch by Jason Tackaberry <tack@auc.ca> 2003-10-22 19:01:37 +00:00
aviheader.h demuxer_control(), percent position and time length query implemented in 2002-11-16 03:42:14 +00:00
aviprint.c dump extra bytes of bitmapinfoheader in verbose mode and make outputs consistent 2003-07-27 22:15:08 +00:00
bswap.h libdemuxer... 2001-10-20 18:49:08 +00:00
cache2.c renames: DATADIR->MPLAYER_DATADIR, CONFDIR->MPLAYER_CONFDIR, LIBDIR->MPLAYER_LIBDIR 2003-06-09 12:15:48 +00:00
cdd.h GCC warning fixes 2002-10-29 09:18:53 +00:00
cdda.c Fix -cdrom-device to work again with cdda and vcd. 2003-08-13 11:18:24 +00:00
cddb.c Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash. 2003-05-17 12:24:01 +00:00
cdinfo.c Moved all the cdinfo specific from cddb to a standalone file, so 2002-09-17 19:49:57 +00:00
config.h libdemuxer... 2001-10-20 18:49:08 +00:00
cue_read.c many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
cue_read.h vcd_read_cue.h -> cue_read.c+h 2003-01-05 23:51:05 +00:00
demux_asf.c plen=0 is handled 2003-09-07 01:41:09 +00:00
demux_audio.c FLAC decoding support via imported libmpflac. 2003-10-04 22:00:25 +00:00
demux_avi.c Saving and loading external index file. Patch by Jason Tackaberry <tack@auc.ca> 2003-10-22 19:01:37 +00:00
demux_bmp.c removed nonsense stream_reset/seek in check_file() 2003-04-30 20:24:09 +00:00
demux_demuxers.c Free the stream of the audio and subtitle demuxer. 2003-03-27 20:40:50 +00:00
demux_film.c Added demuxer uninit 2002-04-24 15:36:07 +00:00
demux_fli.c Added demuxer uninit 2002-04-24 15:36:07 +00:00
demux_gif.c gif library incompatibility fixes and prefere libungif over libgif. Patch by Joey Parrish <joey@nicewarrior.org> 2003-02-19 16:55:14 +00:00
demux_mf.c fopen requires binary flag on windows, too 2003-04-26 12:27:56 +00:00
demux_mkv.cpp 10! 2003-10-26 12:28:45 +00:00
demux_mov.c Fix for borked .mov files with bogus user data length values. Patch by Marek Zelem. 2003-09-20 10:10:11 +00:00
demux_mpg.c H264-ES demuxer 2003-04-04 15:38:46 +00:00
demux_nuv.c - demuxer->audio->id is set to -2 when using 'frameno.avi', so 2002-09-30 21:10:41 +00:00
demux_ogg.c Clear subs a bit later than requested in order to avoid clearing the subs if the following entry starts exactly after this one. Patch by Jarrod Johnson <jbj-mplayer@ura.dnsalias.org>. 2003-10-15 16:46:55 +00:00
demux_pva.c warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>) 2002-11-23 10:58:14 +00:00
demux_rawaudio.c Fixed 'reading after EOF'. demuxers didn't check, how many they've read! 2003-09-20 12:50:25 +00:00
demux_rawdv.c support for raw DV >2Gb 2003-08-07 13:25:03 +00:00
demux_rawvideo.c using CONF_TYPE_IMGFMT 2003-08-13 19:02:34 +00:00
demux_real.c serious bugs - 1l absinth (changed to absinth against cola inflation) 2003-08-31 18:51:05 +00:00
demux_realaud.c Warning fixes, patch by Dominik Mierzejewski 2003-06-01 20:27:32 +00:00
demux_roq.c removed nonsense stream_reset/seek in check_file() 2003-04-30 20:24:09 +00:00
demux_rtp_codec.cpp Added support for the "L16" and "L8" (raw PCM audio) RTP payload formats. 2003-07-27 10:16:14 +00:00
demux_rtp_internal.h Added support for checking whether a RTP demuxer had combined audio+video data. 2003-07-27 10:13:26 +00:00
demux_rtp.cpp Changed the criteria for when to drop RTP packets whose timestamp is too far 2003-09-24 08:41:57 +00:00
demux_rtp.h Added support for checking whether a RTP demuxer contains a combined audio_video stream. 2003-07-27 10:11:42 +00:00
demux_smjpeg.c 10l found by Mark Berryman <mplayer@theberrymans.com> 2003-10-14 09:59:46 +00:00
demux_ts.c big demux_ts fix from Nico <nsabbi@libero.it> 2003-10-20 13:35:55 +00:00
demux_ty_osd.c many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
demux_ty.c many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
demux_viv.c fixed 2 10l-s (bug found in the spring cleanup patch by Raindel Shachar 2003-04-21 11:18:54 +00:00
demux_xmms_plugin.h XMMS Input plugin support 2002-12-22 21:01:01 +00:00
demux_xmms.c Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies. 2003-08-13 16:29:32 +00:00
demux_y4m.c fix crash on streams with frame tags, patch by Brett Kosinski <brettk@frodo.dyn.gno.org> 2003-03-22 19:50:10 +00:00
demuxer.c Fixed 'reading after EOF'. demuxers didn't check, how many they've read! 2003-09-20 12:50:25 +00:00
demuxer.h Saving and loading external index file. Patch by Jason Tackaberry <tack@auc.ca> 2003-10-22 19:01:37 +00:00
dvb_defaults.h this is a combo patch that: 2003-03-16 20:13:28 +00:00
dvb_tune.c 1000l 2003-08-14 01:05:49 +00:00
dvbin.c This patch fixes: 2003-08-27 17:08:58 +00:00
dvbin.h this patch fixes 2003-08-11 00:02:46 +00:00
dvdauth.c dvd:// corrected to -dvdauth as outlined by LGB on dev-eng + rewording. 2003-08-04 23:20:49 +00:00
dvdauth.h fix segmentation fault with -dvdkey, fix return value of dvd_css_descramble(), try to load css.so syms with AND without _ in syms' names. PLEASE TEST IT CURRENTLY I HAVE NO DVD DRIVE NOR A SINGLE VOB FILE ... 2002-09-21 16:04:14 +00:00
dvdnav_stream.c linux->osdep 2003-02-09 20:18:23 +00:00
dvdnav_stream.h dvdnav_stream functions - dvdnav patch by Kees Cook <mplayer@outflux.net> 2002-04-03 17:50:48 +00:00
extension.c FLAC decoding support via imported libmpflac. 2003-10-04 22:00:25 +00:00
frequencies.c Russian frequencies by Alexander S. Belov <asbel@sice.ru> 2002-12-20 13:18:41 +00:00
frequencies.h tv frequencies 2001-11-16 22:06:48 +00:00
genres.h Audio file demuxer. Extended version for demuxer info. 2002-02-14 13:04:35 +00:00
help_mp.h libdemuxer... 2001-10-20 18:49:08 +00:00
http.c Removed hard coded value for the length of the header separator. 2002-11-13 09:02:55 +00:00
http.h GCC warning fixes 2002-10-29 09:18:53 +00:00
Makefile --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de> 2003-08-17 20:56:40 +00:00
matroska.h Support for MP2 audio. 2003-10-16 22:01:30 +00:00
mf.c enable mf support on mingw32 2003-04-25 10:20:15 +00:00
mf.h Stream cleanup, don't use blah_on options anymore. 2003-03-30 17:07:31 +00:00
mp3_hdr.c codmetics (noticed by Alex) 2003-07-04 21:04:14 +00:00
mp3_hdr.h Fix vbr muxing and win32 codec crash on init 2002-07-21 14:36:33 +00:00
mp_msg.h libdemuxer... 2001-10-20 18:49:08 +00:00
mpeg_hdr.c after some STFW i've found some info about fps codes 2002-03-31 23:46:00 +00:00
mpeg_hdr.h mpeg video header parser 2001-10-30 18:45:54 +00:00
muxer_avi.c Cleanup of the muxer API, func parameters muxer & muxer_f eliminated. 2003-01-19 00:33:11 +00:00
muxer_mpeg.c update by Andriy N. Gritsenko <andrej@lucky.net> 2003-10-22 17:07:17 +00:00
muxer.c Cleanup of the muxer API, func parameters muxer & muxer_f eliminated. 2003-01-19 00:33:11 +00:00
muxer.h some updates in muxer api 2003-10-22 17:04:39 +00:00
netstream.h Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD standard). Patch by FloDt <flodt8@yahoo.de> 2003-05-29 19:36:58 +00:00
network.c User settable http user-agent. Patch by Per Wigren 2003-10-22 17:54:32 +00:00
network.h ftp support. The change on connect2Server is needed bcs we need 2 2003-08-15 19:13:23 +00:00
nuppelvideo.h needed 2001-12-27 22:20:15 +00:00
open.c cdda && cddb aren't uris too (hopefully all the pseudo urls are catched before url_new()) 2003-09-03 19:26:33 +00:00
parse_es.c config.h cleanup, few things added to steram/demuxer headers 2001-10-30 17:03:11 +00:00
parse_es.h libdemuxer... 2001-10-20 18:49:08 +00:00
parse_mp4.c allow early exit from esds parsing, so decoder info (type & bitrate) are 2002-08-05 18:22:51 +00:00
parse_mp4.h - Add parsing of Sync Layer Descriptor 2002-03-24 06:10:13 +00:00
pnm.c many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
pnm.h pnm:// support (ported from xine) 2002-12-26 17:25:22 +00:00
qtpalette.h Support for grayscale paletted files. Patch by Dima K <dimakar@yahoo.com> 2003-09-02 14:48:49 +00:00
README some more rtfm 2001-10-21 16:05:21 +00:00
rtp.c Networking support under MinGW. 2003-06-11 16:48:09 +00:00
rtp.h Networking support under MinGW. 2003-06-11 16:48:09 +00:00
stheader.h fixed the well-known DVD/DVB audio delay bug :) 2003-01-16 22:34:46 +00:00
stream_file.c Spelling police: 2003-08-14 12:15:44 +00:00
stream_ftp.c fix compilation on mingw 2003-08-17 11:07:18 +00:00
stream_netstream.c serious bugs - 1l absinth (changed to absinth against cola inflation) 2003-08-31 18:51:05 +00:00
stream_null.c Add a null streamv Currently used for tv and mf. Could be used to 2003-04-10 10:59:12 +00:00
stream_vcd.c Fix -cdrom-device to work again with cdda and vcd. 2003-08-13 11:18:24 +00:00
stream.c serious bugs - 1l absinth (changed to absinth against cola inflation) 2003-08-31 18:51:05 +00:00
stream.h Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies. 2003-08-13 16:29:32 +00:00
test.c Fix test compilation 2003-03-30 17:14:41 +00:00
tv.c audio id setting support for bsdbt848 by Nikolay Nikolaev <nicknickolaev@yahoo.com> 2003-09-06 00:24:05 +00:00
tv.h audio id setting support for bsdbt848 by Nikolay Nikolaev <nicknickolaev@yahoo.com> 2003-09-06 00:24:05 +00:00
tvi_bsdbt848.c many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
tvi_def.h *HUGE* set of compiler warning fixes, unused variables removal 2002-11-06 23:54:29 +00:00
tvi_dummy.c added TVI_CONTROL_TUN_SET_NORM 2003-01-26 10:53:34 +00:00
tvi_v4l2.c 1000l 2003-09-12 08:10:32 +00:00
tvi_v4l.c Fix immediatemode with mplayer (ie playing both sound and video) 2003-09-01 12:10:29 +00:00
url.c Added some special-case code for checking for "sip:" URLs (because they 2003-05-03 06:16:07 +00:00
url.h Added support for IPv6 numeric url like: http://[3ffe:400:100::1]:80/file 2003-03-26 11:27:48 +00:00
vcd_read_fbsd.h typo fix 2003-04-10 08:34:43 +00:00
vcd_read_nbsd.h Make the vcd API fully reentrant. 2003-04-09 07:33:59 +00:00
vcd_read.h solaris fix by Gtz Waschk <waschk@informatik.uni-rostock.de> 2003-06-17 22:28:29 +00:00
video.c printing fps with 3 dec digit instead of 2 2003-08-27 22:30:54 +00:00
videodev2.h v4l2 support 2003-08-07 12:18:04 +00:00
yuv4mpeg_intern.h avoids a warning 2002-01-27 17:16:10 +00:00
yuv4mpeg_ratio.c yuv4mpeg2 (mjpegtools) support by Rik Snel <rsnel@cube.dyndns.org> 2001-12-27 02:08:31 +00:00
yuv4mpeg.c yuv4mpeg2 (mjpegtools) support by Rik Snel <rsnel@cube.dyndns.org> 2001-12-27 02:08:31 +00:00
yuv4mpeg.h remove ssize_t mess 2003-05-30 17:38:51 +00:00

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