[FFmpeg-devel] [PATCH 6/10] GXF Encoder Fixes and HD support (patch broken up)
Thu Sep 9 23:35:21 CEST 2010
Yo, back on Thursday, September 09, 2010 Baptiste Coudurier was all like:
> On 09/08/2010 06:38 PM, Reuben Martin wrote:
> > Yo, back on Wednesday, September 08, 2010 Reuben Martin was all like:
> >> 06-gxf__demux_AVCI.patch
> >> FEATURE: Support for properly identifying AVCI video streams (H264 Intra encoding) Note: the video will decode, but doesn't decode correctly. Seems to have issues with the color-space conversion, and complains that number of reference frames exceeds max. If you want to test for yourself, sample clips can be found here: http://www.gvgdevelopers.com/concrete/products/k2/test_clips/
> > 06-gxf__demux_AVCI.patch
> > --- ffmpeg-old/libavformat/gxf.c 2010-09-08 16:56:08.301000128 -0500
> > +++ ffmpeg-new/libavformat/gxf.c 2010-09-08 16:56:15.221000089 -0500
> > @@ -135,6 +135,11 @@
> > st->codec->channels = 2;
> > st->codec->sample_rate = 48000;
> > break;
> > + case 26: /* AVCi 50 / 100 (H264 Intra) */
> > + st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
> > + st->codec->codec_id = CODEC_ID_H264;
> > + st->need_parsing = AVSTREAM_PARSE_HEADERS; //get keyframe flag etc.
> > + break;
> > // timecode tracks:
> > case 7:
> > case 8:
> Ok, do you have any sample to share ?
Yes, there are four AVCI GXF files to be found here: http://www.gvgdevelopers.com/concrete/products/k2/test_clips/
ffmpeg is able to play them back, but the playback is not correct given the apparent lack up support for 10bit luma / chroma samples.
Even without proper playback support, this can still find use for being able to dump the raw AVCI video stream to a file / pipe.
More information about the ffmpeg-devel