mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
31d1c05871
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 |
||
---|---|---|
.. | ||
uvch264demux_data | ||
.gitignore | ||
aiffparse.c | ||
asfmux.c | ||
assrender.c | ||
autoconvert.c | ||
autovideoconvert.c | ||
baseaudiovisualizer.c | ||
camerabin.c | ||
curlfilesink.c | ||
curlftpsink.c | ||
curlhttpsink.c | ||
curlsmtpsink.c | ||
dataurisrc.c | ||
faac.c | ||
faad.c | ||
gdpdepay.c | ||
gdppay.c | ||
h263parse.c | ||
h264parse.c | ||
id3mux.c | ||
jifmux.c | ||
jpegparse.c | ||
kate.c | ||
mpeg2enc.c | ||
mpeg4videoparse.c | ||
mpegtsmux.c | ||
mpegvideoparse.c | ||
mpg123audiodec.c | ||
mplex.c | ||
mxfdemux.c | ||
mxfdemux.h | ||
mxfmux.c | ||
neonhttpsrc.c | ||
ofa.c | ||
opus.c | ||
parser.c | ||
parser.h | ||
schroenc.c | ||
shm.c | ||
timidity.c | ||
uvch264demux.c | ||
viewfinderbin.c | ||
voaacenc.c | ||
voamrwbenc.c | ||
zbar.c |