[FFmpeg-devel] [PATCH 6/10] GXF Encoder Fixes and HD support (patch broken up)

Baptiste Coudurier baptiste.coudurier
Thu Sep 9 22:34:42 CEST 2010


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 ?

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list