[FFmpeg-user] ffmpeg architecture question

pdr0 pdr0 at shaw.ca
Sun Apr 19 19:11:45 EEST 2020

Carl Eugen Hoyos-2 wrote
> Am So., 19. Apr. 2020 um 16:31 Uhr schrieb pdr0 <

> pdr0@

> >:
>> Carl Eugen Hoyos-2 wrote
>> > Am 19.04.2020 um 08:08 schrieb pdr0
>> >> Other types of typical single rate deinterlacing (such as yadif) will
>> >> force you to choose the top or bottom field
>> >
>> > As already explained: This is not true.
>> How so?  Assuming you're actually applying it (all frames), or deint=1
>> and the frame is marked as interlaced in ffmpeg parlance:
>> If you use mode=0  (single rate), either it auto selects the parity, or
>> you explicitly set it top or bottom
> Yes, but this does not imply (in any way) "choose the top or bottom
> field".

I agree - It's a poor choice of words if you take it out of context, and cut
out all the background information

Already explained

> It's a very specific scenario - He needs to keep that combed frame, as a
> single frame to retain the pattern. Single rate deinterlacing by any
> method
> will cause you to choose either the top field or bottom field, resulting
> in
> a duplicate frame or the prior or next frame - and it's counterproductive
> for what he wanted (blend deinterlacing to keep both fields as a single
> frame) 

In his specific situation, he has a single combed frame. What he chooses for
yadif (or any deinterlacer) results in a different result - both wrong - for
his case. If the selects "top" he gets an "A" duplicate frame. If he selects
"bottom" he gets a "B" duplicate frame . 

Do you need farther explanation?

Sent from: http://www.ffmpeg-archive.org/

More information about the ffmpeg-user mailing list