Thibault Saunier
7a371e75b7
Move files from gst-libav into the "subprojects/gst-libav/" subdir
2021-09-24 16:15:08 -03:00
Stéphane Cerveau
72d0d28811
avdemux: add xwma support
...
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 >
2021-08-09 10:27:45 +02:00
Tim-Philipp Müller
07b43c727c
avdemux: fix build with FFmpeg 4.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 >
2021-04-13 01:14:52 +01:00
Mathieu Duponchelle
a5850215ba
avdemux: update the context we use to determine stream's caps
...
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 >
2020-05-27 16:34:10 +02:00
Sebastian Dröge
6c3fc7a16d
avdemux: Pass the URI from the URI query to avformat_open_input()
...
Some demuxers make use of it in various ways, for example the HLS
demuxer.
2020-01-23 11:58:29 +02:00
Kevin JOLY
9e56619b10
avdemux: Fix segmentation fault if long_name is NULL
...
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>
2019-11-04 16:14:05 +01:00
Guillaume Desmottes
1d293764e5
avdemux: fix negative pts if start_time is bigger than the ts
...
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.
2019-02-21 08:56:34 +01:00
Arun Raghavan
ef106350d4
avdemux: Expose IFF container support
...
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
2018-10-12 19:23:21 +05:30
Mathieu Duponchelle
bc7160dd47
av_iformat_next (deprecated) -> av_demuxer_iterate
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
37b58e0753
avdemux: port to AVCodecParameters
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
4f28ea23eb
Remove all uses of AVPicture
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:26 +02:00
Roland Jon
43bda46b50
avdemux: fix memory leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=796452
2018-06-01 08:14:46 +02:00
Mathieu Duponchelle
a68dbb9c82
Expose support for DSD
...
DSD is usually wrapped in DSF, for which we now also expose the
demuxer.
https://bugzilla.gnome.org/show_bug.cgi?id=721186
2018-05-06 12:49:47 +02:00
Matej Knopp
c182d28770
gstavdemux: adjust seeking offset according to start_time
...
https://bugzilla.gnome.org/show_bug.cgi?id=733094
2018-05-06 10:55:45 +02:00
Edward Hervey
4d69122fb0
av*mux: Disable gif related "hacks"
...
This is properly handled by the previous commit now
2018-02-12 08:32:01 +01:00
Mathieu Duponchelle
d5b0305241
Enable gif format, and make it so avdemux_gif and avdec_gif can autoplug
...
https://bugzilla.gnome.org/show_bug.cgi?id=784684
2018-02-12 08:27:53 +01:00
Jan Alexander Steffens (heftig)
a771795005
avdemux: Whitelist the demuxers required for GC/Wii/WiiU ADPCM streams
...
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
2017-10-19 16:50:38 +02:00
Nicola Murino
f86dfde0a4
avdemux: reset to 0 negative pts
...
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
2017-10-05 21:40:55 -04:00
Garima Gaur
14dc964f0e
Fix some caps leaks when creating pad templates
...
https://bugzilla.gnome.org/show_bug.cgi?id=776700
2017-01-02 12:41:20 +00:00
Sebastian Dröge
35f9fd9355
avdemux: Disable GIF "demuxer"
...
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
2016-12-02 17:06:50 +02:00
Sebastian Dröge
ac4a47bacb
av: Enable IVF demuxer (and muxer)
...
It works and is a quite unimportant format, we should get rid of our
parser to reduce the amount of code to maintain.
2016-11-16 17:06:54 +02:00
Marinus Schraal
06a9a34d6d
avdemux: Map artist to artist tag
...
It was incorrectly mapped to album-artist before.
https://bugzilla.gnome.org/show_bug.cgi?id=774398
2016-11-14 13:03:07 +02:00
Thibault Saunier
80924aab15
Use the new API to post flow ERROR messages on the bus
...
https://bugzilla.gnome.org/show_bug.cgi?id=770158
2016-08-26 19:23:32 -03:00
Sebastian Dröge
fce3e0ba66
avdemux: Use av_packet_unref() instead of deprecated av_free_packet()
2016-01-19 09:39:00 +02:00
Tim-Philipp Müller
83ce87e7c8
av: canonicalise av plugin name more consistently in more places
...
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
2016-01-07 17:16:41 +00:00
Vineeth TM
e5b9e11383
avdemux: Fix string memory leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=757454
2015-11-02 09:22:37 +02:00
Jan Schmidt
51896af52b
Map ffmpeg metadata to GStreamer tags
...
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
2015-08-05 16:53:28 -04:00
James Smith
f92bf2618c
Add support for musepack (mpc) sv8 audio
...
https://bugzilla.gnome.org/show_bug.cgi?id=732682
2015-07-22 09:44:27 +01:00
Mark Nauwelaerts
2270026d82
avdemux: resurrect some flow return handling
...
https://bugzilla.gnome.org/show_bug.cgi?id=744572
2015-03-29 14:01:50 +02:00
Tim-Philipp Müller
55f98c5b9a
avdemux: fix double semicolon
2015-03-10 09:37:19 +00:00
Luis de Bethencourt
18667c5698
avdemux: remove duplicate goto block
2015-03-05 14:27:52 +00:00
Luis de Bethencourt
e3b8a4fe23
avdemux: check AVIO Context has been allocated
2015-03-05 14:23:44 +00:00
Thiago Santos
66588ae60d
avdemux: use GstFlowCombiner
...
To remove replicated code from all demuxers to a single standard way
of aggregating flow returns
2014-05-26 16:04:50 -03:00
Thiago Santos
5872891711
avdemux: remove legacy check from pad-alloc times
...
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
2014-05-26 16:02:11 -03:00
Edward Hervey
f70f904210
avdemux: Remove unused variable
...
CID #1139943
2014-04-08 08:05:24 +02:00
Sjoerd Simons
1b5895c936
avdemux: Don't go into pull mode when the sequential flag is set
...
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
2014-01-24 22:22:48 +01:00
Sebastian Dröge
28d1c135bb
avdemux: Stop using r_frame_rate field
...
It was removed and quite meaningless anyway.
Use the average framerate instead.
2014-01-03 16:25:39 +01:00
Sebastian Dröge
966b53109b
avdemux: Add support for video/x-pva
...
https://bugzilla.gnome.org/show_bug.cgi?id=158719
2013-08-22 14:23:43 +02:00
Sebastian Dröge
461a46f17a
avdemux: Implement SEGMENT query
2013-07-29 12:19:38 +02:00
Sebastian Dröge
9b2577ea2b
avdemux: Add support for group-id in the stream-start event
2013-07-23 09:59:43 +02:00
Tim-Philipp Müller
068be939cb
CODEC_ID_* -> AV_CODEC_ID_*
2013-05-06 23:56:22 +01:00
David Schleef
f656d9eaf7
Use %03u instead of %u in gst_pad_create_stream_id_printf()
2013-03-25 19:01:31 -07:00
Sebastian Dröge
08ca549627
av: Move gst_ffmpegdata functions to gstavprotocol.h too
...
Just for consistency.
2012-12-22 10:49:52 +01:00
Sebastian Dröge
022ab84288
av: Fix some memory leaks and misuse of libav API
2012-12-17 16:35:36 +01:00
Christiaan Welvaart
338b147374
avprotocol: Port from the URL protocol handler to saner public API
2012-12-12 12:10:27 +00:00
Sebastian Dröge
f5c112990f
av: Port remaining simple bits
2012-12-04 18:36:56 +01:00
Tim-Philipp Müller
d0ef33d463
Fix FSF address
2012-11-04 00:22:16 +00:00
Tim-Philipp Müller
07cec6d216
avdemux: fix not-negotiated errors
...
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
2012-09-28 16:53:49 +01:00
Mark Nauwelaerts
c5589bb8f9
avdemux: port to the new GLib thread API
2012-09-12 10:25:21 +02:00
Mark Nauwelaerts
b9e32291a9
avdemux: only activate in pull mode if upstream is seekable
2012-09-11 17:52:57 +02:00