summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demuxer.c
Commit message (Collapse)AuthorAgeFilesLines
* this is a combo patch that:arpi2003-03-161-1/+24
| | | | | | | | | | | | 1) adds an experimental TS demuxer to mplayer 2) adds an input (streaming) interface from DVB cards. It compiles and runs with the following versions of the drivers: dvb-kernel (HEAD) (with stock kernel 2.4.20) and 0.9.4 (with kernel 2.4.18) patch by Nico <nsabbi@libero.it> some cleanups, ts demuxer fixes by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9611 b3059339-0415-0410-9bf9-f77b7e298cf2
* enabling mpeg4-es autodetection (if we dont enable it, then we will never ↵michael2003-02-161-1/+1
| | | | | | know if it works ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9447 b3059339-0415-0410-9bf9-f77b7e298cf2
* libgif/libungif based demuxer support for libmpdemux.arpi2003-01-281-0/+30
| | | | | | | patch by Joey Parrish <joey@nicewarrior.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9130 b3059339-0415-0410-9bf9-f77b7e298cf2
* raw mpeg4-es support (you need to set -fps manually!)arpi2003-01-231-6/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9070 b3059339-0415-0410-9bf9-f77b7e298cf2
* raw video demuxer, requested by Michaelarpi2003-01-221-0/+15
| | | | | | | (try mplayer -rawvideo on:cif mobile.cif) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9066 b3059339-0415-0410-9bf9-f77b7e298cf2
* extension-based filetype detection for headerless files (mp3 vs mpeg, etc)arpi2003-01-191-27/+43
| | | | | | | inspired by patch by Fabian Franz <FabianFranz@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9007 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch adds support for MOV-Reference-Files.arpi2003-01-131-1/+1
| | | | | | | | | | it uses d_video queue to store playlist entries as strz. It also makes sure, that unnecessary items like qt5gateQT are removed and that the url/basepath is added to "local files" by Fabian Franz <FabianFranz@gmx.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8938 b3059339-0415-0410-9bf9-f77b7e298cf2
* upsz :))))))))))))))pontscho2003-01-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8927 b3059339-0415-0410-9bf9-f77b7e298cf2
* this patch adds an fallback to playlist (any but the plaintext-list format)arpi2003-01-121-1/+1
| | | | | | | | after all demuxers failed. so -playlist is not needed any more! patch by Fabian Franz <FabianFranz@gmx.de>, with some small modifications git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8926 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l (was segfaulting on non-dv file)filon2003-01-061-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8822 b3059339-0415-0410-9bf9-f77b7e298cf2
* XMMS Input plugin supportarpi2002-12-221-1/+34
| | | | | | | | based on patches by Balatoni Denes <pnis@coder.hu> changes by me: glib dependency removed, files merged, code simplified, some bugfixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8529 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l - demux_avi handles AVI_NI and AVI_NINI tooarpi2002-12-111-0/+2
| | | | | | | patch by Rüdiger Kuhlmann ruediger@ruediger-kuhlmann.de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8426 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10larpi2002-12-071-1/+1
| | | | | | | patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8388 b3059339-0415-0410-9bf9-f77b7e298cf2
* demuxer_control(), percent position and time length query implemented inarpi2002-11-161-0/+38
| | | | | | | | asf, avi, mpeg demuxers. patch by Balatoni Denes <pnis@coder.hu> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8209 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-0/+2
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* A-V sync cleanup: sh_audio->timer replaced by sh_audio->delay, it containsarpi2002-11-021-1/+1
| | | | | | | | delay relative to sh_video->timer (or to 0 if audioonly). It fixes ct: drifts of very long (several hours) playback. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8057 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup of .AVI timestamp calculation (ugly hack from mplayer.c removed,arpi2002-11-021-3/+0
| | | | | | | | instead doing it in demux_avi.c, storing private data in priv insteda of demuxer structs) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8031 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup config option handling in libmpdemux.arpi2002-10-231-19/+5
| | | | | | | | removed overcompilacted m_config_register_options() mess - export the subconfig structs instead git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7868 b3059339-0415-0410-9bf9-f77b7e298cf2
* ss_div/ss_mul defaults to 0arpi2002-10-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7755 b3059339-0415-0410-9bf9-f77b7e298cf2
* This just corrects a function name to match the other demuxer'sarpi2002-10-041-2/+2
| | | | | | | | | "xxx_check_file" convention, adds a verbose note about (to match the other demuxers) patch by Kees Cook <mplayer@outflux.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7595 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanup - made private vars/funcs static, removed obsolete externsarpi2002-09-291-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7560 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed 'detected fileformat' messages to a message with %sjaf2002-09-221-18/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7483 b3059339-0415-0410-9bf9-f77b7e298cf2
* get_sh_audio/get_sh_video removed (never used, also useless)arpi2002-09-221-22/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7470 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed dummy OGG functions - use #ifdef insteadarpi2002-09-151-2/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7414 b3059339-0415-0410-9bf9-f77b7e298cf2
* added smjpeg demuxer only for nexus' requestalex2002-09-131-0/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7383 b3059339-0415-0410-9bf9-f77b7e298cf2
* .PVA (mpeg-like fileformat used by MultiDec && WinTV) demuxerarpi2002-09-101-2/+27
| | | | | | | slightly modified patch, original by Matteo Giani <matgiani@ctonet.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7365 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed messy global 'tv_handle', use stream->priv for that purposearpi2002-09-081-11/+6
| | | | | | | | note: i couldn't test it (only compile test) may be broken :( we're going to an unified demuxer API - required for modularization git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7330 b3059339-0415-0410-9bf9-f77b7e298cf2
* new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:arpi2002-08-211-9/+16
| | | | | | | | | | | | | - multithreaded audio/video buffering (I know mplayer crew hates threads but it seems to me as the only way of doing reliable a/v capture) - a/v timebase synchronization (sample count vs. gettimeofday) - "immediate" mode support for mplayer - fixed colorspace stuff - RGB?? and YUY2 modes now work as expected - native ALSA audio capture - separated audio input layer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7059 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fixes by Ross Finlayson <finlayson@live.com>arpi2002-08-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7008 b3059339-0415-0410-9bf9-f77b7e298cf2
* messages moved againjaf2002-08-081-20/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6952 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10larpi2002-08-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6944 b3059339-0415-0410-9bf9-f77b7e298cf2
* detection reordered. note: raw DV detection should be more reliable.arpi2002-08-061-12/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6943 b3059339-0415-0410-9bf9-f77b7e298cf2
* raw .dv stream demuxer by Alexander Neundorf <neundorf@kde.org>arpi2002-08-051-1/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6926 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied live.com streaming patch (-sdp and rtsp:// support) by Ross ↵arpi2002-08-051-0/+20
| | | | | | | | | Finlayson <finlayson@live.com> see <http://www.live.com/mplayer/> for details. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2
* count blocks by rounded-up chunksizes instead of chunks -arpi2002-08-021-0/+3
| | | | | | | | we need full emulation of dshow avi demuxer bugs :( fixes silly nandub-style a-v delaying in avi with vbr mp3... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6872 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add uninit to the avi demuxeralbeu2002-07-261-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6817 b3059339-0415-0410-9bf9-f77b7e298cf2
* add -audiofile support for guipontscho2002-07-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for playing audio cds using cdparanoia. Include a raw audioalbeu2002-06-111-0/+17
| | | | | | | demuxer wich can be used for other purpose. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6385 b3059339-0415-0410-9bf9-f77b7e298cf2
* clone_demux_packet(), using refcounting to avoid memcpy()arpi2002-05-251-7/+8
| | | | | | | based on (sligtly simplified) patch by Alexander Neundorf <neundorf@dellingsoft.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6193 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix frame_time for variable fps movies as it was the last frame duration.albeu2002-05-021-1/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5931 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for another AVI with ogg/vorbis audio (0x674F)albeu2002-04-291-2/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5898 b3059339-0415-0410-9bf9-f77b7e298cf2
* Uninit addedalbeu2002-04-241-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5813 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added demuxer uninitalbeu2002-04-241-0/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5811 b3059339-0415-0410-9bf9-f77b7e298cf2
* more strict check for .mp3arpi2002-04-231-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5805 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer was not compileable without, i tested it with and without vorbis, i ↵jaf2002-04-211-0/+4
| | | | | | hope it's ok git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5755 b3059339-0415-0410-9bf9-f77b7e298cf2
* Seeking implementedalbeu2002-04-201-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5733 b3059339-0415-0410-9bf9-f77b7e298cf2
* BSD-BT848 TV update patch by Charles Henrich <henrich@sigbus.com>arpi2002-04-121-2/+2
| | | | | | | | | | | - tvi interface changes, grab_audio/video now returns timestamp! - tv demuxer gets 'ds' hint too - some verbose skip/dup counters to mencoder - tvi_bsdbt848.c updates - aviwrite/mencoder size types int->off_t git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5573 b3059339-0415-0410-9bf9-f77b7e298cf2
* added debug printf for dvdsub - from dvdnav patch by Kees Cook ↵arpi2002-04-031-0/+1
| | | | | | <mplayer@outflux.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5471 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't alloc/free NULLarpi2002-04-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5470 b3059339-0415-0410-9bf9-f77b7e298cf2
* freeing codec in/out buffers is job of libmpcodecs, not demuxerarpi2002-04-011-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5457 b3059339-0415-0410-9bf9-f77b7e298cf2
* added soem debug prints, and fixed 10l bug of Albanarpi2002-03-311-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5413 b3059339-0415-0410-9bf9-f77b7e298cf2
* added a BMP file demuxer...yeah, that's right, a static image BMP filemelanson2002-03-201-0/+18
| | | | | | | demuxer; what, is that so weird?...:) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5215 b3059339-0415-0410-9bf9-f77b7e298cf2
* FILM demuxer is leaner, meaner, and cleaner, also with proper bailout onmelanson2002-03-171-0/+3
| | | | | | | EOF and preliminary seeking support (not perfect yet) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5158 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't free our_out_buffer - it's obsoletedarpi2002-03-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5153 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial ogg demuxer. No seeking, a/v sync is broken. Support avialbeu2002-03-161-1/+22
| | | | | | | with ogg/vorbis audio. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5134 b3059339-0415-0410-9bf9-f77b7e298cf2
* spelling type fix by Anders Rune Jensenalex2002-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5108 b3059339-0415-0410-9bf9-f77b7e298cf2
* added get_sh_video/audio and realmedia seekingalex2002-03-151-2/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5085 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp3 detection fixed...arpi2002-03-141-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5069 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxers demuxer support for using external audiofile (or muxed subtitles).albeu2002-02-201-12/+124
| | | | | | | | Options registration for libmpdemux. Demuxer info query. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4766 b3059339-0415-0410-9bf9-f77b7e298cf2
* ehh, i forgot to commit this...arpi2002-02-171-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4736 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l... it detected mpeg1/2 ps files as mpeg audio...arpi2002-02-141-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4697 b3059339-0415-0410-9bf9-f77b7e298cf2
* Audio file demuxer. Extended version for demuxer info.albeu2002-02-141-72/+44
| | | | | | | | genres.h come from id3edit of servex@servex.yi.org found at http://id3edit.sourceforge.net/ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4695 b3059339-0415-0410-9bf9-f77b7e298cf2
* A whole bunch of free_demuxer in demux_openalbeu2002-02-111-9/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4661 b3059339-0415-0410-9bf9-f77b7e298cf2
* check for overflow in new_sh_video and new_sh_audioalex2002-02-101-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Audio only support. Include a fix in the asf demuxer opening.albeu2002-02-081-16/+18
| | | | | | | Plus : stop displaying PAUSE when -quiet is used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4588 b3059339-0415-0410-9bf9-f77b7e298cf2
* finalize mfi support.pontscho2002-02-071-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4566 b3059339-0415-0410-9bf9-f77b7e298cf2
* add mfi supportpontscho2002-02-061-0/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4552 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented RoQ file demuxingmelanson2002-02-011-1/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4452 b3059339-0415-0410-9bf9-f77b7e298cf2
* DVD start position handling changed (progbar/eta fix)arpi2002-01-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4392 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverted old seeking method - ask Holm why...arpi2002-01-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4204 b3059339-0415-0410-9bf9-f77b7e298cf2
* initial support for FILM file demuxingmelanson2002-01-161-3/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4190 b3059339-0415-0410-9bf9-f77b7e298cf2
* seek patch by Panagoitis Issarisalex2002-01-091-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4066 b3059339-0415-0410-9bf9-f77b7e298cf2
* Applied Rik Snel's seeking patchalex2001-12-281-0