Edward Hervey [Thu, 30 Jan 2014 09:45:05 +0000 (10:45 +0100)]
Automatic update of common submodule
From d48bed3 to 1a07da9
Sjoerd Simons [Fri, 24 Jan 2014 20:58:35 +0000 (21:58 +0100)]
avdemux: Don't go into pull mode when the sequential flag is set
When the scheduling query results has GST_SCHEDULING_FLAG_SEQUENTIAL set
in its flags don't go into pull mode to prevent over-eager seeking.
https://bugzilla.gnome.org/show_bug.cgi?id=722935
Tim 'mithro' Ansell [Tue, 21 Jan 2014 11:58:42 +0000 (22:58 +1100)]
avmux: Force DV audio input format to 48kHz, 2 channels
libavformat only supports muxing 16bit, 48kHz stereo into DV containers.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=722672
Sebastian Dröge [Sun, 19 Jan 2014 09:33:01 +0000 (10:33 +0100)]
libav: Update to version 10_alpha2
Aleix Conchillo Flaqué [Fri, 17 Jan 2014 20:38:23 +0000 (12:38 -0800)]
avviddec: Add output-corrupt property
The output-corrupt property will set the CODEC_FLAG_OUTPUT_CORRUPT flag
in the codec context. The user can now decide whether libav outputs
corrupt frames or not.
Previous libav versions had this flag always set.
https://bugzilla.gnome.org/show_bug.cgi?id=722453
Sebastian Dröge [Thu, 16 Jan 2014 12:45:58 +0000 (13:45 +0100)]
avauddec: Mark frames as corrupted if libav tells us they are
This is currently only implemented by the h264 codec and no audio codec.
https://bugzilla.gnome.org/show_bug.cgi?id=722290
Sebastian Dröge [Thu, 16 Jan 2014 12:44:56 +0000 (13:44 +0100)]
avviddec: Mark frames as corrupted if libav tells us they are
This is currently only implemented by the h264 codec.
https://bugzilla.gnome.org/show_bug.cgi?id=722290
Vincent Penquerc'h [Wed, 15 Jan 2014 09:02:33 +0000 (09:02 +0000)]
gst-libav: fix context leaks
A AVCodecContext needs cleaning up before being freed.
Go through all of the allocations/setups to ensure none of them
can leak a context or its contents.
Wim Taymans [Mon, 13 Jan 2014 15:31:05 +0000 (16:31 +0100)]
avviddec: set output chroma-site
Use libav provided chroma-site and place it on the output caps.
Wim Taymans [Fri, 10 Jan 2014 16:18:53 +0000 (17:18 +0100)]
avviddec: release buffers when not direct rendering
New libav will not call the release_buffer callback anymore when
avcodec_default_get_buffer() is called from get_buffer. Releasing of the
memory in a picture should now be done by registering a callback to the
avbuffer objects in the picture. There is some compatibility code to
wrap the memory we provide in get_buffer in avbuffer with a callback to
release_buffer but that is not done when avcodec_default_get_buffer()
is called.
Work around this by adding a dummy avbuffer object to the picture that
will release the frame.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=721077
Sebastian Dröge [Fri, 10 Jan 2014 12:16:20 +0000 (13:16 +0100)]
avauddec: Give MP3 decoder a MARGINAL rank too
There's no reason why this decoder should not be autoplugged
Sebastian Dröge [Mon, 6 Jan 2014 12:36:39 +0000 (13:36 +0100)]
av: Enable HEVC / h265 support
Sebastian Dröge [Mon, 6 Jan 2014 12:02:07 +0000 (13:02 +0100)]
libav: Update to v10_alpha1 tag
Tim-Philipp Müller [Fri, 3 Jan 2014 15:58:26 +0000 (15:58 +0000)]
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
Sebastian Dröge [Fri, 3 Jan 2014 15:28:44 +0000 (16:28 +0100)]
av: Update for CodecID -> AVCodecID related changes
Sebastian Dröge [Fri, 3 Jan 2014 15:28:02 +0000 (16:28 +0100)]
avcfg: Update config parameters a bit to fix compilation
This needs a major rework and should use the new configuration
interface where useful.
Sebastian Dröge [Fri, 3 Jan 2014 15:27:34 +0000 (16:27 +0100)]
avenc: Stop using the removed inter_threshold field
Sebastian Dröge [Fri, 3 Jan 2014 15:27:11 +0000 (16:27 +0100)]
avviddec rebase
Sebastian Dröge [Fri, 3 Jan 2014 15:26:10 +0000 (16:26 +0100)]
avauddec: Stop using AVCODEC_MAX_AUDIO_FRAME_SIZE
And properly use the have_data variable. It's a boolean.
Sebastian Dröge [Fri, 3 Jan 2014 15:25:39 +0000 (16:25 +0100)]
avdemux: Stop using r_frame_rate field
It was removed and quite meaningless anyway.
Use the average framerate instead.
Sebastian Dröge [Fri, 3 Jan 2014 15:24:28 +0000 (16:24 +0100)]
avvidenc: Port to av_encode_video2()
av_encode_video() is deprecated and an ugly API anyway.
Sebastian Dröge [Fri, 3 Jan 2014 15:23:26 +0000 (16:23 +0100)]
libav: Update to libav master (libav 10 API)
Sebastian Dröge [Fri, 27 Dec 2013 11:06:28 +0000 (12:06 +0100)]
configure.ac: Remove warning when building against a system version of libav
Nowadays libav has proper releases and API/ABI guarantees.
We're not living in last decade.
Tim-Philipp Müller [Sun, 22 Dec 2013 22:35:12 +0000 (22:35 +0000)]
Automatic update of common submodule
From dbedaa0 to d48bed3
Todd Agulnick [Mon, 16 Dec 2013 05:17:26 +0000 (21:17 -0800)]
Some compiler warning fixes to satisfy XCode compiler
https://bugzilla.gnome.org/show_bug.cgi?id=720513
Mark Nauwelaerts [Sat, 7 Dec 2013 10:35:09 +0000 (11:35 +0100)]
avviddec: improve buffer handling and semantics
... so as to focus on providing *a* buffer rather than one (too) tied
to a frame, in particular allowing multiple allocations related to a frame.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697806
Mark Nauwelaerts [Sat, 7 Dec 2013 11:10:13 +0000 (12:10 +0100)]
avvidenc: plug input_state leak
Sebastian Dröge [Thu, 5 Dec 2013 10:51:27 +0000 (11:51 +0100)]
avviddec: Use new gst_video_decoder_set_needs_format() API
Christian Fredrik Kalager Schaller [Tue, 3 Dec 2013 12:16:49 +0000 (13:16 +0100)]
Update spec file with latest changes
Mark Nauwelaerts [Mon, 2 Dec 2013 19:21:34 +0000 (20:21 +0100)]
avviddec: only use upstream framerate if really specified
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=704161
Mark Nauwelaerts [Tue, 26 Nov 2013 19:57:37 +0000 (20:57 +0100)]
avviddec: discard unused input frames
... to avoid these piling up in list of pending frames.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693772
Mark Nauwelaerts [Tue, 26 Nov 2013 19:55:43 +0000 (20:55 +0100)]
avviddec: really release frame at proper time
... by also removing it from the pending list of frames,
where it may still be in if it has never been submitted to _finish.
This could happen if is a decode-only frame, or in skipped decoding
situation, ...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693772
Tim-Philipp Müller [Tue, 5 Nov 2013 11:21:43 +0000 (11:21 +0000)]
Automatic update of common submodule
From 865aa20 to dbedaa0
Tim-Philipp Müller [Mon, 4 Nov 2013 23:20:17 +0000 (23:20 +0000)]
avaudec: don't put bogus 0 channel-mask on output caps for mono audio
Tim-Philipp Müller [Sat, 26 Oct 2013 08:34:30 +0000 (09:34 +0100)]
avaudenc: post better error message if experimental codecs don't work
https://bugzilla.gnome.org/show_bug.cgi?id=691617
Tim-Philipp Müller [Sat, 26 Oct 2013 08:09:28 +0000 (09:09 +0100)]
codecmap: use TRUE for boolean fields in caps
Sebastian Dröge [Tue, 15 Oct 2013 07:28:08 +0000 (09:28 +0200)]
libav: Update to v9.10
Greg Rutz [Mon, 14 Oct 2013 20:50:57 +0000 (14:50 -0600)]
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
Matthieu Bouron [Thu, 3 Oct 2013 14:25:30 +0000 (15:25 +0100)]
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
Sebastian Dröge [Wed, 2 Oct 2013 11:59:04 +0000 (13:59 +0200)]
avcodecmap: gst_value_can_intersect() does not do what you would think
Check for uniqueness differently now.
Sebastian Dröge [Wed, 2 Oct 2013 10:57:36 +0000 (12:57 +0200)]
avcodecmap: Only append values to the video/audio format lists if we don't have them already
Sebastian Dröge [Wed, 2 Oct 2013 10:52:35 +0000 (12:52 +0200)]
avviddec: Reset some more fields in ::stop()
Sebastian Dröge [Wed, 2 Oct 2013 10:51:40 +0000 (12:51 +0200)]
avviddec: Don't believe we're negotiated if negotiation failed
It can happen that negotiation fails during get_buffer(), but then
we don't retry later and never return NOT_NEGOTIATED upstream...
and instead run into assertions.
Sebastian Dröge [Wed, 2 Oct 2013 10:45:44 +0000 (12:45 +0200)]
avauddec: Don't believe we're negotiated if negotiation failed
It can happen that negotiation fails during get_buffer(), but then
we don't retry later and never return NOT_NEGOTIATED upstream...
and instead run into assertions.
https://bugzilla.gnome.org/show_bug.cgi?id=708769
Sebastian Dröge [Tue, 1 Oct 2013 20:38:32 +0000 (22:38 +0200)]
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
Sebastian Dröge [Mon, 23 Sep 2013 13:19:51 +0000 (15:19 +0200)]
avcodecmap: Fix boolean expression to fix uninitialized usage of variables
Sebastian Dröge [Mon, 23 Sep 2013 13:08:18 +0000 (15:08 +0200)]
configure: Chose right target-os for iOS
Tim-Philipp Müller [Tue, 24 Sep 2013 17:34:20 +0000 (18:34 +0100)]
Automatic update of common submodule
From 6b03ba7 to 865aa20
Sebastian Dröge [Tue, 24 Sep 2013 13:06:03 +0000 (15:06 +0200)]
configure: Actually use 1.3.0.1 as version to make configure happy
Sebastian Dröge [Tue, 24 Sep 2013 13:00:34 +0000 (15:00 +0200)]
Back to development
Sebastian Dröge [Tue, 24 Sep 2013 12:42:30 +0000 (14:42 +0200)]
Release 1.2.0
Edward Hervey [Fri, 20 Sep 2013 14:18:03 +0000 (16:18 +0200)]
Automatic update of common submodule
From b613661 to 6b03ba7
Tim-Philipp Müller [Thu, 19 Sep 2013 17:45:20 +0000 (18:45 +0100)]
Automatic update of common submodule
From 74a6857 to b613661
Tim-Philipp Müller [Thu, 19 Sep 2013 16:38:10 +0000 (17:38 +0100)]
Automatic update of common submodule
From 12af105 to 74a6857
Sebastian Dröge [Thu, 19 Sep 2013 09:35:08 +0000 (11:35 +0200)]
Back to development
Sebastian Dröge [Thu, 19 Sep 2013 08:53:46 +0000 (10:53 +0200)]
Release 1.1.90
Sebastian Dröge [Thu, 12 Sep 2013 11:56:31 +0000 (13:56 +0200)]
avviddec: Initialize strides with the ones of avcodec_default_get_buffer() if we ever call it
https://bugzilla.gnome.org/show_bug.cgi?id=704769
Sebastian Dröge [Thu, 12 Sep 2013 10:41:51 +0000 (12:41 +0200)]
libav: Update to v9.9
Sebastian Dröge [Thu, 12 Sep 2013 10:12:23 +0000 (12:12 +0200)]
avviddec: Use the correct context for negotiation
During get_buffer() it can happen that the main context is not
updated yet and only the context passed here has the correct
width, height, etc.
Sebastian Dröge [Thu, 12 Sep 2013 10:11:29 +0000 (12:11 +0200)]
avviddec: Remember initially used stride and don't allow stride changes
libav does not allow stride changes currently, fall back to
non-direct rendering here:
https://bugzilla.gnome.org/show_bug.cgi?id=704769
https://bugzilla.libav.org/show_bug.cgi?id=556
Matej Knopp [Tue, 10 Sep 2013 19:47:55 +0000 (21:47 +0200)]
avcodecmap: Add support for TechSmith Screen Capture 2
https://bugzilla.gnome.org/show_bug.cgi?id=707878
Alex Ashley [Fri, 30 Aug 2013 10:48:51 +0000 (11:48 +0100)]
avcodecmap: exclude avc3 stream format from AV_CODEC_ID_H264
As part of the changes to support the "avc3" variant of the ISO-BMFF
(see bug #702004) a new stream-format has been created
(video/x-h264, stream-format="avc3", alignment="au") that requires
changes to gstavcodecmap to exclude this format because avdec_h264
expects the SPS and PPS to be in the codec_data.
Amendment 2 of ISO/IEC 14496-15 (AVC file format) is defining a new
structure for fragmented MP4 called "avc3". The principal difference
between AVC1 and AVC3 is the location of the codec initialisation data
(e.g. SPS, PPS). In AVC1 this data is placed in the initial MOOV box
(moov.trak.mdia.minf.stbl.stsd.avc1) but in AVC3 this data goes in the
first sample of every fragment.
https://bugzilla.gnome.org/show_bug.cgi?id=702004
Josep Torra [Fri, 30 Aug 2013 11:58:14 +0000 (13:58 +0200)]
codecmap: add mapping for MSS1 and MSS2
Windows Media Video Screen (WMV Screen) are video formats that
specilise in screencast content.
Sebastian Dröge [Thu, 29 Aug 2013 14:53:28 +0000 (16:53 +0200)]
libav: avcodec_close() also resets fields like the AVCodec
We need to reload the defaults for the codec after closing it,
otherwise we can't access codec information like the supported
sample rates and can crash.
https://bugzilla.gnome.org/show_bug.cgi?id=707040
Sebastian Dröge [Wed, 28 Aug 2013 11:27:12 +0000 (13:27 +0200)]
Back to development
Sebastian Dröge [Wed, 28 Aug 2013 11:11:19 +0000 (13:11 +0200)]
Release 1.1.4
Sebastian Dröge [Wed, 28 Aug 2013 10:09:33 +0000 (12:09 +0200)]
configure.ac: Fix typo
Sebastian Dröge [Fri, 23 Aug 2013 07:58:30 +0000 (09:58 +0200)]
configure: Disable build of dxva2 and vdpau support explicitely
It is enabled although we pass --disable-hwaccels apparently and
makes the build fail on Windows because libav looks for the d3d headers
in the wrong places. We can't make use of these features via libav.
https://bugzilla.gnome.org/show_bug.cgi?id=706601
Sebastian Dröge [Thu, 22 Aug 2013 12:56:11 +0000 (14:56 +0200)]
configure: Fix bz2 configure check for Windows
Due to function decorations on Windows AC_CHECK_LIB can't be used to check for bz2.
https://bugzilla.gnome.org/show_bug.cgi?id=465924
Sebastian Dröge [Thu, 22 Aug 2013 12:23:12 +0000 (14:23 +0200)]
avdemux: Add support for video/x-pva
https://bugzilla.gnome.org/show_bug.cgi?id=158719
Tim-Philipp Müller [Wed, 21 Aug 2013 12:40:03 +0000 (13:40 +0100)]
avvidenc: propagate flow return values upstream in finish()
Sebastian Dröge [Tue, 20 Aug 2013 13:58:35 +0000 (15:58 +0200)]
tests: Enable avdemux_ape test again, it works now
https://bugzilla.gnome.org/show_bug.cgi?id=684684
Sebastian Dröge [Thu, 15 Aug 2013 13:51:52 +0000 (15:51 +0200)]
libav: Use new flush vfunc of video codec base classes and remove reset implementations
Hans de Goede [Tue, 13 Aug 2013 10:49:26 +0000 (12:49 +0200)]
avmux: Don't fail on commas in the libav muxer type names
https://bugzilla.gnome.org/show_bug.cgi?id=697512
Lubosz Sarnecki [Fri, 2 Aug 2013 12:18:25 +0000 (14:18 +0200)]
build: add subdir-objects to AM_INIT_AUTOMAKE
Fixes warnings with automake 1.14
https://bugzilla.gnome.org/show_bug.cgi?id=705350
Sebastian Dröge [Mon, 29 Jul 2013 12:48:40 +0000 (14:48 +0200)]
Back to development
Sebastian Dröge [Mon, 29 Jul 2013 11:59:50 +0000 (13:59 +0200)]
Release 1.1.3
Sebastian Dröge [Mon, 29 Jul 2013 10:19:22 +0000 (12:19 +0200)]
avdemux: Implement SEGMENT query
Edward Hervey [Wed, 24 Jul 2013 10:22:04 +0000 (12:22 +0200)]
avcodecmap: Demote WARNING to DEBUG
We cover all the needed formats already. The warning was just getting
in the way.
Olivier Crête [Thu, 21 Feb 2013 01:50:15 +0000 (20:50 -0500)]
avviddec: Initialise opaque from the start
https://bugzilla.gnome.org/show_bug.cgi?id=693581
Sebastian Dröge [Tue, 23 Jul 2013 07:59:43 +0000 (09:59 +0200)]
avdemux: Add support for group-id in the stream-start event
Sebastian Dröge [Fri, 19 Jul 2013 07:45:24 +0000 (09:45 +0200)]
configure: Remove workaround from last decade and make SIMD optimizations work on OSX
https://bugzilla.gnome.org/show_bug.cgi?id=704442
Arnaud Vrac [Thu, 18 Jul 2013 14:11:16 +0000 (16:11 +0200)]
avviddec: increase bottom padding for output frames
libav can write slightly after the plane end in some SIMD optimized
functions. The extra padding value needs to be at least 16+stride_align
for each plane, so just increase the bottom padding value for the output
frame.
https://bugzilla.gnome.org/show_bug.cgi?id=694299
Sebastian Dröge [Thu, 11 Jul 2013 14:57:28 +0000 (16:57 +0200)]
Back to development
Sebastian Dröge [Thu, 11 Jul 2013 14:52:48 +0000 (16:52 +0200)]
Release 1.1.2
Tim-Philipp Müller [Tue, 9 Jul 2013 15:19:11 +0000 (16:19 +0100)]
libav: update libav from v9.6 to v9.8
version 9.8:
- kmvc: Clip pixel position to valid range
- kmvc: Use fixed sized arrays in the context
- indeo: Reject negative array indexes
- indeo: Check for reference when inheriting motion vectors
- indeo: Properly forward the error codes
- mjpeg: Check the unescaped size for overflows
- wmapro: Error out on impossible scale factor offsets
- wmapro: Check the min_samples_per_subframe
- wmapro: Return early on unsupported condition
- wmapro: Check num_vec_coeffs against the actual available buffer
- wmapro: Make sure there is room to store the current packet
- lavc: Move put_bits_left in put_bits.h
- 4xm: Do not overread the source buffer in decode_p_block
- 4xm: Check bitstream_size boundary before using it
version 9.7:
Most of the following fixes resulted from test samples that the Google
Security Team has kindly made available to us:
- 4xm: fix several programming errors to avoid crashes, etc.
- apetag: use int64_t for filesize
- jpegls: Fix invalid writes to memory
- ljpeg: use the correct number of components in YUV
- mjpeg: Validate sampling factors
- mjpegdec: properly report unsupported disabled features
- mjpegdec: validate parameters in mjpeg_decode_scan_progressive_ac
- mpegvideo: allocate sufficiently large scratch buffer for interlaced vid
- pixdesc: mark gray8 as pseudopal
- smacker: fix several programming errors to avoid crashes, etc.
- tiff: do not overread the source buffer
- vmd: drop incomplete chunks and spurious samples
- vmdav: convert to bytestream2 to avoid invalid reads and writes
- wavpack: check packet size early
- wavpack: use bytestream2 in wavpack_decode_block
- wavpack: validate samples size parsed in wavpack_decode_block
Wim Taymans [Tue, 25 Jun 2013 12:03:07 +0000 (14:03 +0200)]
codecmap: realvideo does not have systemstream property
realvideo does not have the systemstream property and nobody ever sets it so
better remove it here to make it link to something else.
Tim-Philipp Müller [Tue, 18 Jun 2013 12:36:01 +0000 (13:36 +0100)]
autogen.sh: generate from common module, fixing srcdir != builddir build
https://bugzilla.gnome.org/show_bug.cgi?id=702319
Thiago Santos [Tue, 11 Jun 2013 11:24:17 +0000 (08:24 -0300)]
avviddec: reset coded_width/_height before trying to open codec
If coded_width/_height is supplied, the codec might use it as the
width/height and if it is wrong can lead to segfaults or video
corruption.
This is specially harmful on renegotiation scenarios where the
resolution changed. There seems to be no specific function for reseting
the AV Context in libav, so just set it directly.
https://bugzilla.gnome.org/show_bug.cgi?id=702003
Sebastian Dröge [Wed, 5 Jun 2013 16:36:40 +0000 (18:36 +0200)]
Back to development
Sebastian Dröge [Wed, 5 Jun 2013 15:58:51 +0000 (17:58 +0200)]
Release 1.1.1
Sebastian Dröge [Wed, 5 Jun 2013 13:16:55 +0000 (15:16 +0200)]
Automatic update of common submodule
From 098c0d7 to 01a7a46
Sebastian Dröge [Mon, 20 May 2013 09:07:57 +0000 (11:07 +0200)]
libav: Update to v9.6
Sebastian Dröge [Wed, 15 May 2013 08:53:59 +0000 (10:53 +0200)]
Automatic update of common submodule
From 5edcd85 to 098c0d7
Tim-Philipp Müller [Mon, 6 May 2013 22:56:22 +0000 (23:56 +0100)]
CODEC_ID_* -> AV_CODEC_ID_*
Tim-Philipp Müller [Mon, 6 May 2013 22:53:01 +0000 (23:53 +0100)]
codecmap: add mapping for WMA Lossless
Only 16 bits is supported for now though.
Sebastian Dröge [Tue, 23 Apr 2013 12:19:48 +0000 (14:19 +0200)]
libav: Update to v9.5
Sebastian Dröge [Tue, 23 Apr 2013 12:10:54 +0000 (14:10 +0200)]
avviddec: Enable FRAME based threaded decoding if upstream is not live
If upstream is live we don't want FRAME based threaded decoding as
it adds latency.
Tim-Philipp Müller [Mon, 22 Apr 2013 22:54:48 +0000 (23:54 +0100)]
Automatic update of common submodule
From 3cb3d3c to 5edcd85
Sebastian Dröge [Tue, 16 Apr 2013 12:49:59 +0000 (14:49 +0200)]
libav: Fix typo in the SWSCALE libraries for static plugins