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

Reuben Martin reuben.m
Fri Sep 10 00:46:12 CEST 2010


Yo, back on Thursday, September 09, 2010 Baptiste Coudurier was all like:
> On 09/08/2010 06:41 PM, Reuben Martin wrote:
> > Yo, back on Wednesday, September 08, 2010 Reuben Martin was all like:
> >> 09-gxf__disabled_AVCI.patch
> >>
> >> FEATURE - OPTIONAL: This is a disabled chunck of code that would enable AVCI support. Two reasons it's not enabled: 1) I have no idea if the UMF media header for it uses the same mpeg header as MPEG1 and MPEG2 or if it has it's own unique media header. 2) Probably not a good idea to attempt encoding until ffmpeg can at least decode the AVCI samples correctly.
> >>
> >> 09-gxf__disabled_AVCI.patch
> >>
> >>
> >> --- ffmpeg-old/libavformat/gxfenc.c	2010-09-08 17:27:04.569000110 -0500
> >> +++ ffmpeg-new/libavformat/gxfenc.c	2010-09-08 17:28:29.148000128 -0500
> >> @@ -889,6 +889,14 @@
> >>                       media_info = 'D';
> >>                   }
> >>                   break;
> >> +#if 0
> >> +            case CODEC_ID_H264:
> >> +                    sc->media_type = 26;
> >> +                    gxf->flags |=  0x02000000;
> >> +                    media_info = 'I';
> >> +                    sc->track_type = 11;
> >> +                break;
> >> +#endif
> >>               default:
> >>                   av_log(s, AV_LOG_ERROR, "video codec not supported\n");
> >>                   return -1;
> >>
> >>
> 
> I'm not a big fan of disabled code in svn.
> 
> 


Your call. Disregard if you don't want it. I was thinking I might be able to enable it later if I could reference to how the UMF media header packets for AVCI worked, but that was before I read up on AVCI and discovered it used 10bit chroma / luma samples. Any hope of enabling that depends on support being added for 10-bit color samples and (and 4:2:2 sampling for AVC-I 100) in x264. Doesn't really seem to be anywhere on the radar with their development.




More information about the ffmpeg-devel mailing list