user24998: Is there a way to use ffmpeg (or anything else that can be used in linux) to fix an interlaced video marked as progressive, and mark it as interlaced so that I can get rid of bad interlaced frames?
Here's an example of how it is:

And how it should be:

Here's the mediainfo of the video:
Video
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Bit rate mode                            : Variable
Maximum bit rate                         : 9 800 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 23.976 (24000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits

Scan type                                : Progressive
Scan order                               : 2:3 Pulldown
Compression mode                         : Lossy
Time code of first frame                 : 01:00:05:00
GOP, Open/Closed                         : Open
GOP, Open/Closed of first frame          : Closed
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601
Do I need a reencode to fix this? Or just change its wrong flag?

user40165: Sorry for the late reply. For anyone wondering, the video actually is progressive.  The next line in the mediainfo shows 2:3 pulldown, which is a software added telecine (soft telecine).  You can also see the framerate is 23.976 fps, which should never indicate interlaced video.  This means each frame is progressive, and the video file has flags on the frames so the video player can add telecine during playback so the video is 29.97 fps.  I believe VLC media player ignore the flags completely these days and only shows the progressive frames. You can also use AVISynth to do an inverse telecine with the plugin TIVTC, I suggest making a d2v file with DGIndex from DGMPGDec, but it will be a reencode.  There might also be a way to remove the 2:3 pulldown flag in the metadata, which would remove the telecine without reencoding.

24998: <p>Is there a way to use ffmpeg (or anything else that can be used in linux) to fix an interlaced video marked as progressive, and mark it as interlaced so that I can get rid of bad interlaced frames?</p>

<p>Here's an example of how it is:
<a href="https://i.stack.imgur.com/rXPU2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rXPU2.png" alt="Hardly interlaced frame"></a></p>

<p>And how it should be:
<a href="https://i.stack.imgur.com/nmsqg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nmsqg.png" alt="Not interlaced"></a></p>

<p>Here's the mediainfo of the video:</p>

<p><code>Video
Format                                   : MPEG Video
Format version                           : Version 2
Format profile                           : Main@Main
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Bit rate mode                            : Variable
Maximum bit rate                         : 9 800 kb/s
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 23.976 (24000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits</code>
<strong><code>
Scan type                                : Progressive</code></strong><code>
Scan order                               : 2:3 Pulldown
Compression mode                         : Lossy
Time code of first frame                 : 01:00:05:00
GOP, Open/Closed                         : Open
GOP, Open/Closed of first frame          : Closed
Color primaries                          : BT.601 NTSC
Transfer characteristics                 : BT.601
Matrix coefficients                      : BT.601</code></p>

<p>Do I need a reencode to fix this? Or just change its wrong flag?</p>
 40165: <p>Sorry for the late reply. For anyone wondering, the video actually is progressive.  The next line in the mediainfo shows 2:3 pulldown, which is a software added telecine (soft telecine).  You can also see the framerate is 23.976 fps, which should never indicate interlaced video.  This means each frame is progressive, and the video file has flags on the frames so the video player can add telecine during playback so the video is 29.97 fps.  I believe VLC media player ignore the flags completely these days and only shows the progressive frames. You can also use AVISynth to do an inverse telecine with the plugin TIVTC, I suggest making a d2v file with DGIndex from DGMPGDec, but it will be a reencode.  There might also be a way to remove the 2:3 pulldown flag in the metadata, which would remove the telecine without reencoding.</p>
