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

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Nov 23 12:33:26 EET 2017


2017-11-23 9:40 GMT+01:00 Tobias Rapp <t.rapp at noa-archive.com>:
> On 22.11.2017 23:52, Carl Eugen Hoyos wrote:
>>
>> 2017-11-22 16:41 GMT+01:00 Tobias Rapp <t.rapp at noa-archive.com>:
>>>
>>> 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.
>>
>>
>> I believe your approach is sane but the only available examples
>> may indicate that it should be set to something like height / 2 ;-(

> I can use height/2 for start_line offset instead of 1

I tried hard not to imply that I would prefer this.

Carl Eugen


More information about the ffmpeg-devel mailing list