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
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
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
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
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
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
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
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
Tim-Philipp Müller
068be939cb
CODEC_ID_* -> AV_CODEC_ID_*
2013-05-06 23:56:22 +01:00
Tim-Philipp Müller
4dd36df4f7
codecmap: add mapping for WMA Lossless
...
Only 16 bits is supported for now though.
2013-05-06 23:53:01 +01:00
Sebastian Dröge
2d2c9b1aac
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.
2013-04-23 14:20:42 +02:00
Andoni Morales Alastruey
d3b125913f
libav: fix static linking
2013-04-15 16:00:03 +02:00
Sebastian Dröge
1caa7d6161
gst: Add better support for static plugins
2013-04-15 16:00:02 +02:00
Matej Knopp
710c92d830
av: Add WMV3 format for WMV 3 caps
2013-04-15 12:42:01 +02:00
Siva Chandran P
758d7bf7ea
avvidec: Make sure to store newly set caps after resetting the decoder
...
Otherwise we'll just set the to NULL while resetting the decoder and
don't have them available anymore later.
https://bugzilla.gnome.org/show_bug.cgi?id=697548
2013-04-09 20:44:23 +02:00
David Schleef
f656d9eaf7
Use %03u instead of %u in gst_pad_create_stream_id_printf()
2013-03-25 19:01:31 -07:00
Olivier Crête
597bf61ae7
swscale: Use 1.0-style video/x-raw caps
2013-03-01 15:11:15 -05:00
David Schleef
7f2f2fb31f
Add mapping for SMPTE 302m audio
2013-02-04 18:10:42 -08:00
Tim-Philipp Müller
b7ef1faab7
Revert "avdec_aac: disable for autoplugging until it gets fixed"
...
This reverts commit c5980dc52a
.
It's fixed now.
https://bugzilla.gnome.org/show_bug.cgi?id=690940
2013-01-26 12:52:29 +00:00
Tim-Philipp Müller
879cd02e26
avauddec: fix decoding of mono audio as well
...
https://bugzilla.gnome.org/show_bug.cgi?id=690940
2013-01-26 12:52:29 +00:00
Nicolas Dufresne
76423a4ba7
avauddec: fix garbled audio decoding in some cases
...
Calculate output buffer size based on the number of
samples, channels and bytes per sample. The buffer
size was calculated based on linesize, which may
be larger than what's required.
https://bugzilla.gnome.org/show_bug.cgi?id=690940
2013-01-26 12:23:14 +00:00
Tim-Philipp Müller
ed6561bee6
avenc_aac: downgrade to RANK_NONE until it gets fixed
...
Currently just fails to initialize.
https://bugzilla.gnome.org/show_bug.cgi?id=691617
2013-01-22 12:57:41 +00:00
Tim-Philipp Müller
c5980dc52a
avdec_aac: disable for autoplugging until it gets fixed
...
Currently outputs garbled audio. Use faad in the meantime.
https://bugzilla.gnome.org/show_bug.cgi?id=690940
2013-01-22 12:53:48 +00:00
Tim-Philipp Müller
3ad2d0b0e7
Disable libswscale/avvideoscale plugin until it works at least somewhat
...
It needs some fixing.
2013-01-17 23:57:00 +00:00
Sebastian Dröge
4221ae1022
av: Remove some unused variables and function declarations
2012-12-22 10:52:47 +01:00
Sebastian Dröge
08ca549627
av: Move gst_ffmpegdata functions to gstavprotocol.h too
...
Just for consistency.
2012-12-22 10:49:52 +01:00
Thijs Vermeir
bdd7406bc4
av: Fix redefinition of typedef 'GstFFMpegPipe'
...
Move declaration of pipe function to correct headers file
2012-12-21 23:16:44 +01:00
Sebastian Dröge
adfdfebc8c
av: Use correct printf format strings for gsize
2012-12-21 11:03:27 +01:00
Sebastian Dröge
022ab84288
av: Fix some memory leaks and misuse of libav API
2012-12-17 16:35:36 +01:00
Sebastian Dröge
d69dda0391
avauddec: Use a GstBuffer instead of a GstAdapter for collecting the output buffers
...
This might cause less memcpies as the GstMemories of the buffers
are just appended into a single buffer.
2012-12-17 15:58:37 +01:00
Thiago Santos
c445b614f9
avauddec: accumulate buffers from a single input to push it all at once
...
The base audio decoder wants a 1:1 mapping for input and output
buffers, so this decoder must accumulate data in an adapter and push
it all at once after all input has been processed.
https://bugzilla.gnome.org/show_bug.cgi?id=689565
2012-12-17 15:56:03 +01:00
Sebastian Dröge
faf985e8fb
avcodecmap: Only set "formats" field on raw audio/video caps
2012-12-17 13:42:13 +01:00
Sebastian Dröge
0ec5fea211
avcodecmap: Correctly convert GStreamer channel positions to libav channel mask
2012-12-17 13:41:42 +01:00
Sebastian Dröge
a6ede95de7
avcodecmap: Add more and correct restrictions for DV
...
https://bugzilla.gnome.org/show_bug.cgi?id=600895
2012-12-17 11:11:12 +01:00
Sebastian Dröge
959d9ce553
libav: Fix some compilation errors caused by circular includes
2012-12-12 17:36:33 +00:00
Wim Taymans
60ff639cd4
avcodec: set bits_per_coded_sample for G726
...
Use the bitrate and the samplerate to set the bits_per_coded_sample for G726
because the decoder needs this.
2012-12-12 17:04:00 +01:00
Sebastian Dröge
3837abb264
avauddec: Set frame defaults for the audio decoders too
2012-12-12 15:57:19 +00:00
Sebastian Dröge
7a36bbb873
avcodecmap: Remove some unused functions
2012-12-12 15:54:01 +00:00
Wim Taymans
b333e1204e
avaudenc: init frame with defaults
...
Init the AVFrame with the right method. This sets the extended_data field
correctly that is needed for some formats (G726 for example).
2012-12-12 16:47:19 +01:00
Sebastian Dröge
21ac746f33
avdec: Improve src template caps
2012-12-12 15:42:09 +00:00