1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00
mpv/libmpdemux
aurel 6943b13bb5 seeking based on the largest timestamp in an mpeg stream
It is often more accurate than the current seeking and it has the
additional benefit of giving the (almost) precise total time of the movie.
patch by Michael Behrisch < behrisch at informatik.hu-berlin.de >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13739 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-23 00:05:38 +00:00
..
realrtsp Fix compilation when LOG is defined 2004-10-18 20:08:44 +00:00
.cvsignore
ai_alsa1x.c ALSA 1.x audio out driver 2004-01-11 17:07:32 +00:00
ai_alsa.c v4l2 support 2003-08-07 12:24:35 +00:00
ai_oss.c fix some 10ls in sample rate handlin 2004-01-29 12:43:54 +00:00
asf_mmst_streaming.c typo noticed by Shixin Zeng <shixinzeng at sjtu dot edu dot cn> 2004-10-10 13:00:56 +00:00
asf_streaming.c reduced code complexity, and also made consistent with other parts 2004-07-21 10:18:29 +00:00
asf.h
asfheader.c less verbosity + printf --> mp_msg 2004-04-17 10:31:38 +00:00
audio_in.c ALSA 1.x audio out driver 2004-01-11 17:07:32 +00:00
audio_in.h ALSA 1.x audio out driver 2004-01-11 17:07:32 +00:00
aviheader.c Index-Recovery cosmetix 2004-10-20 02:13:33 +00:00
aviheader.h x86_64 fix by John Stebbins <john@stebbins.name> 2004-07-12 08:55:10 +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 cdda: endianness fix 2003-12-16 07:35:04 +00:00
cddb.c potentially exploitable buffer overflow with maliciously crafted cd toc 2004-04-26 09:33:35 +00:00
cdinfo.c
config.h
cookies.c using more common function strchr instead index 2003-12-09 11:27:10 +00:00
cookies.h Send HTTP Cookies (reading from mozilla/netscape files) support by Dave Lambley <mplayer-dev-eng@dlambley.freeserve.co.uk>. Disabled by default. 2003-12-08 13:25:35 +00:00
cue_read.c string handling security fixes 2004-06-25 16:49:53 +00:00
cue_read.h
demux_asf.c fix seeking in audio-only case (crash when seeking backwards, time reset to 0) 2004-09-11 09:40:34 +00:00
demux_audio.c better, tuneable (via #define) MP3 detection, limit demux_audio to scanning 2004-09-28 17:05:44 +00:00
demux_avi.c OpenDML read/write support 2004-03-17 14:50:37 +00:00
demux_bmp.c
demux_demuxers.c
demux_film.c
demux_fli.c Pass header to codec in extradata (needed by ffmpeg fli decoder) 2004-01-25 17:36:30 +00:00
demux_gif.c
demux_lavf.c LIBAVFORMAT_BUILD >= 4619 2004-10-10 22:24:07 +00:00
demux_lmlm4.c 100l 2004-01-16 03:56:25 +00:00
demux_mf.c
demux_mkv.c fix sub_select fiasco with global sub numbering. now multiple sub sources can be managed in essentially one list. 2004-09-28 13:51:20 +00:00
demux_mov.c AVC support moved to libavcodec, avcC atom is now passed in extradata 2004-09-13 21:21:48 +00:00
demux_mpg.c seeking based on the largest timestamp in an mpeg stream 2004-10-23 00:05:38 +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
demux_ogg.c some memory leaks fixed 2004-10-14 15:09:35 +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 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 do not attempt to seek backward in stream on MDPR chunk with no codec data 2004-08-10 20:13:44 +00:00
demux_realaud.c 10l 2003-11-30 19:04:27 +00:00
demux_roq.c
demux_rtp_codec.cpp Oops, removed a debugging printf from teh previous version. 2003-11-06 05:55:52 +00:00
demux_rtp_internal.h LIVE.COM tests moved to ./configure 2004-08-09 08:22:10 +00:00
demux_rtp.cpp Updated to conform to a small change in the LIVE.COM API. 2004-07-20 02:12:08 +00:00
demux_rtp.h Added support for handling multiplexed audio+video RTP streams. 2004-02-22 06:19:24 +00:00
demux_smjpeg.c 10l found by Mark Berryman <mplayer@theberrymans.com> 2003-10-14 09:59:46 +00:00
demux_ts.c removed dependency on liba52 2004-10-11 06:57:57 +00:00
demux_ty_osd.c many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
demux_ty.c embarassing typo 2004-07-19 23:19:07 +00:00
demux_viv.c make stupid gcc versions happy 2004-03-31 05:40:31 +00:00
demux_xmms_plugin.h
demux_xmms.c embarassing typo 2004-07-19 23:19:07 +00:00
demux_y4m.c fix bug reported by Leonardo Giordani: sh->aspect is not pixel aspect but movie aspect 2004-06-03 09:52:25 +00:00
demuxer.c seeking based on the largest timestamp in an mpeg stream 2004-10-23 00:05:38 +00:00
demuxer.h show ogg subtitle language on OSD, if available 2004-09-28 14:00:49 +00:00
dvb_defaults.h new configuration structure, gcc warn silencing 2004-04-26 21:22:33 +00:00
dvb_tune.c added forgotten dvb-t params lp_coderate and hierarchy 2004-08-26 19:38:16 +00:00
dvbin.c added forgotten dvb-t params lp_coderate and hierarchy 2004-08-26 19:38:16 +00:00
dvbin.h added forgotten dvb-t params lp_coderate and hierarchy 2004-08-26 19:38:16 +00:00
dvdnav_stream.c
dvdnav_stream.h
ebml.c Cosmetics: fix some compiler warnings. 2004-08-25 07:52:52 +00:00
ebml.h freebsd fix (btw, why does it needs this int_max shit? 2004-01-25 16:17:38 +00:00
extension.c nut is only handled by lavf, speed up detection 2004-08-21 19:17:17 +00:00
frequencies.c
frequencies.h
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 Fix url escaping and avoid double escape 2004-05-01 23:35:25 +00:00
http.h
Makefile Removed the old Matroska demuxer. 2004-08-04 18:38:27 +00:00
matroska.h Display the language code for subtitles from Matroska files. 2004-08-24 21:37:41 +00:00
mf.c
mf.h
mp3_hdr.c codmetics (noticed by Alex) 2003-07-04 21:04:14 +00:00
mp3_hdr.h
mp_msg.h
mpeg_hdr.c Remove useless "size restrictions" message 2004-07-03 11:38:56 +00:00
mpeg_hdr.h
ms_hdr.h Better protection against double definition of MPEGLAYER3WAVEFORMAT 2004-08-09 15:53:10 +00:00
muxer_avi.c fixed warning in my patch 2004-09-05 16:55:06 +00:00
muxer_mpeg.c removed loader/ dependancy, imported some files from g2, also used patches from Dominik Mierzejewski 2004-04-28 10:18:33 +00:00
muxer_rawvideo.c use correct headers 2004-08-28 20:31:41 +00:00
muxer.c removed loader/ dependancy, imported some files from g2, also used patches from Dominik Mierzejewski 2004-04-28 10:18:33 +00:00
muxer.h Use aspect from encoder for AVI vprp header 2004-03-24 15:16:36 +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 segfault caused by changing a pointer that will be freed later 2004-07-25 00:37:07 +00:00
network.h enable seeking in http streams 2004-02-17 12:30:45 +00:00
nuppelvideo.h
open.c moved combined vobsub_lang into sub_select 2004-08-22 18:47:48 +00:00
parse_es.c
parse_es.h
parse_mp4.c
parse_mp4.h
pnm.c many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
pnm.h
qtpalette.h static tables 2004-06-25 17:03:59 +00:00
README
rtp.c Make rtp:// cohexist with LIVE.COM 2004-07-11 22:47:49 +00:00
rtp.h Make rtp:// cohexist with LIVE.COM 2004-07-11 22:47:49 +00:00
stheader.h removed loader/ dependancy, imported some files from g2, also used patches from Dominik Mierzejewski 2004-04-28 10:18:33 +00:00
stream_file.c mingw stdin fixes 2004-07-31 11:08:47 +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
stream_vcd.c enable vcd for all darwin based sys not only mac osx 2004-10-18 21:05:14 +00:00
stream.c Seek in HTTP streams and stdin seek fixes 2004-03-13 16:10:02 +00:00
stream.h moved combined vobsub_lang into sub_select 2004-08-22 18:47:48 +00:00
test.c
tv.c Raw audio and video are always keyframes 2004-03-17 03:53:02 +00:00
tv.h ALSA 1.x audio out driver 2004-01-11 17:07:32 +00:00
tvi_bsdbt848.c 10l, patch by Michael Nottebrock <michaelnottebrock@gmx.net> 2004-06-18 13:01:18 +00:00
tvi_def.h
tvi_dummy.c and more and more stupidity 2004-05-01 18:30:38 +00:00
tvi_v4l2.c embarassing typo 2004-07-19 23:19:07 +00:00
tvi_v4l.c 1000000000000l 2004-05-01 18:15:29 +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_darwin.h support function for vcd on darwin 2004-10-18 21:06:50 +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
vcd_read.h solaris fix by Gtz Waschk <waschk@informatik.uni-rostock.de> 2003-06-17 22:28:29 +00:00
video.c lavf ASF support 2004-04-11 19:03:12 +00:00
videodev2.h v4l2 support 2003-08-07 12:18:04 +00:00
yuv4mpeg_intern.h
yuv4mpeg_ratio.c
yuv4mpeg.c
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