1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00
mpv/libmpdemux
arpi eafdad4b73 stream layer cleanup part 2
STREAMTYPE_TV removed, use STREAMTYPE_DUMMY instead. tv init moved to demux_open


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7409 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 20:51:55 +00:00
..
.cvsignore Move ignores in subdirs to their respective .cvsignore files. 2001-11-17 23:55:40 +00:00
ai_alsa1x.c audio in layer is used only bu tvi_v4l, don't compile for others. 2002-08-31 22:41:29 +00:00
ai_alsa.c audio in layer is used only bu tvi_v4l, don't compile for others. 2002-08-31 22:41:29 +00:00
ai_oss.c audio in layer is used only bu tvi_v4l, don't compile for others. 2002-08-31 22:41:29 +00:00
asf_mmst_streaming.c Fixed an unknown command. Looks like it's a new command from WMS9. 2002-09-07 20:37:09 +00:00
asf_streaming.c Don't try to reread from the socket if the server says EOF 2002-09-07 20:38:44 +00:00
asf.h Added ASF_Authenticate as an asf stream type. 2002-07-09 08:23:47 +00:00
asfheader.c Fix -bandwidth if no streaming available, 10l ;) 2002-07-07 16:17:45 +00:00
audio_in.c audio in layer is used only bu tvi_v4l, don't compile for others. 2002-08-31 22:41:29 +00:00
audio_in.h new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>: 2002-08-21 22:50:40 +00:00
aviheader.c msmpeg4v1 indexing 2002-06-02 21:35:49 +00:00
aviheader.h big (>2GB) AVI files support - patch by Wolfram Gloger <wg@malloc.de> 2002-05-12 01:51:09 +00:00
aviprint.c mostly compiler warning fixes, some small bugfix 2002-08-28 22:45:48 +00:00
aviwrite.c 10l bug, found by Nexus 2002-08-29 21:37:45 +00:00
aviwrite.h new mencoder option -info, to store copyright, title, encoder version etc in AVI 2002-08-29 20:50:49 +00:00
bswap.h libdemuxer... 2001-10-20 18:49:08 +00:00
cache2.c fix cache disable for live.com 2002-08-31 15:59:10 +00:00
cdd.h Created a new header file to store common struct & prototype for 2002-07-10 08:46:51 +00:00
cdda.c Build a fake list of track name. 2002-07-10 08:49:42 +00:00
cddb.c Applied patch for OpenBDS from Marc Espie (submitted by Björn Sandell <biorn@dce.chalmers.se>) 2002-09-04 17:46:03 +00:00
config.h libdemuxer... 2001-10-20 18:49:08 +00:00
demux_asf.c 100l - seq++ for grouping 2002-07-07 20:06:55 +00:00
demux_audio.c Fix vbr muxing and win32 codec crash on init 2002-07-21 14:36:33 +00:00
demux_avi.c corrects an off-by-one error when trying to seek beyond the end of file. 2002-08-14 21:25:01 +00:00
demux_bmp.c Added demuxer uninit 2002-04-24 15:36:07 +00:00
demux_demuxers.c Uninit added 2002-04-24 17:28:23 +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_mf.c stream layer cleanup - part 1 2002-09-15 19:47:49 +00:00
demux_mov.c support for .mp4 with .mp3 audio 2002-08-05 18:22:14 +00:00
demux_mpg.c max_packs increased for some dvd with too many audio/sub 2002-04-12 00:47:02 +00:00
demux_nuv.c fixed >2GB files demuxing 2002-09-10 20:42:45 +00:00
demux_ogg.c The granule position of pages contining Vorbis audio is in units of 2002-09-14 23:21:22 +00:00
demux_pva.c .PVA (mpeg-like fileformat used by MultiDec && WinTV) demuxer 2002-09-10 21:50:03 +00:00
demux_rawaudio.c Support for playing audio cds using cdparanoia. Include a raw audio 2002-06-11 14:29:51 +00:00
demux_rawdv.c raw .dv stream demuxer by Alexander Neundorf <neundorf@kde.org> 2002-08-05 17:21:35 +00:00
demux_real.c - added matrix cracking/debugging code - disabled 2002-08-27 23:01:54 +00:00
demux_roq.c Added demuxer uninit 2002-04-24 15:36:07 +00:00
demux_rtp.cpp - Tell the RTSP client code to use the string "mplayer" in RTSP 2002-08-29 20:19:33 +00:00
demux_rtp.h applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com> 2002-08-05 00:39:07 +00:00
demux_smjpeg.c added smjpeg demuxer only for nexus' request 2002-09-13 18:58:14 +00:00
demux_viv.c some more output cosmetics, especially for vivo and mov demuxers 2002-05-20 03:51:58 +00:00
demux_y4m.c Added demuxer uninit 2002-04-24 15:36:07 +00:00
demuxer.c added smjpeg demuxer only for nexus' request 2002-09-13 18:58:14 +00:00
demuxer.h added smjpeg demuxer only for nexus' request 2002-09-13 18:58:14 +00:00
dvdauth.c OpenBSD, NetBSD portability patches by 2002-04-27 22:42:27 +00:00
dvdauth.h Return of the 'Old-style-DVD-support', with dynamic loading (using libdl) so 2002-01-04 13:08:14 +00:00
dvdnav_stream.c new spudec.h requires libvo headers, patch by Daniel Hottinger <TheHotti@gmx.ch> 2002-05-20 00:46:29 +00:00
dvdnav_stream.h dvdnav_stream functions - dvdnav patch by Kees Cook <mplayer@outflux.net> 2002-04-03 17:50:48 +00:00
frequencies.c tv frequencies 2001-11-16 22:06:48 +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 Check if realloc failed on http_hdr->buffer instead of ptr in http_response_append, 2002-09-07 08:15:57 +00:00
http.h Added base64 encoder 2002-06-23 09:16:08 +00:00
Makefile added smjpeg demuxer only for nexus' request 2002-09-13 18:58:14 +00:00
mf.c stream layer cleanup - part 1 2002-09-15 19:47:49 +00:00
mf.h stream layer cleanup - part 1 2002-09-15 19:47:49 +00:00
mp3_hdr.c Fix vbr muxing and win32 codec crash on init 2002-07-21 14:36:33 +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
mpdemux.c removes old input code (forgot to commit this) 2002-09-07 20:30:17 +00:00
mpdemux.h These 2 files are intended for code common to the whole lib 2002-02-23 21:17:26 +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
network.c Added a new ASX playlist mime-type 2002-09-13 22:39:48 +00:00
network.h inet_aton fallback support by Joey Parrish <joey@yunamusic.com> 2002-08-29 07:07:12 +00:00
nuppelvideo.h needed 2001-12-27 22:20:15 +00:00
open.c stream layer cleanup part 2 2002-09-15 20:51:55 +00:00
opt-reg.c Support for playing audio cds using cdparanoia. Include a raw audio 2002-06-11 14:29:51 +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
qtpalette.h fixed (reversed) the RGB palette order 2002-01-27 02:48:39 +00:00
README some more rtfm 2001-10-21 16:05:21 +00:00
rtp.c warning fix 2001-12-25 16:38:07 +00:00
rtp.h RTP support patch by Brian Kuschak <bkuschak@yahoo.com> 2001-12-23 22:09:02 +00:00
stheader.h removed obsolete items 2002-09-01 18:23:18 +00:00
stream.c stream layer cleanup part 2 2002-09-15 20:51:55 +00:00
stream.h stream layer cleanup part 2 2002-09-15 20:51:55 +00:00
test.c initial precaching 2001-12-17 16:55:40 +00:00
tv.c stream layer cleanup part 2 2002-09-15 20:51:55 +00:00
tv.h v4l audio fixes by Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz> 2002-08-30 11:37:42 +00:00
tvi_bsdbt848.c soundcard.h fix, by Bernd Ernesti <mplayer@lists.veego.de> 2002-04-28 17:29:48 +00:00
tvi_def.h BSD-BT848 TV update patch by Charles Henrich <henrich@sigbus.com> 2002-04-12 10:40:38 +00:00
tvi_dummy.c fixed get_format/set_format 2002-09-08 16:05:59 +00:00
tvi_v4l.c changed message leveles (too many non-sense info messages) 2002-09-08 16:04:21 +00:00
url.c Applied patch from Gregory Kovriga <gkovriga@techunix.technion.ac.il> 2002-09-09 04:16:16 +00:00
url.h Humm, only if __DEBUG_URL is defined, declare the prototype... 2002-09-05 05:04:12 +00:00
vcd_read_fbsd.h removed obsolete VCD_CACHE hack 2002-09-15 18:48:16 +00:00
vcd_read_nbsd.h removed obsolete VCD_CACHE hack 2002-09-15 18:48:16 +00:00
vcd_read.h removed obsolete VCD_CACHE hack 2002-09-15 18:48:16 +00:00
video.c .PVA (mpeg-like fileformat used by MultiDec && WinTV) demuxer 2002-09-10 21:50:03 +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 yuv4mpeg2 (mjpegtools) support by Rik Snel <rsnel@cube.dyndns.org> 2001-12-27 02:08:31 +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