10

My video input is mpeg2 video file as follows:

Video: MPEG2 Video 720x576 (4:3) 25fps [V: mpeg2 main, yuv420p, 720x576]
Audio: MPEG Audio 48000Hz stereo 224kbps [A: mp2, 48000 Hz, stereo, 224 kb/s]

Then I use:

ffmpeg.exe -i in.mpg -b:v 3000k -preset superfast out.mp4

To get MP4:

Video: MPEG4 Video (H264) 720x576 (4:3) 25fps 2967kbps [V: h264 high L3.0, yuv420p, 720x576, 2967 kb/s]
Audio: AAC 48000Hz stereo 128kbps [A: SoundHandler (aac lc, 48000 Hz, stereo, 128 kb/s)]

Everything is good, except I get something like this in motion scenes:

enter image description here

In the actual source, there is no such thing. In the source, there is no intermediate frames or ghosting - just "discrete" steps.

I tried other presets, as well as other codec like libxvid, but all produced the same result.

So, how should I fix it? Which parameters should I add or which settings to adjust?

Fit Nerd
  • 547

1 Answers1

15

Your input source in interlaced. Your best bet is to deinterlace with an ffmpeg filter such as -vf yadif=1. See yadif documentation for more info.

llogan
  • 63,280
szatmary
  • 3,903