Commit graph

2088 commits

Author SHA1 Message Date
Nicolas Dufresne
321d1c7a75 Don't fail if running "make clean" twice 2017-05-20 13:06:13 +02:00
Jan Schmidt
ac9fc8031e Pass $CC as AS, unless $AS is provided. Add gas-preprocessor
Add gas-preprocessor.pl as a git submodule, and put it in the
path so that it is available if libav wants it.

Switch back to providing $CC as $AS by default, but
respect an external $AS setting so that it can be
overridden in cerbero

https://bugzilla.gnome.org/show_bug.cgi?id=694416
2017-05-20 20:08:09 +10:00
Sebastian Dröge
8e2b41f3b0 libav: Update to ffmpeg n3.3.1 2017-05-17 10:42:29 +03:00
Nicolas Dufresne
a65562fe9c Remove plugin specific static build option
Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.
2017-05-16 14:43:11 -04:00
Sebastian Dröge
15a17f3f8d avviddec: Don't expose NVIDIA CUVID decoder
It's not working without further changes on our side, like all hardware
decoders in ffmpeg.
2017-05-16 18:55:36 +03:00
Nicolas Dufresne
1038ae2327 Generate .la for internal libav libraries
This should help libtool in getting the internal linking right.
Effectively, libtool can sometime get the link order wrong when
presented with a mix of .la and -l arguments. These .la file are
also required by the android build system and were previously
created by cerbero.
2017-05-12 12:34:09 -04:00
Nicolas Dufresne
de60c46e30 Use automake to install dependency libraries
The install line was using -t parameter which is not supported on OSX.
Instead, use automake DATA installation mechanism, this way we rely on
automake to generate portable scripts.
2017-05-11 13:31:50 -04:00
Nicolas Dufresne
0b48f0e3fd Use a portable method to link against internal FFMPEG
In the last iteration, we kept the original method to link the shared
plugin and edited the .a and .la files so satisfy what cerbero needed.
Unfortunately, that required adding .a file into the archive which is
not allowed with iOS ar command for universal builds.

This patch uses standard method to link a static library. One of the
benefit is that it removes some libtool warning about portability.
For the static case, we implement an install hook that installs
FFMPEG internal .a files in the plugin directory (so it does not get
confused with a possible system FFMPEG. This makes the static plugin
usable without depending on cerbero recipe.
2017-05-11 10:08:14 -04:00
Nicolas Dufresne
46691bd0ec static: Update libgstlibav.lai too
Libtool will produce libgstlibav.la and libgstlibav.lai (the installed
version). We need to edit at least the installed version for the final
linking of static application to work.
2017-05-10 12:10:54 -04:00
Nicolas Dufresne
a7d6eb2afa Simplify and fix the static linking
Some libtool will endup removing the shared build when running a static
build. That had unwanted side effect. Rather then fighting libtool to
get to build each static and shared seperatly, let libtool build with
the LIBAV_DEPS added to LIBADD (list of libav*.a) and finally remove the
extra .a from the archive and fix the .la to what cerbero will expect.
2017-05-10 10:03:45 -04:00
Nicolas Dufresne
dcc36f6e0a libav: Allow build both static dynamic plugins
When building plugins with internal FFMPEG, we use different link
flags depending if it is static or shared. As we want to build both
static and dynamic plugins at once, rewrite the rules so we can
pass the right flags.

https://bugzilla.gnome.org/show_bug.cgi?id=779344
2017-05-09 08:49:17 -04:00
Sebastian Dröge
57c7a1fae2 Back to development 2017-05-04 18:59:14 +03:00
Sebastian Dröge
011dc043c8 Release 1.12.0 2017-05-04 15:39:47 +03:00
Sebastian Dröge
4b1c9ef6ac Release 1.11.91 2017-04-27 17:35:41 +03:00
Tim-Philipp Müller
0282b4ea01 Automatic update of common submodule
From 60aeef6 to 48a5d85
2017-04-24 20:30:15 +01:00
Jan Schmidt
02fc07cfa9 Revert "configure: Set the assembler used for libav to $CC"
This reverts commit 1a265f029a.

It also makes it impossible to pass something other than $CC
as the assembler. People should adjust the passed AS variable
if they need something different.
2017-04-21 20:54:20 +10:00
Edward Hervey
b32076dc34 configure: Remove usage of memalign_hack in ffmpeg
It was removed in the last release
2017-04-14 14:55:52 +02:00
Sebastian Dröge
32addd9757 avaudenc/dec: Blacklist more PCM decoders/encoders 2017-04-13 15:23:45 +03:00
Sebastian Dröge
58544546ff libav: Update to ffmpeg n3.3 2017-04-13 15:15:55 +03:00
Tim-Philipp Müller
bebbb90c9b Automatic update of common submodule
From 39ac2f5 to 60aeef6
2017-04-10 23:50:55 +01:00
Sebastian Dröge
aff7ab6fdf Release 1.11.90 2017-04-07 16:34:46 +03:00
Arun Raghavan
a3b7aebf6b avvidenc: Fix compiler errors in the previous commit
The declaration of 'const char *klass' was shadowing a function
argument.
2017-03-22 12:55:40 +05:30
Arun Raghavan
2e25f166fc avvidenc: Classify image encoders with "Image" instead of "Video"
This allows gst_video_convert_sample*() to work with codecs for which we
have libav encoders (such as BMP).

https://bugzilla.gnome.org/show_bug.cgi?id=780317
2017-03-21 09:49:45 +05:30
Sebastian Dröge
fecf973bc9 avcodecmap: Add mappings for I420/I422/Y444_12LE/BE and GBRA
https://bugzilla.gnome.org/show_bug.cgi?id=780100
2017-03-16 17:22:51 +02:00
Emeric Grange
d666041a51 avcodecmap: Add GBR_12LE/BE and GBRA_12LE/BE pixel format mapping for CineForm decoder 2017-03-16 16:10:23 +02:00
Jan Schmidt
bcbe3aff83 avvidenc: Add Stereo3D mapping
Add mapping between GStreamer multiview modes/flags and
libav Stereo3D frame packings when encoding video.

https://bugzilla.gnome.org/show_bug.cgi?id=767938
2017-03-16 15:23:01 +11:00
Jan Schmidt
8e6fbe7f63 avviddec: Map any stereo3D info to multiview modes
Map any libav Stereo3D side data to GStreamer multiview
mode / flags for playback.

https://bugzilla.gnome.org/show_bug.cgi?id=767938
2017-03-16 15:23:01 +11:00
Sebastian Dröge
887e45e6cc avcodecmap: Add mapping for CineForm HD / CFHD codec
https://bugzilla.gnome.org/show_bug.cgi?id=780024
2017-03-14 18:02:23 +02:00
Sebastian Dröge
2e79bd3d40 meson: Update version 2017-02-24 15:59:51 +02:00
Sebastian Dröge
eef810318a Back to development 2017-02-24 15:37:46 +02:00
Sebastian Dröge
d3cb08dded Release 1.11.2 2017-02-24 15:07:59 +02:00
Tim-Philipp Müller
898d14b229 meson: dist meson build files
Ship meson build files in tarballs, so people who use tarballs
in their builds can start playing with meson already.
2017-02-14 20:38:03 +00:00
Sebastian Dröge
1bd42625f8 libav: Update to n3.2.4 2017-02-12 21:48:20 +02:00
Sebastian Dröge
bc11440360 libav: Update to ffmpeg n3.2.3 2017-02-08 16:11:23 +02:00
Sebastian Dröge
7944485aee configure: Require building against at least ffmpeg 3.0
See also https://bugzilla.gnome.org/show_bug.cgi?id=778283
2017-02-08 16:10:52 +02:00
Tim-Philipp Müller
e94fcc2377 meson: bump version 2017-01-13 12:43:37 +00:00
Sebastian Dröge
fca6cd0460 Back to development 2017-01-12 16:32:56 +02:00
Sebastian Dröge
c39e08dfb5 Release 1.11.1 2017-01-12 16:11:31 +02: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
Tim-Philipp Müller
beb11a99ba Really remove generated .spec file 2016-12-16 17:33:44 +00:00
Tim-Philipp Müller
06b8d3e4bb Remove generated .spec file
Likely extremely bitrotten, and we should not ship this anyway.
2016-12-16 17:32:56 +00:00
Thibault Saunier
f5b6d274e2 meson: Support building without Gst debug 2016-12-09 17:51:34 -03:00
Sebastian Dröge
a7b62f8d93 libav: Update to n3.2.2 2016-12-08 16:13:49 +02:00
Sebastian Dröge
cfd7503959 avcodecmap: Add mapping for Flash Screen2 codec 2016-12-04 23:39:00 +02:00
Edward Hervey
bedc1d982d Automatic update of common submodule
From f980fd9 to 39ac2f5
2016-12-03 08:20:40 +01: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
77ad28cd44 avprotocol: Don't use GST_LOG_OBJECT() and friends on an arbitrary struct that is not a GObject
https://bugzilla.gnome.org/show_bug.cgi?id=775516
2016-12-02 14:19:46 +02:00
Sebastian Dröge
4759bed801 libav: Update to ffmpeg n3.2.1 2016-11-26 14:00:39 +02:00
Sebastian Dröge
ed0d75c497 libav: Change ffmpeg submodule from GIT protocol to HTTPS 2016-11-26 13:59:12 +02:00
Tim-Philipp Müller
7974abe95d common: use https protocol for common submodule
https://bugzilla.gnome.org/show_bug.cgi?id=775110
2016-11-26 11:26:49 +00:00