summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_lavf.c
Commit message (Collapse)AuthorAgeFilesLines
* 100l, fix compilation.reimar2007-12-221-2/+2
| | | | | | | Commited old patch that used alloc_put_byte instead of av_alloc_put_byte git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25506 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set is_streamed correctly, should make network playback work more reliably.reimar2007-12-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25500 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of URLProtocol mess (especially problematic since it made usereimar2007-12-221-34/+12
| | | | | | | of a non-constant global variable) and use ByteIOContext directly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25499 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make m_option_t arrays referenced by cfg-common.h constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bring (de)muxer_lavf up to date with the libavformat API changes introduced ↵iive2007-11-231-3/+3
| | | | | | | | | | | by FFmpeg commit r11071. Patch for demuxer_lavf.c by Chris Welton - electrostatic_1 at yahoo Patch for muxer_lavf.c by me. Approved by michaelni. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25145 b3059339-0415-0410-9bf9-f77b7e298cf2
* Musepack SV8 lavc decoder supportkostya2007-11-201-0/+1
| | | | | | | Patch okayed by Diego on IRC git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25120 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable:diego2007-10-301-1/+1
| | | | | | | demux_lavf.c:441: warning: unused variable 'g' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24896 b3059339-0415-0410-9bf9-f77b7e298cf2
* reindented previously modified codenicodvb2007-10-271-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24876 b3059339-0415-0410-9bf9-f77b7e298cf2
* implemented DEMUXER_CTRL_IDENTIFY_PROGRAM to permit program switchingnicodvb2007-10-271-0/+54
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24873 b3059339-0415-0410-9bf9-f77b7e298cf2
* permit identification and selection of programsnicodvb2007-10-271-0/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24872 b3059339-0415-0410-9bf9-f77b7e298cf2
* permit the transititions no stream <-> some streams and viceversa (needed ↵nicodvb2007-10-271-3/+11
| | | | | | for forthcoming program switching patch) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24871 b3059339-0415-0410-9bf9-f77b7e298cf2
* moved to a new function handle_stream() the code to parse the streams and ↵nicodvb2007-10-271-111/+115
| | | | | | assign the demuxer_streams git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24870 b3059339-0415-0410-9bf9-f77b7e298cf2
* add nellymoser codec to mplayer with internal fourcc NELLcompn2007-10-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24792 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -lavfdopts cryptokeyreimar2007-10-141-0/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24785 b3059339-0415-0410-9bf9-f77b7e298cf2
* Format 0x01 cannot be used with "AMV IMA ADPCM", because it belongs to ↵voroshil2007-10-031-0/+2
| | | | | | | | | | normal PCM. Make lavf demuxer set codec tag to AMVA in this case. No need to use -ac +ffadpcmimaamva anymore. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24694 b3059339-0415-0410-9bf9-f77b7e298cf2
* AMV demuxer and audio/video decodervoroshil2007-09-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24673 b3059339-0415-0410-9bf9-f77b7e298cf2
* analyzeduration option for lavf demuxerhenry2007-09-291-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24655 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless int->double conversionhenry2007-09-291-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24654 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix warningshenry2007-09-291-1/+1
| | | | | | | | | demux_lavf.c: In function ‘demux_open_lavf’: demux_lavf.c:276: warning: assignment discards qualifiers from pointer target type demux_lavf.c:280: warning: assignment discards qualifiers from pointer target type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24653 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverted useless r24539ben2007-09-151-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24540 b3059339-0415-0410-9bf9-f77b7e298cf2
* added monkey audio fourcc in wave headerben2007-09-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for cook audio (though most .rm files don't work with lavfreimar2007-09-151-0/+1
| | | | | | | demuxer anyway) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24538 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add nuv codec tag mappingreimar2007-09-091-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24375 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark lavfpref demuxer as safe, so it that it is actually used for e.g.reimar2007-09-091-1/+1
| | | | | | | nuv as it was planned. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24374 b3059339-0415-0410-9bf9-f77b7e298cf2
* We can support SEEK_END seeks only when stream->end_pos is knownreimar2007-08-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24105 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for AVSEEK_SIZE in demux_lavfreimar2007-08-201-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24104 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not seek to an invalid position.reimar2007-08-191-0/+2
| | | | | | | Patch by {emild [at] cs technion ac il} git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24102 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for subtitles thru lavfaurel2007-07-131-0/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23778 b3059339-0415-0410-9bf9-f77b7e298cf2
* add txd codec, works with ↵compn2007-05-101-0/+1
| | | | | | http://samples.mplayerhq.hu/game-formats/txd/fronten2.txd . git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23292 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for Bethesda Software VID video.diego2007-04-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23106 b3059339-0415-0410-9bf9-f77b7e298cf2
* with -identify show audio and video id; patch by Andrew Savchenko (Bircoph ↵nicodvb2007-04-201-1/+3
| | | | | | list ru) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23028 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore mp4a audio tag, it is meaningless since we get it for all mp4 filesreimar2007-04-161-0/+3
| | | | | | | regardless of actual audio codec. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23008 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use lavf_preferred mechanism to replace more extension-based detection hacksreimar2007-04-141-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22990 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add lavf_preferred demuxer for lavf formats we want to be probedreimar2007-04-141-0/+38
| | | | | | | | before our native demuxers and remove some now unneeded file-extension hacks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22989 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for C93 videodiego2007-04-071-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22936 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for THP ADPCM audiodiego2007-04-071-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22934 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for the THP game format.diego2007-04-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22894 b3059339-0415-0410-9bf9-f77b7e298cf2
* add fourcc for dxa files, approved by diegocompn2007-03-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22708 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the stream/ directory.diego2007-03-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22623 b3059339-0415-0410-9bf9-f77b7e298cf2
* when seeking consider stream->start_pos instead of 0 as initial position; ↵nicodvb2007-03-041-2/+4
| | | | | | patch by Zuxy Meng approved by Michael git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22458 b3059339-0415-0410-9bf9-f77b7e298cf2
* dont set 0 nBlockAlignmichael2007-02-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22284 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support selecting a specific lavf demuxer and listing available ones via ↵reimar2007-02-061-0/+22
| | | | | | -lavfdopts git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22168 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support 16bit bigendian PCM audio from libavformatreimar2007-01-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22076 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ff_gcd prototype and include avutil.h instead where it is defined.reimar2007-01-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22013 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify by using av_codec_get_id and include riff.h only in demux_lavf.creimar2007-01-211-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21984 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forgotten CodecTag -> AVCodecTagreimar2007-01-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21980 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after lavf changesreimar2007-01-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21979 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include "internal" libavformat/riff.h also when dynamic libavformat is usedreimar2007-01-061-6/+1
| | | | | | | | instead of duplicating typedefs and function prototypes in already three different places. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21840 b3059339-0415-0410-9bf9-f77b7e298cf2
* sortmichael2006-12-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21795 b3059339-0415-0410-9bf9-f77b7e298cf2
* first step toward amr-nb muxing supportmichael2006-12-291-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21787 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for musepack native decoder from ffmpeg (require -demuxer lavf)aurel2006-12-281-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21779 b3059339-0415-0410-9bf9-f77b7e298cf2
* Respect -noidx in lavf demuxerreimar2006-12-101-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21584 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set AVFMT_FLAG_GENPTS if -correct-pts is used.uau2006-12-101-0/+4
| | | | | | | | | | | | | This should allow using -correct-pts (and thus filters which adjust pts or add frames) with dvd or other mpeg container files by specifying "-correct-pts -demuxer lavf -vc ffmpeg12". Might work with libmpeg2 decoder too but certainly not with internal demuxer. Using this flag isn't quite optimal as it can cause extra buffering of demuxed frames, but at least it's better than just failing until a more complex solution is implemented. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21564 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for Westwood SND1 audiodiego2006-11-291-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21378 b3059339-0415-0410-9bf9-f77b7e298cf2
* check we aren't short of sh_videos before allocating another onenicodvb2006-11-201-13/+35
| | | | | | | | and fail if the allocation doesn't succeed; added support for video stream switching git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21116 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for XAN DPCM audiodiego2006-11-181-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21006 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for some more fringe formats, still buggy ..diego2006-11-171-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20996 b3059339-0415-0410-9bf9-f77b7e298cf2
* support flic video through lavfdiego2006-11-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20979 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Restore alphabetical order, align both tables.diego2006-11-161-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20960 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for RoQ video and audio through libavformatdiego2006-11-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20958 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for Electronic Arts ADPCM audiodiego2006-11-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20957 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for Delphine CIN audio and videodiego2006-11-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20956 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for Interplay DPCM audiodiego2006-11-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20952 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: alphabetical order and prettyprinting for the CodecTag tablediego2006-11-161-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20951 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for Sierra VMD videodiego2006-11-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20950 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for Tiertex SEQ video.diego2006-11-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20949 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for Westwood IMA ADPCM audio.diego2006-11-151-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20947 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move some FourCC values from libavformat/riff.c to our private mapping.diego2006-11-081-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20776 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add our own CODEC_ID -> fourcc translation tables so we do not needreimar2006-11-071-0/+22
| | | | | | | | | | to put them into ffmpeg. Also adds support for S24BE and S8 audio formats, which fixes e.g. http://samples.mplayerhq.hu/A-codecs/MACE/Bach1-1.aiff and http://samples.mplayerhq.hu/MXF/ebu_small.mxf . git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement absolute and percent-based seekreimar2006-10-051-1/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20076 b3059339-0415-0410-9bf9-f77b7e298cf2
* include forgotten limits.hnicodvb2006-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19617 b3059339-0415-0410-9bf9-f77b7e298cf2
* added lavfdopts to pass options to libavformatnicodvb2006-08-301-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19604 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not treat AV_NOPTS_VALUE as a valid duration value.reimar2006-07-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19212 b3059339-0415-0410-9bf9-f77b7e298cf2
* Take start time into consideration when calculation percentage positionreimar2006-07-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove #if LIBAVCODEC_BUILD >= XXX and #if LIBAVFORMAT_BUILD >= XXX jungle.diego2006-07-131-20/+2
| | | | | | | It served no apparent purpose anymore. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19078 b3059339-0415-0410-9bf9-f77b7e298cf2
* drops casts from void * on malloc/calloc from libmpdemux codereynaldo2006-07-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19067 b3059339-0415-0410-9bf9-f77b7e298cf2
* more c++ decl craprfelker2006-07-101-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18990 b3059339-0415-0410-9bf9-f77b7e298cf2
*