summaryrefslogtreecommitdiff
path: root/ext/libav/gstavdemux.c
Commit message (Collapse)AuthorAgeFilesLines
* avdemux: add xwma supportStéphane Cerveau2021-08-091-0/+6
| | | | | | | | | | | | Add xwma tested with the media b8edfb1e970ed7892f35b34a1ef36fee_wma.wav from this ticket: http://trac.ffmpeg.org/ticket/9358 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/138>
* avdemux: fix build with FFmpeg 4.4Tim-Philipp Müller2021-04-131-0/+4
| | | | | | | | | | Direct access to avstream->index_entries was removed in favour of the newly added avformat_index_get_entry() and friends. Fixes https://gitlab.freedesktop.org/gstreamer/gst-libav/-/issues/85 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/127>
* avdemux: update the context we use to determine stream's capsMathieu Duponchelle2020-05-271-0/+4
| | | | | | | | | | The discovered frame rate is only available on the AVStream itself. Updating the temporary context framerate before building caps from it seems like a pretty non-intrusive approach. Fixes #75 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/74>
* avdemux: Pass the URI from the URI query to avformat_open_input()Sebastian Dröge2020-01-231-1/+26
| | | | | Some demuxers make use of it in various ways, for example the HLS demuxer.
* avdemux: Fix segmentation fault if long_name is NULLKevin JOLY2019-11-041-3/+8
| | | | | | Some plugins (like libcdio) registers empty long_name field. Calling strncmp on this field leads to a segmentation fault. Signed-off-by: Kevin Joly <joly.kevin25@gmail.com>
* avdemux: fix negative pts if start_time is bigger than the tsGuillaume Desmottes2019-02-211-2/+8
| | | | | | | | | | The start time is supposed to be the ts of the first frame. FFmpeg uses fractions to represent timestamps and the start time may use a different base than the frame pts. So we may end up having the start time bigger than the pts because of rounding when converting to gst ts. See https://gitlab.freedesktop.org/gstreamer/gst-libav/issues/51 for details.
* avdemux: Expose IFF container supportArun Raghavan2018-10-121-1/+2
| | | | | | | | | | This exposes support for the "iff" demuxer. This is a general purpose format, and the reason to expose this now is to allow reading DSD data (which is supported via a variant called DSDIFF). More information at: https://wiki.multimedia.cx/index.php?title=IFF https://www.loc.gov/preservation/digital/formats/fdd/fdd000245.shtml
* av_iformat_next (deprecated) -> av_demuxer_iterateMathieu Duponchelle2018-07-131-13/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=792900
* avdemux: port to AVCodecParametersMathieu Duponchelle2018-07-131-16/+21
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=792900
* Remove all uses of AVPictureMathieu Duponchelle2018-07-131-3/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=792900
* avdemux: fix memory leaksRoland Jon2018-06-011-42/+47
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=796452
* Expose support for DSDMathieu Duponchelle2018-05-061-1/+2
| | | | | | | DSD is usually wrapped in DSF, for which we now also expose the demuxer. https://bugzilla.gnome.org/show_bug.cgi?id=721186
* gstavdemux: adjust seeking offset according to start_timeMatej Knopp2018-05-061-1/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=733094
* av*mux: Disable gif related "hacks"Edward Hervey2018-02-121-11/+4
| | | | This is properly handled by the previous commit now
* Enable gif format, and make it so avdemux_gif and avdec_gif can autoplugMathieu Duponchelle2018-02-121-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=784684
* avdemux: Whitelist the demuxers required for GC/Wii/WiiU ADPCM streamsJan Alexander Steffens (heftig)2017-10-191-1/+4
| | | | | | | Required to play .brstm (GameCube/Wii) and .bfstm (Wii U) files. Needs at least avdec_adpcm_thp too, but that one is already accessible. https://bugzilla.gnome.org/show_bug.cgi?id=789139
* avdemux: reset to 0 negative ptsNicola Murino2017-10-051-1/+16
| | | | | | | for us pts are unsigned so reset to 0 negative pts returned from libav. This is better than outputs completly wrong timestamps https://bugzilla.gnome.org/show_bug.cgi?id=787795
* Fix some caps leaks when creating pad templatesGarima Gaur2017-01-021-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=776700
* avdemux: Disable GIF "demuxer"Sebastian Dröge2016-12-021-2/+1
| | | | | | | | | It's actually a parser but it a) can only work with the ffmpeg GIF decoder that is deactivated anyway, and b) it currently causes infinite linking of avdemux_gif elements with a multiqueue in between in decodebin. https://bugzilla.gnome.org/show_bug.cgi?id=775516
* av: Enable IVF demuxer (and muxer)Sebastian Dröge2016-11-161-3/+5
| | | | | It works and is a quite unimportant format, we should get rid of our parser to reduce the amount of code to maintain.
* avdemux: Map artist to artist tagMarinus Schraal2016-11-141-1/+1
| | | | | | It was incorrectly mapped to album-artist before. https://bugzilla.gnome.org/show_bug.cgi?id=774398
* Use the new API to post flow ERROR messages on the busThibault Saunier2016-08-261-3/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=770158
* avdemux: Use av_packet_unref() instead of deprecated av_free_packet()Sebastian Dröge2016-01-191-2/+2
|
* av: canonicalise av plugin name more consistently in more placesTim-Philipp Müller2016-01-071-21/+8
| | | | | | | Use g_strdelimit(), make sure to include comma as well, which isn't included in G_STR_DELIMITERS. https://bugzilla.gnome.org/show_bug.cgi?id=734451
* avdemux: Fix string memory leaksVineeth TM2015-11-021-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=757454
* Map ffmpeg metadata to GStreamer tagsJan Schmidt2015-08-051-71/+135
| | | | | | | | Update to the metadata API ffmpeg has had in place for a long time now, and reenable output of GStreamer tags from the demuxer. https://bugzilla.gnome.org/show_bug.cgi?id=566605
* Add support for musepack (mpc) sv8 audioJames Smith2015-07-221-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=732682
* avdemux: resurrect some flow return handlingMark Nauwelaerts2015-03-291-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=744572
* avdemux: fix double semicolonTim-Philipp Müller2015-03-101-1/+1
|
* avdemux: remove duplicate goto blockLuis de Bethencourt2015-03-051-10/+4
|
* avdemux: check AVIO Context has been allocatedLuis de Bethencourt2015-03-051-0/+3
|
* avdemux: use GstFlowCombinerThiago Santos2014-05-261-41/+16
| | | | | To remove replicated code from all demuxers to a single standard way of aggregating flow returns
* avdemux: remove legacy check from pad-alloc timesThiago Santos2014-05-261-8/+0
| | | | | | | The 'no_buffer' error case is from the 0.10 era when a pad_alloc was made before decoding the data and avdemuxer could check again the flow returns for a not-linked. This isn't a valid use case anymore in 1.0
* avdemux: Remove unused variableEdward Hervey2014-04-081-4/+0
| | | | CID #1139943
* avdemux: Don't go into pull mode when the sequential flag is setSjoerd Simons2014-01-241-0/+6
| | | | | | | When the scheduling query results has GST_SCHEDULING_FLAG_SEQUENTIAL set in its flags don't go into pull mode to prevent over-eager seeking. https://bugzilla.gnome.org/show_bug.cgi?id=722935
* avdemux: Stop using r_frame_rate fieldSebastian Dröge2014-01-031-8/+8
| | | | | It was removed and quite meaningless anyway. Use the average framerate instead.
* avdemux: Add support for video/x-pvaSebastian Dröge2013-08-221-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=158719
* avdemux: Implement SEGMENT querySebastian Dröge2013-07-291-0/+18
|
* avdemux: Add support for group-id in the stream-start eventSebastian Dröge2013-07-231-1/+26
|
* CODEC_ID_* -> AV_CODEC_ID_*Tim-Philipp Müller2013-05-061-1/+1
|
* Use %03u instead of %u in gst_pad_create_stream_id_printf()David Schleef2013-03-251-1/+1
|
* av: Move gst_ffmpegdata functions to gstavprotocol.h tooSebastian Dröge2012-12-221-1/+1
| | | | Just for consistency.
* av: Fix some memory leaks and misuse of libav APISebastian Dröge2012-12-171-0/+4
|
* avprotocol: Port from the URL protocol handler to saner public APIChristiaan Welvaart2012-12-121-9/+11
|
* av: Port remaining simple bitsSebastian Dröge2012-12-041-2/+2
|
* Fix FSF addressTim-Philipp Müller2012-11-041-2/+2
|
* avdemux: fix not-negotiated errorsTim-Philipp Müller2012-09-281-0/+6
| | | | | | | | | | Drop caps event received on the sink pad, instead of putting it in the list of cached events to be sent downstream later. We don't want to send our container caps downstream to our decoders, that'll give us nasty not-negotiated errors. https://bugzilla.gnome.org/show_bug.cgi?id=680464
* avdemux: port to the new GLib thread APIMark Nauwelaerts2012-09-121-4/+4
|
* avdemux: only activate in pull mode if upstream is seekableMark Nauwelaerts2012-09-111-1/+2
|
* ext: ffmpeg/gstffmpeg*.[ch] => libav/gstav*.[ch]Edward Hervey2012-09-101-0/+2044