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
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
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
cfd7503959
avcodecmap: Add mapping for Flash Screen2 codec
2016-12-04 23:39:00 +02:00
Edward Hervey
9258b8ba53
avcodecmap: Add support for packed 32bit RGBx variants
...
We can support those, so just add the mapping
2016-11-24 17:15:14 +01: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
Sebastian Dröge
2c38c99a86
avcodecmap: It's interlace-mode, not interlaced-mode
2016-11-04 16:22:07 +02:00
Sebastian Dröge
7f39f69c7c
avcodecmap: Add variant to the ProRes caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=769048
2016-11-01 20:42:52 +02:00
Sebastian Dröge
d2e65754b3
avcodecmap: Configure field order in the context if we can
...
https://bugzilla.gnome.org/show_bug.cgi?id=771376
2016-11-01 20:42:52 +02:00
Sebastian Dröge
fb9fea0223
avvidenc: Set colorimetry information in the context if known
...
https://bugzilla.gnome.org/show_bug.cgi?id=750882
2016-11-01 20:42:52 +02:00
Tim-Philipp Müller
efe5797041
avcodecmap: Add mapping for Opus audio decoder
...
Make avdec_opus work.
https://bugzilla.gnome.org/show_bug.cgi?id=773672
2016-11-01 19:05:37 +02:00
Sebastian Dröge
8443af343e
av: Cast AVContext::bit_rate to a guint before passing to varargs functions
...
We expect it to be a int or uint, however it changed the type to a
int64_t in later versions of ffmpeg. As such it would be passed as a 64
bit value to varargs functions, while the consumer of the arguments
assumes only 32 bits. This causes crashes.
https://bugzilla.gnome.org/show_bug.cgi?id=771092
2016-09-14 11:20:48 +02:00
Tim-Philipp Müller
e5ceb287d3
libav: fix confusing 'insane framerate' debug log message
...
Usually means no framerate / variable framerate. Also the
fraction arguments were swapped.
2016-08-20 10:54:07 +01:00
Sebastian Dröge
445a301844
avcodecmap: Add mapping for G729 caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=766333
2016-05-13 10:27:38 +03:00
Sebastian Dröge
34fe6af6da
avcodecmap: Only set the bitrate if we actually got it from the caps
...
Otherwise we set a random value from the stack as bitrate. The default (0)
is a better choice and doesn't upset valgrind.
2016-03-11 15:44:16 +02:00
Sebastian Dröge
46fb2e9f11
libav: Bitrate field changed from int to int64_t, fix compiler warnings
...
Cast it to a gint64 for now though, as otherwise we will fail compilation
with ffmpeg 2.8.
https://bugzilla.gnome.org/show_bug.cgi?id=757498
2016-01-16 17:23:37 +02:00
Andreas Cadhalpun
6235a04ef3
libav: Remove usage of deprecated API
...
https://bugzilla.gnome.org/show_bug.cgi?id=757498
2016-01-16 16:47:40 +02:00
Sebastian Dröge
8e466b73d8
avcodecmap: Add special mapping for mono channel layouts
...
In ffmpeg this is the same as FRONT_CENTER, but we distinguish between
FRONT_CENTER and MONO in GStreamer. Add an explicit mapping for this special
case in the translations functions.
https://bugzilla.gnome.org/show_bug.cgi?id=759846
2015-12-24 13:10:55 +01:00
Thiago Santos
1356ff84b3
avcodecmap: add jpeg2000 decoder mapping
...
Map the 3 possible jpeg2000 caps to JPEG2000 codec id
2015-10-11 05:27:57 -03:00
Sebastian Dröge
eedefc9f6b
avcodecmap: Don't allocate dummy codec data anymore, it causes crashes nowadays
...
Multithreaded encoders are going to free this dummy codec data twice, e.g.
with this pipeline
gst-launch-1.0 videotestsrc num-buffers=40 ! \
videoconvert ! avenc_mjpeg ! fakesink
2015-10-03 18:25:35 +01: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
Wim Taymans
8da0a61dc0
codecmap: add vp9 mapping
2015-06-26 17:30:25 +02:00
Nicolas Dufresne
a33a1bf6e4
avcodec: Check against codec format list
...
There exist few formats (deprecated though) used by mjpeg decoder
and encoder that maps to the same GStreamer format. To properly
pick the right format, also lookup each Codec list before accepting
the format. This fixes error when trying to use mjpeg encoder.
Note that this may results in faded colors. In fact, these special
format are meant to specify that this is full range YUV. Colorimetry
in gst-libav is not yet implemented, hence is ignored in general. So
I think it's fine to first fix the issue before addressing the missing
feature.
https://bugzilla.gnome.org/show_bug.cgi?id=750398
2015-06-11 10:23:33 -04:00
Aurélien Zanelli
00ff477f29
avcodecmap: Use video/x-cavs mime type instead of video/x-gst-av-cavs
...
More generic mime-type which can be used by other decoders than libav.
https://bugzilla.gnome.org/show_bug.cgi?id=727731
2015-06-02 08:54:46 +01:00
Sebastian Dröge
4f7d873c4c
libav: Add support for 10 bit planar AYUV formats
2015-03-10 10:18:53 +01:00
Sebastian Dröge
d3a2a9a951
libav: Change from deprecated PIX_FMT_* to AV_PIX_FMT_*
2015-03-10 10:17:45 +01:00
Wim Taymans
57b1970395
avcodecmap: place supported profiles in mpeg4 caps
...
Place the supported profiles in the srcpad caps of the mpeg4 encoder.
2014-06-06 16:54:06 +02:00
Wim Taymans
9d0e1ecedc
avcodecmap: remove deprecated media types
...
Remove x-xvid and x-3ivx. The last place where they were used are
in the srcpad caps of the decoder but since the decoder will never
actually output those caps we can safely remove them.
2014-06-06 16:54:06 +02:00
Wim Taymans
df8674f6c3
codecmap: don't expose more deprecated media types
...
x-xvid is deprecated, we don't want to expose it on the encoder, just
leave it only exposed on the decoder.
2014-06-06 16:54:06 +02:00
Wim Taymans
fd7ba73304
Revert "avcodecmap: do more reverse mapping of MPEG4"
...
This reverts commit e066785ad0
.
x-xvid and x-3ivx are removed, we don't want to expose them again.
2014-06-06 16:54:06 +02:00
Wim Taymans
2ef3c94b82
avcodecmap: handle simple and advanced-simple profile in MPEG4
...
Always enable 4MV flag for MPEG4
Pare the profile property and enable more features for advanced-simple
profile.
video/x-xvid is advanced-simple profile so enable more features.
We now also support encoding of video/x-xvid so add this to the caps.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=651320
2014-05-29 18:24:20 +02:00
Wim Taymans
e066785ad0
avcodecmap: do more reverse mapping of MPEG4
...
We previously mapped some caps to MPEG4 and codec_tag so we can use the
codec_tag again to map to the original caps.
2014-05-29 17:00:23 +02:00
Vincent Penquerc'h
4f1fd2687d
libav: avoid dividing by zero on insane fps/par
...
While there, fix mixup in num/den with par (copied from fps,
apparently, and fps inverts fps to time base).
Coverity 1139696
2014-04-30 18:18:50 +01:00
Edward Hervey
e513fad054
codecmap: Add missing break
...
CID #1139752
2014-04-08 08:00:55 +02:00
Sebastian Dröge
99ca91f3a3
avcodecmap: Add mapping for Apple Intermediate Codec
...
https://bugzilla.gnome.org/show_bug.cgi?id=727673
2014-04-06 09:05:43 +02:00
Sebastian Dröge
9887521a32
av: Enable HEVC / h265 support
2014-01-06 13:39:32 +01:00
Tim-Philipp Müller
8770f22735
avcodecmap: fix regression with wmv3 video in WMVA format
...
The VC-1 decoder should handle that. Before avdec_wmv3 handled
it, but then we added format=WMV3 to its sink pad template
caps, at which point nothing handled WMVA any longer.
https://bugzilla.gnome.org/show_bug.cgi?id=697665
2014-01-03 16:00:41 +00:00
Sebastian Dröge
1409e1692b
av: Update for CodecID -> AVCodecID related changes
2014-01-03 16:28:44 +01:00
Todd Agulnick
4cc981de37
Some compiler warning fixes to satisfy XCode compiler
...
https://bugzilla.gnome.org/show_bug.cgi?id=720513
2013-12-16 16:54:21 +01:00
Tim-Philipp Müller
4072c40b8e
avaudec: don't put bogus 0 channel-mask on output caps for mono audio
2013-11-04 23:20:17 +00:00
Tim-Philipp Müller
49d0c480ae
codecmap: use TRUE for boolean fields in caps
2013-10-26 09:10:03 +01:00
Greg Rutz
13ffed87b1
avenc: Add compliance property
...
Add a new property to GstFFMpegVidEnc and GstFFMpegAudEnc to supply
the "strict compliance" value to AVCodecContext
https://bugzilla.gnome.org/show_bug.cgi?id=691617
2013-10-15 09:27:03 +02:00
Matthieu Bouron
4c93bffb21
avcodecmap: Make avdec_mjpeg requires a parsed input
...
Actually avdec_mjpeg does not deal well with incomplete buffers and try
to decode incomplete frames. A parser which will also acts as
an accumulator needs to be inserted before it.
https://bugzilla.gnome.org/show_bug.cgi?id=709352
2013-10-04 10:34:25 +02:00
Sebastian Dröge
5b76550168
avcodecmap: gst_value_can_intersect() does not do what you would think
...
Check for uniqueness differently now.
2013-10-02 13:59:04 +02:00
Sebastian Dröge
3e154333de
avcodecmap: Only append values to the video/audio format lists if we don't have them already
2013-10-02 12:57:36 +02:00
Sebastian Dröge
9becd72b60
avenc: Choose 25 fps if we don't have any in the caps
...
Some encoders require a non-zero framerate to be configured properly
and just choosing something will make them not fail completely at
least.
https://bugzilla.gnome.org/show_bug.cgi?id=708732
2013-10-01 22:38:32 +02:00
Sebastian Dröge
2daefd69b8
avcodecmap: Fix boolean expression to fix uninitialized usage of variables
2013-09-28 20:39:15 +02:00
Matej Knopp
94875a34d4
avcodecmap: Add support for TechSmith Screen Capture 2
...
https://bugzilla.gnome.org/show_bug.cgi?id=707878
2013-09-11 11:04:42 +02:00