Tim-Philipp Müller [Thu, 18 Apr 2019 23:33:22 +0000 (00:33 +0100)]
Release 1.16.0
Tim-Philipp Müller [Thu, 18 Apr 2019 23:33:22 +0000 (00:33 +0100)]
Update docs
Sebastian Dröge [Fri, 12 Apr 2019 07:05:53 +0000 (10:05 +0300)]
libav: Update to ffmpeg n4.1.3
Tim-Philipp Müller [Wed, 10 Apr 2019 23:34:12 +0000 (00:34 +0100)]
Release 1.15.90
Tim-Philipp Müller [Wed, 10 Apr 2019 23:34:12 +0000 (00:34 +0100)]
Update docs
Sebastian Dröge [Tue, 9 Apr 2019 13:56:20 +0000 (16:56 +0300)]
avcfg: Override type of bitrate property from int64 to int
See https://gitlab.freedesktop.org/gstreamer/gst-libav/issues/41#note_142808
The switch to the new ffmpeg property system changed the type of the
bitrate property from int to int64, which potentially breaks many
existing applications at runtime as properties are usually set via
g_object_set().
As such, override the type to int until GStreamer 2.0.
Aaron Boxer [Thu, 28 Mar 2019 18:24:42 +0000 (14:24 -0400)]
avviddec: do not add 708 caption meta if already exists
(this is only used for CEA 708 raw data). another element
such as mpegvideoparse may have already added the meta.
Mathieu Duponchelle [Fri, 22 Mar 2019 23:24:25 +0000 (00:24 +0100)]
avvidenc: pass Closed Caption metadata to libav
Tim-Philipp Müller [Tue, 26 Feb 2019 00:00:33 +0000 (00:00 +0000)]
avauddec: fix decoding of APE and Cook audio
.. and other formats where ffmpeg gives us multiple
subframes per input frame.
Since we now support non-interleaved audio, we can't
just concat buffers any more. Also, audio metas won't
be combined when buffers are merged, so when we push
out the combined buffer we'll look at the meta describing
only the first subframe and think it covers the whole
frame leading to stutter/gaps in the output.
We could fix this by copying the output data into a new
buffer when we merge buffers, but that's suboptimal, so
let's add some API to GstAudioDecoder to push out subframes
and use that instead.
https://gitlab.freedesktop.org/gstreamer/gst-libav/issues/49
Tim-Philipp Müller [Mon, 4 Mar 2019 09:12:35 +0000 (09:12 +0000)]
Back to development
Tim-Philipp Müller [Tue, 26 Feb 2019 11:57:15 +0000 (11:57 +0000)]
Release 1.15.2
Tim-Philipp Müller [Tue, 26 Feb 2019 11:57:15 +0000 (11:57 +0000)]
Update docs
Guillaume Desmottes [Thu, 21 Feb 2019 07:48:31 +0000 (08:48 +0100)]
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.
Sebastian Dröge [Tue, 12 Feb 2019 15:23:55 +0000 (17:23 +0200)]
configure: Only disable dxva2 once
Sebastian Dröge [Tue, 12 Feb 2019 08:57:24 +0000 (10:57 +0200)]
Update to ffmpeg n4.1.1
Tim-Philipp Müller [Thu, 17 Jan 2019 02:21:41 +0000 (02:21 +0000)]
Release 1.15.1
Tim-Philipp Müller [Thu, 17 Jan 2019 02:21:35 +0000 (02:21 +0000)]
Update docs
Seungha Yang [Sat, 12 Jan 2019 15:46:50 +0000 (00:46 +0900)]
avcfg: Fix AVOptionRanges leak
It must be freed with av_opt_freep_ranges as documented.
Thibault Saunier [Wed, 5 Dec 2018 20:24:43 +0000 (17:24 -0300)]
Automatic update of common submodule
From ed78bee to 59cb678
Sebastian Dröge [Thu, 15 Nov 2018 09:29:54 +0000 (11:29 +0200)]
libav: Update to ffmpeg n4.1
Jordan Petridis [Mon, 12 Nov 2018 11:04:51 +0000 (13:04 +0200)]
Add Gitlab CI configuration
This commit adds a .gitlab-ci.yml file, which uses a feature
to fetch the config from a centralized repository. The intent is
to have all the gstreamer modules use the same configuration.
The configuration is currently hosted at the gst-ci repository
under the gitlab/ci_template.yml path.
Part of https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/29
Edward Hervey [Thu, 8 Nov 2018 15:33:57 +0000 (16:33 +0100)]
codecmap: Add mapping for Voxware metasound
Allows actually decoding such streams :)
Sebastian Dröge [Mon, 5 Nov 2018 08:22:19 +0000 (10:22 +0200)]
libav: Update to ffmpeg n4.0.3
Matthew Waters [Mon, 5 Nov 2018 05:40:03 +0000 (05:40 +0000)]
Update common submodule location
Remove the git directory
Haihao Xiang [Mon, 5 Nov 2018 05:17:08 +0000 (13:17 +0800)]
Clone the code from gitlab
This fixes https://gitlab.freedesktop.org/gstreamer/gst-libav/issues/43
Nirbheek Chauhan [Mon, 29 Oct 2018 14:31:52 +0000 (14:31 +0000)]
meson: Remove leftover debug logging
Nirbheek Chauhan [Mon, 15 Oct 2018 22:38:57 +0000 (04:08 +0530)]
avcfg: Ensure that ternary operator always evaluates to int64
When building with MSVC, if the 3rd operator is a double, the entire
expression always promoted double, and is then cast to int64.
When TRUE, this evaluates to (gint64) (gdouble) (INT64_MAX)
which overflows to INT64_MIN on MSVC, but not on C99 compilers.
This causes us to fail the g_return_if_fail inside g_param_spec_int64
when built with MSVC.
Arun Raghavan [Fri, 12 Oct 2018 13:50:51 +0000 (19:20 +0530)]
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
Nirbheek Chauhan [Tue, 9 Oct 2018 12:37:09 +0000 (18:07 +0530)]
meson: Generate a pkgconfig file for gstlibav
This matches all other plugins in the other gstreamer repos. This is
also necessary for generating the correct libtool archive (.la) files
in Cerbero which are needed for static linking on Android and iOS.
Tim-Philipp Müller [Mon, 8 Oct 2018 19:55:08 +0000 (20:55 +0100)]
meson: use new 'python' module instead of deprecated 'python3' one
https://github.com/mesonbuild/meson/pull/4169
Nirbheek Chauhan [Mon, 1 Oct 2018 10:43:29 +0000 (16:13 +0530)]
meson: Don't export symbols from linked static libraries
We don't want to export any symbols from the ffmpeg static libraries
we link to when building inside Cerbero. In the Autotools build, we
pass -export-symbols-regex to libtool which ensures this for us.
Edward Hervey [Fri, 21 Sep 2018 14:01:53 +0000 (16:01 +0200)]
avviddec: Remove unneeded check
frame is always valid in this function (but wasn't before the
refactoring from a few months ago).
CID #1439540
Edward Hervey [Fri, 21 Sep 2018 09:30:58 +0000 (11:30 +0200)]
avcfg: Simplify code
The existence of 'opt' is checked, the remainder of the code can therefore
rely on it being valid.
CID #1439537
Tim-Philipp Müller [Wed, 15 Aug 2018 18:33:29 +0000 (19:33 +0100)]
libav: update internal snapshot to ffmpeg n4.0.2
Mathieu Duponchelle [Tue, 31 Jul 2018 16:35:22 +0000 (18:35 +0200)]
decoders: fix draining
https://bugzilla.gnome.org/show_bug.cgi?id=796900
Georg Ottinger [Tue, 3 Jul 2018 11:15:54 +0000 (13:15 +0200)]
avmux: Place pva case after generic case
In the function gst_ffmpeg_formatid_get_codecids() in the if / else if
construct the special case !strcmp (format_name, "pva") should be
handled before the generic case (plugin->audio_codec !=
AV_CODEC_ID_NONE) || (plugin->video_codec != AV_CODEC_ID_NONE)
This patch fixes the ordering.
I stumbled accorss this issue while adding a new format to
gst_ffmpeg_formatid_get_codecids()
https://bugzilla.gnome.org/show_bug.cgi?id=796738
George Kiagiadakis [Mon, 23 Jul 2018 13:16:10 +0000 (16:16 +0300)]
avauddec: add support for decoding in non-interleaved layout
This removes the internal interleave loop and always negotiates
the native output layout of the libav decoder. Users can use
audioconvert to interleave if necessary.
Special care has been taken to leave the encoder unaffected by
the changes in avcodecmap, since GstAudioEncoder doesn't support
the non-interleaved layout yet.
https://bugzilla.gnome.org/show_bug.cgi?id=705977
Seungha Yang [Wed, 18 Jul 2018 10:41:50 +0000 (19:41 +0900)]
libav: Fix symbol redefine build error
https://bugzilla.gnome.org/show_bug.cgi?id=796827
Tim-Philipp Müller [Wed, 18 Jul 2018 14:43:41 +0000 (15:43 +0100)]
Remove obsolete #if 0-ed code
Tim-Philipp Müller [Mon, 16 Jul 2018 22:47:45 +0000 (23:47 +0100)]
Remove swscale plugin code
This has been disabled for 5.5 years, time to remove it.
Mathieu Duponchelle [Mon, 16 Jul 2018 17:45:35 +0000 (19:45 +0200)]
libav: Update to ffmpeg release/4.0 HEAD
Edward Hervey [Mon, 16 Jul 2018 06:44:45 +0000 (08:44 +0200)]
avcfg: Properly initalize GValue
.. to the expected property value type.
Mathieu Duponchelle [Fri, 13 Jul 2018 16:03:27 +0000 (18:03 +0200)]
avcfg: actually remove call to g_object_getv
(Sorry about that)
Mathieu Duponchelle [Fri, 13 Jul 2018 15:24:07 +0000 (17:24 +0200)]
av*dec: Ignore decoding errors
We were ignoring these before the port to 4.0, interpreting them
as GST_FLOW_ERROR / GST_ELEMENT_ERROR causes check failures.
We should start using GST_*_DECODER_ERROR in latter commits,
for now simply restore the previous behaviour.
Mathieu Duponchelle [Fri, 13 Jul 2018 15:21:25 +0000 (17:21 +0200)]
avcfg: use g_object_get_property, not g_object_getv
I simply confused those two, we didn't need g_object_getv
here anyway.
Mathieu Duponchelle [Thu, 12 Jul 2018 20:05:27 +0000 (22:05 +0200)]
avcfg: ignore some generic properties
We expose profile, level and colorimetry / colorspaces through
caps.
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Thu, 12 Jul 2018 19:57:57 +0000 (21:57 +0200)]
avcfg: add skip support to overrides system
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Tue, 3 Jul 2018 22:21:45 +0000 (00:21 +0200)]
meson: add FFmpeg meson as a fallback
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Tue, 3 Jul 2018 22:18:44 +0000 (00:18 +0200)]
auddec: fix luck-based sinkpad access
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Mon, 2 Jul 2018 15:55:00 +0000 (17:55 +0200)]
Update ffmpeg version requirements
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Mon, 2 Jul 2018 15:39:30 +0000 (17:39 +0200)]
Remove obsolete scale and resample sources
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Mon, 2 Jul 2018 15:38:13 +0000 (17:38 +0200)]
configure: update libav configure args
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Mon, 2 Jul 2018 15:31:08 +0000 (17:31 +0200)]
libav: Update to n4.0.1 release
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Mon, 2 Jul 2018 02:14:09 +0000 (04:14 +0200)]
meson: stop ignoring deprecation warnings!
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Mon, 2 Jul 2018 02:12:36 +0000 (04:12 +0200)]
avvidenc: port to send_frame / receive_packet
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Mon, 2 Jul 2018 02:05:19 +0000 (04:05 +0200)]
avviddec: fix invalid alignment calculations.
avcodec_align_dimensions2 uses context->pix_fmt to make its
calculations, we thus need to make sure it is adequately set
when calling it.
Fixes:
gst-launch-1.0 videotestsrc ! video/x-raw, width=1920, height=1080 \
! avenc_mpeg4 ! avdec_mpeg4 ! xvimagesink
This showed invalid writes under valgrind, then segfault.
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Sun, 1 Jul 2018 15:09:05 +0000 (17:09 +0200)]
avaudenc: port to send_frame / receive_packet
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Sun, 1 Jul 2018 00:34:41 +0000 (02:34 +0200)]
avmux: fix remaining warnings
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Sun, 1 Jul 2018 00:23:06 +0000 (02:23 +0200)]
avauddec: fix remaining warnings
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Sun, 1 Jul 2018 00:21:46 +0000 (02:21 +0200)]
avauddec: port to new decoding API
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Sat, 30 Jun 2018 21:28:31 +0000 (23:28 +0200)]
avaudenc: further cleanup
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Sat, 30 Jun 2018 21:27:06 +0000 (23:27 +0200)]
avaudenc: install options generically
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Sat, 30 Jun 2018 00:18:43 +0000 (02:18 +0200)]
avviddec: fix signed/unsigned comparisons
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Sat, 30 Jun 2018 00:14:33 +0000 (02:14 +0200)]
avvidec: port to new decoding API
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Fri, 29 Jun 2018 19:54:11 +0000 (21:54 +0200)]
gstav: stop calling deprecated registration methods
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Fri, 29 Jun 2018 19:46:00 +0000 (21:46 +0200)]
auddec: stop using deprecated getters
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Fri, 29 Jun 2018 19:38:50 +0000 (21:38 +0200)]
av_oformat_next (deprecated) -> av_muxer_iterate
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Fri, 29 Jun 2018 19:37:06 +0000 (21:37 +0200)]
av_iformat_next (deprecated) -> av_demuxer_iterate
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Fri, 29 Jun 2018 19:21:30 +0000 (21:21 +0200)]
avauddec: remove obsolete version check
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Fri, 29 Jun 2018 19:20:36 +0000 (21:20 +0200)]
av_codec_next (deprecated) -> av_codec_iterate
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Fri, 29 Jun 2018 18:59:46 +0000 (20:59 +0200)]
avdemux: port to AVCodecParameters
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Fri, 29 Jun 2018 18:37:14 +0000 (20:37 +0200)]
avmux: port to AVCodecParameters
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Fri, 29 Jun 2018 02:52:02 +0000 (04:52 +0200)]
Remove all uses of AVPicture
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Mon, 2 Jul 2018 15:10:03 +0000 (17:10 +0200)]
avaudenc: remove obsolete setting of rc_strategy
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Mathieu Duponchelle [Wed, 27 Jun 2018 18:41:37 +0000 (20:41 +0200)]
Refactor avcfg / avvidenc
We were previously installing hardcoded properties for all
video encoders, refactor to instead use FFmpeg's AVOption API.
avvidenc still exposes a few properties related to the pass
mechanism: while the AVOption API allows specifying both passes
as flags at the same time, this is not practical in GStreamer's
context, where passes need to be run separately using a stats file.
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Nicolas Dufresne [Mon, 30 Apr 2018 20:02:21 +0000 (16:02 -0400)]
avviddec: Stop using deperated EDGE API
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Nicolas Dufresne [Mon, 30 Apr 2018 19:54:44 +0000 (15:54 -0400)]
Use AV_ namespace for all CODEC_ macro
The remaining use of CODEC_ are codec flags that has been moved into the
new codec private properties or have been deperated. Will be fixed in
later patches.
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Nicolas Dufresne [Mon, 30 Apr 2018 19:41:40 +0000 (15:41 -0400)]
Use AV_ namespace for INPUT_BUFFER_PADDING_SIZE
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Nicolas Dufresne [Mon, 30 Apr 2018 19:37:50 +0000 (15:37 -0400)]
Don't include deprecated avfiltergraph.h header
https://bugzilla.gnome.org/show_bug.cgi?id=792900
Roland Jon [Thu, 31 May 2018 09:28:44 +0000 (17:28 +0800)]
avdemux: fix memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=796452
Edward Hervey [Fri, 11 May 2018 12:24:03 +0000 (14:24 +0200)]
libav: Switch to common include
Edward Hervey [Fri, 11 May 2018 12:19:42 +0000 (14:19 +0200)]
avmux: Remove unneeded constant variable
Since the removal of the gif hacks, the variable was always set to
its default value of FALSE. Just remove it.
CID #1433656
Edward Hervey [Thu, 22 Feb 2018 14:57:24 +0000 (15:57 +0100)]
avvidec: Expose Closed Caption as GstVideoCaptionMeta
Mathieu Duponchelle [Sat, 5 May 2018 16:00:06 +0000 (18:00 +0200)]
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
Matej Knopp [Sat, 12 Jul 2014 13:26:36 +0000 (15:26 +0200)]
gstavdemux: adjust seeking offset according to start_time
https://bugzilla.gnome.org/show_bug.cgi?id=733094
Nirbheek Chauhan [Sat, 5 May 2018 14:33:49 +0000 (20:03 +0530)]
meson: Update option names to omit disable_ and with- prefixes
Also yield common options to the outer project (gst-build in our case)
so that they don't have to be set manually.
Jan Schmidt [Tue, 1 May 2018 04:57:43 +0000 (14:57 +1000)]
Update gas-preprocessor submodule
Jan Schmidt [Mon, 30 Apr 2018 19:19:28 +0000 (05:19 +1000)]
configure: Always use full path for gas-preprocessor PATH entry
Don't pass a relative path to gas-preprocessor, always use an
absolute path to make sure it's found
Jan Schmidt [Fri, 27 Apr 2018 14:14:45 +0000 (00:14 +1000)]
configure: fix handling of the input AS var passed to ffmpeg
Store the original AS environment variable passed to configure
correctly, and export it so it's actually available to the sub-process
when configuring the embedded ffmpeg
Tim-Philipp Müller [Mon, 16 Apr 2018 09:53:36 +0000 (10:53 +0100)]
Automatic update of common submodule
From 3fa2c9e to ed78bee
Tim-Philipp Müller [Tue, 20 Mar 2018 09:41:11 +0000 (09:41 +0000)]
Back to development
Tim-Philipp Müller [Mon, 19 Mar 2018 20:25:38 +0000 (20:25 +0000)]
Release 1.14.0
Tim-Philipp Müller [Mon, 19 Mar 2018 20:25:38 +0000 (20:25 +0000)]
Update docs
Tim-Philipp Müller [Tue, 13 Mar 2018 19:26:51 +0000 (19:26 +0000)]
Release 1.13.91
Tim-Philipp Müller [Tue, 13 Mar 2018 19:26:51 +0000 (19:26 +0000)]
Update docs
Nicolas Dufresne [Thu, 8 Mar 2018 16:22:29 +0000 (11:22 -0500)]
configure.ac: enable largefile support if possible
https://bugzilla.gnome.org/show_bug.cgi?id=793103
Matthew Waters [Tue, 6 Mar 2018 03:40:20 +0000 (14:40 +1100)]
build: prefer using *.la references when creating our own libtool files
Otherwise we will reference the dependant libraries with -lfoo rather than
/path/to/libfoo.la which breaks with the Android-based .la parser which
simply passes through all -l libraries.
https://bugzilla.gnome.org/show_bug.cgi?id=786403
Tim-Philipp Müller [Sat, 3 Mar 2018 22:44:19 +0000 (22:44 +0000)]
Release 1.13.90
Tim-Philipp Müller [Sat, 3 Mar 2018 22:44:19 +0000 (22:44 +0000)]
Update docs
Mathieu Duponchelle [Thu, 1 Mar 2018 18:01:58 +0000 (19:01 +0100)]
meson: enable more warnings