Seungha Yang
db82350245
libav: Fix symbol redefine build error
...
https://bugzilla.gnome.org/show_bug.cgi?id=796827
2018-07-19 12:21:01 +01:00
Tim-Philipp Müller
c881f831c3
Remove obsolete #if 0-ed code
2018-07-18 15:44:23 +01:00
Tim-Philipp Müller
6aa62114c5
Remove swscale plugin code
...
This has been disabled for 5.5 years, time to remove it.
2018-07-17 00:57:34 +01:00
Edward Hervey
a3c72b2148
avcfg: Properly initalize GValue
...
.. to the expected property value type.
2018-07-16 08:44:45 +02:00
Mathieu Duponchelle
ad1f3a914b
avcfg: actually remove call to g_object_getv
...
(Sorry about that)
2018-07-13 18:03:27 +02:00
Mathieu Duponchelle
dd37a553ac
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.
2018-07-13 17:24:07 +02:00
Mathieu Duponchelle
70d9f923dc
avcfg: use g_object_get_property, not g_object_getv
...
I simply confused those two, we didn't need g_object_getv
here anyway.
2018-07-13 17:21:25 +02:00
Mathieu Duponchelle
c34dd9bb1a
avcfg: ignore some generic properties
...
We expose profile, level and colorimetry / colorspaces through
caps.
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:28 +02:00
Mathieu Duponchelle
9c0dd8ef60
avcfg: add skip support to overrides system
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:28 +02:00
Mathieu Duponchelle
e1d0d73fc0
auddec: fix luck-based sinkpad access
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:28 +02:00
Mathieu Duponchelle
8b6516d5c5
Remove obsolete scale and resample sources
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:28 +02:00
Mathieu Duponchelle
8f1543838b
avvidenc: port to send_frame / receive_packet
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
be9b6969cb
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
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
8562f10969
avaudenc: port to send_frame / receive_packet
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
3e8709d21a
avmux: fix remaining warnings
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
066acfa922
avauddec: fix remaining warnings
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
6243197c82
avauddec: port to new decoding API
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
8f3bc07e09
avaudenc: further cleanup
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
59b9e66542
avaudenc: install options generically
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
965cd81603
avviddec: fix signed/unsigned comparisons
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
d191fb2e50
avvidec: port to new decoding API
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
c214205430
gstav: stop calling deprecated registration methods
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
1035d6c820
auddec: stop using deprecated getters
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
2ec542f7c2
av_oformat_next (deprecated) -> av_muxer_iterate
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
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
d059922f56
avauddec: remove obsolete version check
...
https://bugzilla.gnome.org/show_bug.cgi?id=792900
2018-07-13 00:53:27 +02:00
Mathieu Duponchelle
e4bf6147a0
av_codec_next (deprecated) -> av_codec_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
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
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
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
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
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
Mathieu Duponchelle
2bb0dc16d6
gstavcodecmap: Do not require a channel-mask
...
.. for mono or stereo input.
https://bugzilla.gnome.org/show_bug.cgi?id=786401
2017-08-17 14:49:12 +02:00