[FFmpeg-user] -pix_fmt yuv420p and deinterlacing

Kieran O Leary kieran.o.leary at gmail.com
Sun Feb 26 02:31:31 EET 2017


Hi Katherine!

On Sat, Feb 25, 2017 at 10:54 PM, Katherine Frances <knfrances at gmail.com>
wrote:

> Marton, thank you very much, this is extremely helpful.
>
>
As Marton mentioned, the `p` refers to Planar, and the absence of `p` (as
far as i can tell) suggests Packed - https://ffmpeg.org/doxygen/
trunk/pixfmt_8h_source.html

Okay, I guess that the output MP4s are actually interlaced, despite the
> video stream metadata that MediaInfo reads. Do you think that 'progressive'
> is default for libx264 and that's why this metadata property is being added
> erroneously?
>
> Lastly, do you know how I can determine whether the file actually is
> interlaced?
>
>
As for interlacement checking, the idet filter works well -
https://amiaopensource.github.io/ffmprovisr/#check_interlacement
and if enabled in the preferences, QCTools does a really great job at
visualising the output of the idet filter. I find it interesting to see the
patterns produced by ingested tapes where some sort of deinterlacement
occured for certain segments. Or looking at a file that has misleading
metadata declaring interlacement (or progressive), but there is no evidence
of that when looking at the actual file.

-K


More information about the ffmpeg-user mailing list