[FFmpeg-devel] [PATCH] H.264/AVCHD interlaced fixes
Ivan Schreter
schreter
Mon Feb 9 21:39:27 CET 2009
Michael Niedermayer wrote:
> On Mon, Feb 09, 2009 at 01:01:53AM +0100, Ivan Schreter wrote:
>
>> [...]
>> In that case, however, each second field frame must get the same
>> timestamp as first field frame it is paired with. I.e., lavf's utils.c
>> must somehow know it is handling the second field of the same frame and
>> assign same DTS/PTS as first field (or offset by 1/2 frame duration in
>> case of interlaced video).
>>
>> [...]
>>
>
> we should support 2 fields in one buffer either way
> what i want is correct and full support of h264 in h222 timestamp
> interpolation
>
>
>
In that case, is the above the solution (at least for common case)? If
yes, I'll send you a patch. I suppose it should be enough - DTS/PTS
computation for full frames does work and even in field-picture stream,
current formulas for first field of a frame still hold - problematic is
just second frame. Right?
Regards,
Ivan
More information about the ffmpeg-devel
mailing list