Commit graph

2152 commits

Author SHA1 Message Date
Mathieu Duponchelle
4116117873 avmux: port to AVCodecParameters
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:26 +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
Mathieu Duponchelle
9cc57a74d8 avaudenc: remove obsolete setting of rc_strategy
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:26 +02:00
Mathieu Duponchelle
1e4529ced2 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
2018-07-13 00:53:26 +02:00
Nicolas Dufresne
d8dfa4657b avviddec: Stop using deperated EDGE API
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:26 +02:00
Nicolas Dufresne
aa724e2f14 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
2018-07-13 00:53:26 +02:00
Nicolas Dufresne
7b3e41e20b Use AV_ namespace for INPUT_BUFFER_PADDING_SIZE
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:26 +02:00
Nicolas Dufresne
2485cc582a Don't include deprecated avfiltergraph.h header
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
Edward Hervey
04b3867cb8 libav: Switch to common include 2018-05-11 14:24:03 +02:00
Edward Hervey
ad66c90ded 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
2018-05-11 14:19:42 +02:00
Edward Hervey
b894bedeb3 avvidec: Expose Closed Caption as GstVideoCaptionMeta 2018-05-07 17:12:07 +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
Nirbheek Chauhan
720fc4ffef 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.
2018-05-05 20:32:15 +05:30
Jan Schmidt
ca522652ed Update gas-preprocessor submodule 2018-05-01 14:57:43 +10:00
Jan Schmidt
03dcb1dc03 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
2018-05-01 14:42:17 +10:00
Jan Schmidt
7f11e32e8b 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
2018-05-01 14:42:10 +10:00
Tim-Philipp Müller
fce1bb56e2 Automatic update of common submodule
From 3fa2c9e to ed78bee
2018-04-16 10:53:36 +01:00
Tim-Philipp Müller
800b26174f Back to development 2018-03-20 09:41:11 +00:00
Tim-Philipp Müller
1830c75cd2 Release 1.14.0 2018-03-19 20:25:40 +00:00
Tim-Philipp Müller
d0bcf5b4a6 Update docs 2018-03-19 20:25:38 +00:00
Tim-Philipp Müller
5328250745 Release 1.13.91 2018-03-13 19:26:53 +00:00
Tim-Philipp Müller
6761a03fed Update docs 2018-03-13 19:26:51 +00:00
Nicolas Dufresne
2e23201c84 configure.ac: enable largefile support if possible
https://bugzilla.gnome.org/show_bug.cgi?id=793103
2018-03-08 11:22:57 -05:00
Matthew Waters
e2bce0f3ec 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
2018-03-06 15:08:32 +11:00
Tim-Philipp Müller
af8cc8ab89 Release 1.13.90 2018-03-03 22:44:21 +00:00
Tim-Philipp Müller
d95750da2f Update docs 2018-03-03 22:44:19 +00:00
Mathieu Duponchelle
447ac08578 meson: enable more warnings 2018-03-01 19:03:21 +01:00
Matthew Waters
a8b01a4559 explicitly disable v4l2_m2m codecs
They fail with android NDK r16
2018-02-20 18:19:22 +11:00
Tim-Philipp Müller
4db38efef5 Back to development 2018-02-15 19:44:26 +00:00
Tim-Philipp Müller
2eabdb63c8 Release 1.13.1 2018-02-15 19:00:19 +00:00
Tim-Philipp Müller
cd5e3f0f13 docs: update plugin docs 2018-02-15 17:14:36 +00: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
Edward Hervey
3b8171ac37 libav: Update to n3.4.2 release 2018-02-12 07:38:13 +01:00
Edward Hervey
79bc255fa2 avvid*: Don't expose V4L2 mem-to-mem decoder and encoders
It's not going to work without special handling. Mask for now.
2018-02-10 15:18:11 +01:00
Edward Hervey
829b269e1e gst-libs: Switch to ffmpeg n3.4.1 2018-02-10 14:56:50 +01:00
Tim-Philipp Müller
6aa4c40ffd meson: make version numbers ints and fix int/string comparison
WARNING: Trying to compare values of different types (str, int).
The result of this is undefined and will become a hard error
in a future Meson release.
2018-02-08 19:18:21 +00:00
Tim-Philipp Müller
1e1ff4ece5 autotools: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-02-05 08:47:18 +01:00
Tim-Philipp Müller
bcf47cf2c5 meson: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-30 20:37:22 +00:00
Ting-Wei Lan
27d8c8c456 configure: Replace -Bsymbolic-functions with -Bsymbolic
The documentation of libav says -Bsymbolic may be needed when building a
shared library which links statically to libav.

Fixes linking error on FreeBSD:

gst-libav/gst-libs/ext/.libs/libavcodec.a(simple_idct10.o):
 relocation R_X86_64_PC32 against `ff_pw_1023' can not be used when making a
 shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value

https://bugzilla.gnome.org/show_bug.cgi?id=791783
2018-01-22 12:02:30 +00:00
U. Artie Eoff
7a951369c7 libav: use LIBAV_CPPFLAGS for -I include paths
Autotools automatically appends user CPPFLAGS after target
CPPFLAGS.  Also, it puts all CPPFLAGS before CFLAGS in final
generated gcc compile command.  The internal ffmpeg include
paths need to come before any other external include paths
to ensure we don't accidentally pickup external ffmpeg
headers first (i.e. from user CPPFLAGS include paths).  Thus,
move the internal LIBAV include paths to LIBAV_CPPFLAGS so
that they come before any user defined CPPFLAGS.

This allows ffmpeg and gst-ffmpeg to coexist on users system.

https://bugzilla.gnome.org/show_bug.cgi?id=789379
2018-01-13 12:18:54 +00:00
Ashish Kumar
a323802c5b avprotocol: fix leak in error code paths
https://bugzilla.gnome.org/show_bug.cgi?id=788481
2018-01-13 11:54:25 +00:00
Matthew Waters
c086dc4dcf Automatic update of common submodule
From e8c7a71 to 3fa2c9e
2017-12-14 14:53:10 +11:00
Matthew Waters
aff41f6389 Automatic update of common submodule
From 3f4aa96 to e8c7a71
2017-11-27 20:16:52 +11:00
Sebastian Dröge
c97d4985c9 libav: Update to ffmpeg n3.3.5 2017-10-31 08:54:52 +02: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
Sebastian Dröge
e6773f6932 libav: Update to ffmpeg n3.3.4 2017-09-18 15:45:32 +03:00