[FFmpeg-devel] [PATCH] avformat/avienc: fix fields-per-frame value for interlaced video streams

Tobias Rapp t.rapp at noa-archive.com
Mon Nov 27 10:20:18 EET 2017


On 22.11.2017 16:58, Derek Buitenhuis wrote:
> On 11/22/2017 3:41 PM, Tobias Rapp wrote:
>> Writes one set of field framing information for progressive streams and
>> two sets for interlaced streams. Fixes ticket #6383.
>>
>> Unfortunately the OpenDML v1.02 document is not very specific what value
>> to use for start_line when frame data is not coming from a capturing
>> device, so this is just using 0/1 depending on the field order as a
>> best-effort guess.
> 
> Looking at the OpenDML spec, I think this indeed is the best we can do without
> deeper knowledge of where the source signal came from, or copying it from a
> pre-existing file, within the existing avformat scaffolding.
> 
> Code itself seems OK.

Copied part of the commit message as a comment to the code and pushed. 
Thanks Carl and Derek for the review.

Regards,
Tobias



More information about the ffmpeg-devel mailing list