[FFmpeg-devel] [Bulk] Re: [RFC] GXF Patches - HD

Tim Nicholson nichot20 at yahoo.com
Thu Jul 4 09:29:19 CEST 2013


On 04/07/13 00:48, Michael Niedermayer wrote:
> On Tue, Jul 02, 2013 at 11:21:57PM -0500, Reuben Martin wrote:
>> On Wednesday, July 03, 2013 12:51:53 AM Michael Niedermayer wrote:
>>> On Mon, Jun 17, 2013 at 03:26:18PM -0500, Reuben Martin wrote:
>>>> [...].
>>
>> At least from what I can deduce. I might be totally wrong due to not being 
>> very familiar with the API. If there is a way to query if the video stream is 
>> field based or not, the " _Bool progressive" value in the GXFContext struct 
>> would go away. Getting rid of that variable would be ideal, because that 
>> variable is setting progressive / interlaced in the format context rather than 
>> the individual stream context. This would have the potentual to cause problems 
>> in the case where there is more than one video stream, with on being 
>> progressive and another being interlaced.
> 
> You could try AVCodecContext.field_order
> but iam not sure how well this would work
> 

Note that this uses values based upon the Quicktime definitions, and
istr is not always populated by all demuxers, what about
AVFrame->interlaced_frame?

> [...]
>

-- 
Tim


More information about the ffmpeg-devel mailing list