Closed RalphMichel closed 1 month ago
Please provide (in private if needed) few seconds of the h264 version, so I can say why it is flagged this way.
I have now tried the same commands with ffmpeg 5.0 and get the same result as above. if you could try this for me with the last build, much appreciated. i send the file via mail as it is too big.
Ok, but now I am even more confused. If I use the following command as before:
ffmpeg -i 01_Kreis_.mov -c:v libx264 -preset veryslow -crf 18 -pix_fmt yuv420p -c:a aac out_EC_x264.mp4
It's in MediaInfo under Scan type Scan type: Progressive
.However, when I play the video on the VLC player, the video plays interlaced.
If I use the following command:
ffmpeg -i 01_Kreis_original_DV.mov -c:v libx264 -preset veryslow -crf 20 -flags +ildct+ilme -top 1 -c:a aac out_EC_x264_flags.mp4
It say the following under MediaInfo: Scan type: MBAFF; Scan type, store method: Interleaved fields; Scan order: Top Field First.
If I play the video via VLC Player, it plays progressiv.
From that I still can't be sure what is in Mediainfo and what finally the video player shows.
However, when I play the video on the VLC player, the video plays interlaced.
This plays as progressive.
With which player does the video play progressive? With VLC, MPV and ffplay the video always plays interlaced for me.
If I play the video via VLC Player, it plays progressive.
This plays as interlaced. I suppose your display is not interlaced, so it deinterlaces it by default. ffplay will not do it, for example.
True. If I play this video with ffplay and mpv player, the video plays interlaced. Also saw that under VLC there is an option to turn off automatic deinterlacing. Thank you.
Ok, but now I am even more confused.
I'll explain this since I am not confused and this issue is still open.
If I use the following command as before:
ffmpeg -i 01_Kreis_.mov -c:v libx264 -preset veryslow -crf 18 -pix_fmt yuv420p -c:a aac out_EC_x264.mp4
It's in MediaInfo under Scan type
Scan type: Progressive
.However, when I play the video on the VLC player, the video plays interlaced.When you encode an interlaced video without adding interlaced flags, you are encoding it as progressive. So MediaInfo will show progressive which is correct and all players will play it back as progressive. You are seeing interlaced lines when playing back because you did not deinterlace when 'converting' it to progressive and the player's deinterlacer is not activated since it is playing it as progressive.
If I use the following command:
ffmpeg -i 01_Kreis_original_DV.mov -c:v libx264 -preset veryslow -crf 20 -flags +ildct+ilme -top 1 -c:a aac out_EC_x264_flags.mp4
It say the following under MediaInfo:
Scan type: MBAFF; Scan type, store method: Interleaved fields; Scan order: Top Field First.
If I play the video via VLC Player, it plays progressiv.
When you add interlaced flags, the video is encoded as interlaced which is correctly shown by MediaInfo. When played on any decent player, it will be played back as interlaced. You don't see any interlaced lines because any decent player will have deinterlaced it before displaying on a progressive PC monitor. The deinterlacer is active because the player detects and plays back the video as interlaced.
@cjee21: Thanks for the explanation!
I have a DV video in a MOV container which is interlaced. When I create an x264 in an MP4 container with FFMPEG, Mediainfo shows me that the video is progressive. If I play the video on the VLC player, it is interlaced. If I do the same with an x265 in an MP4 container, Mediainfo shows me the correct scan-type and plays correctly as interlaced. Is this a problem with Mediainfo scan-type?
FFMPEG command for x264:
ffmpeg -i 01_Kreis_.mov -c:v libx264 -preset veryslow -crf 18 -pix_fmt yuv420p -c:a aac out_EC_x264.mp4
Mediainfo output x264:
FFMPEG command for x265:
ffmpeg -i 01_Kreis_.mov -c:v libx265 -preset veryslow -crf 18 -pix_fmt yuv420p -c:a aac out_EC_x265.mp4
Mediainfo output x265: