Commit graph

1930 commits

Author SHA1 Message Date
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
3c77754524 avviddec: Reset some more fields in ::stop() 2013-10-02 12:52:35 +02:00
Sebastian Dröge
5f5b6f465c 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.
2013-10-02 12:52:11 +02:00
Sebastian Dröge
9febec71c0 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
2013-10-02 12:52:01 +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
Sebastian Dröge
a708b5de70 configure: Chose right target-os for iOS 2013-09-28 20:39:15 +02:00
Tim-Philipp Müller
9b048e2d66 Automatic update of common submodule
From 6b03ba7 to 865aa20
2013-09-24 18:34:20 +01:00
Sebastian Dröge
64687ef058 configure: Actually use 1.3.0.1 as version to make configure happy 2013-09-24 15:06:03 +02:00
Sebastian Dröge
378fe06aab Back to development 2013-09-24 15:00:34 +02:00
Sebastian Dröge
231a25470b Release 1.2.0 2013-09-24 14:42:30 +02:00
Edward Hervey
2d63ac0af6 Automatic update of common submodule
From b613661 to 6b03ba7
2013-09-20 16:18:03 +02:00
Tim-Philipp Müller
f68da815fa Automatic update of common submodule
From 74a6857 to b613661
2013-09-19 18:45:20 +01:00
Tim-Philipp Müller
c144904f24 Automatic update of common submodule
From 12af105 to 74a6857
2013-09-19 17:38:10 +01:00
Sebastian Dröge
7df4e6da09 Back to development 2013-09-19 11:35:08 +02:00
Sebastian Dröge
9d018829ca Release 1.1.90 2013-09-19 10:53:46 +02:00
Sebastian Dröge
677eaa6692 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
2013-09-12 13:57:41 +02:00
Sebastian Dröge
5c1ab55c5c libav: Update to v9.9 2013-09-12 12:41:51 +02:00
Sebastian Dröge
1277540b8c 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.
2013-09-12 12:12:23 +02:00
Sebastian Dröge
faec0142e3 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
2013-09-12 12:11:29 +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
Alex Ashley
61153a5ac2 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
2013-09-04 13:34:00 +02:00
Josep Torra
690ca42e6e codecmap: add mapping for MSS1 and MSS2
Windows Media Video Screen (WMV Screen) are video formats that
specilise in screencast content.
2013-08-30 15:00:30 +02:00
Sebastian Dröge
6571196fb8 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
2013-08-29 16:53:28 +02:00
Sebastian Dröge
fe823171fb Back to development 2013-08-28 13:27:12 +02:00
Sebastian Dröge
230ec3b623 Release 1.1.4 2013-08-28 13:11:19 +02:00
Sebastian Dröge
c062a86b18 configure.ac: Fix typo 2013-08-28 12:09:33 +02:00
Sebastian Dröge
80b0965528 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
2013-08-23 09:58:30 +02:00
Sebastian Dröge
0e1da65f6c 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
2013-08-22 14:56:11 +02:00
Sebastian Dröge
966b53109b avdemux: Add support for video/x-pva
https://bugzilla.gnome.org/show_bug.cgi?id=158719
2013-08-22 14:23:43 +02:00
Tim-Philipp Müller
ffe85cb0ef avvidenc: propagate flow return values upstream in finish() 2013-08-21 13:47:15 +01:00
Sebastian Dröge
15a9e62abd tests: Enable avdemux_ape test again, it works now
https://bugzilla.gnome.org/show_bug.cgi?id=684684
2013-08-20 15:58:35 +02:00
Sebastian Dröge
ae946bab1c libav: Use new flush vfunc of video codec base classes and remove reset implementations 2013-08-15 15:51:52 +02:00
Hans de Goede
3d628e5676 avmux: Don't fail on commas in the libav muxer type names
https://bugzilla.gnome.org/show_bug.cgi?id=697512
2013-08-13 12:49:54 +02:00
Lubosz Sarnecki
d541d8527d build: add subdir-objects to AM_INIT_AUTOMAKE
Fixes warnings with automake 1.14

https://bugzilla.gnome.org/show_bug.cgi?id=705350
2013-08-07 13:03:24 +01:00
Sebastian Dröge
efa5869ea3 Back to development 2013-07-29 14:48:40 +02:00
Sebastian Dröge
401094fe0f Release 1.1.3 2013-07-29 13:59:50 +02:00
Sebastian Dröge
461a46f17a avdemux: Implement SEGMENT query 2013-07-29 12:19:38 +02:00
Edward Hervey
b1dccb17e9 avcodecmap: Demote WARNING to DEBUG
We cover all the needed formats already. The warning was just getting
in the way.
2013-07-24 12:22:04 +02:00
Olivier Crête
2556cb325a avviddec: Initialise opaque from the start
https://bugzilla.gnome.org/show_bug.cgi?id=693581
2013-07-23 14:01:32 +02:00
Sebastian Dröge
9b2577ea2b avdemux: Add support for group-id in the stream-start event 2013-07-23 09:59:43 +02:00
Sebastian Dröge
b131dadd9c configure: Remove workaround from last decade and make SIMD optimizations work on OSX
https://bugzilla.gnome.org/show_bug.cgi?id=704442
2013-07-19 09:47:36 +02:00
Arnaud Vrac
4a2054c6aa 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
2013-07-18 16:24:18 +02:00
Sebastian Dröge
33a4d2cb4f Back to development 2013-07-11 16:57:28 +02:00
Sebastian Dröge
effe80bdc5 Release 1.1.2 2013-07-11 16:52:48 +02:00
Tim-Philipp Müller
85a64d9432 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
2013-07-09 17:54:12 +01:00
Wim Taymans
5736513eb0 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.
2013-06-25 14:03:07 +02:00
Tim-Philipp Müller
a5b4432f00 autogen.sh: generate from common module, fixing srcdir != builddir build
https://bugzilla.gnome.org/show_bug.cgi?id=702319
2013-06-18 13:36:01 +01:00
Thiago Santos
dce9d85695 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
2013-06-11 09:00:49 -03:00
Sebastian Dröge
427deb9b34 Back to development 2013-06-05 18:36:40 +02:00