gstreamer/gst/videoparsers
Alex Ashley 31d1c05871 h264parse: Add support for stream-format=avc3
When outputting in AVC3 stream format, the codec_data should not
contain any SPS or PPS, because they are embedded inside the stream.

In case of avc->bytestream h264parse will push the SPS and PPS from
codec_data downstream at the start of the stream, at intervals
controlled by "config-interval" and when there is a codec_data change.

In the case of avc3->bytstream h264parse detects that there is
already SPS/PPS in the stream and sets h264parse->push_codec to FALSE.
Therefore avc3->bytstream was already supported, except for the stream
type.

In the case of bystream->avc h264parse will generate codec_data caps
from the parsed SPS/PPS in the stream. However it does not remove these
SPS/PPS from the stream. bytestream->avc3 is the same as bytestream->avc
except that the codec_data must not have any SPS/PPS in it.

|--------------+-------------+-------------------|
|stream-format | SPS in-band | SPS in codec_data |
|--------------+-------------+-------------------|
| avc          | maybe       | always            |
|--------------+-------------+-------------------|
| avc3         | always      | never             |
|--------------+-------------+-------------------|

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:32:36 +02:00
..
dirac_parse.c
dirac_parse.h
gstdiracparse.c
gstdiracparse.h
gsth263parse.c h263parse: add pixel-aspect-ratio if upstream doesn't provide one 2013-07-15 23:04:35 +01:00
gsth263parse.h
gsth264parse.c h264parse: Add support for stream-format=avc3 2013-09-04 13:32:36 +02:00
gsth264parse.h
gstmpeg4videoparse.c mpeg4videoparse: Reparse the config if the size changed 2013-08-16 15:46:18 -04:00
gstmpeg4videoparse.h Revert "mpeg4videoparse: set 0 duration when vop_coded is 0" 2013-02-14 09:40:08 +00:00
gstmpegvideoparse.c mpegvideoparse: Fix switch statement in level detection code 2013-08-20 13:30:15 +02:00
gstmpegvideoparse.h mpegvideoparse: Only add meta if downstream needs it 2013-03-31 19:04:12 +02:00
gstpngparse.c
gstpngparse.h
gstvc1parse.c vc1parse: Fix the SequenceLayer handling for advanced profile. 2013-08-12 16:12:52 +01:00
gstvc1parse.h
h263parse.c all: Fix for GST_DISABLE_GST_DEBUG 2013-07-29 09:42:12 +02:00
h263parse.h h263parse: add pixel-aspect-ratio if upstream doesn't provide one 2013-07-15 23:04:35 +01:00
Makefile.am gst: Add better support for static plugins 2013-04-15 15:59:22 +02:00
plugin.c