[FFmpeg-cvslog] Added GXF format code to identify AVC Intra video streams. This was an extension to the origional GXF spec implemented by Grass Valley.
Reuben Martin
git at videolan.org
Thu Jun 27 17:45:53 CEST 2013
ffmpeg | branch: master | Reuben Martin <reuben.m at gmail.com> | Wed Jun 12 22:21:35 2013 -0500| [c4db4b17569fa4230f41fb758c147e50b3f1fa3f] | committer: Michael Niedermayer
Added GXF format code to identify AVC Intra video streams. This was an extension to the origional GXF spec implemented by Grass Valley.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c4db4b17569fa4230f41fb758c147e50b3f1fa3f
---
libavformat/gxf.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index f801d24..6cc8afd 100644
--- a/libavformat/gxf.c
+++ b/libavformat/gxf.c
@@ -163,6 +163,11 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
st->codec->channel_layout = AV_CH_LAYOUT_STEREO;
st->codec->sample_rate = 48000;
break;
+ case 26: /* AVCi50 / AVCi100 (AVC Intra) */
+ st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
+ st->codec->codec_id = CODEC_ID_H264;
+ st->need_parsing = AVSTREAM_PARSE_HEADERS;
+ break;
// timecode tracks:
case 7:
case 8:
More information about the ffmpeg-cvslog
mailing list