[FFmpeg-user] How to see what mediainfo sees prores.mov
Moritz Barsnick
barsnick at gmx.net
Thu Feb 18 13:37:36 CET 2016
Hi Andy,
On Thu, Feb 18, 2016 at 12:07:44 +0000, Andy Furniss wrote:
> Just idle messing around, wanted to make an interlaced prores just to
> see how players/deinterlacers handled it.
Disclaimer: I know very little about interlace stuff.
> I know the command is "wrong" for colour etc - just a minimal test.
>
> ffmpeg -f image2 -pattern_type glob -framerate 25 -i '02*.sgi' -vf setfield=tff -c:v prores 1080i25.mov
There are two things:
a) The encoder needs to support interlaced encoding.
b) You need to tell it to do so using flags.
a) From what I found using Google and the source code, only the encoder
prores_ks does support it. See
https://ffmpeg.org/pipermail/ffmpeg-devel/2012-August/129271.html
and search for AV_CODEC_FLAG_INTERLACED_DCT in libavcodec/.
The encoder "prores" you use is "prores_aw".
b) The flags to add to the command line are "-flags +ildct", or even
"-flags +ilme+ildct". See also
https://ffmpeg.org/faq.html#Interlaced-video-looks-very-bad-when-encoded-with-ffmpeg_002c-what-is-wrong_003f
> Scan type : Interlaced
> Original scan type : Progressive
> Scan type, store method : Interleaved fields
> Scan order : Top Field First
We don't know what mediainfo is looking at here. I may be wrong and
mediainfo right. ;-)
Moritz
More information about the ffmpeg-user
mailing list