Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This creates clean de-interlaced h264 video:
- ffmpeg -i 1080i.MTS -vf yadif=0,scale=720:576 -r 25 -c:v libx264 -crf 18 -preset fast -c:a ac3 -ac 2 -b:a 224k output1.mp4
- **This creates badly de-interlaced video**:
- ffmpeg -i 1080i.MTS -vf yadif=0,scale=720:576 -r 25 -target pal-dvd output2.mpg
- This creates clean de-interlaced mpeg2 video:
- ffmpeg -i 1080i.MTS -vf yadif=0,scale=720:576 -r 25 -c:v mpeg2video -b 8000k -c:a ac3 -ac 2 -b:a 224k output3.mpg
- - but this isn't compatible with dvdauthor
- dvdauthor errors:
- WARN: Skipping sector, waiting for first VOBU...
- WARN: Skipping sector, waiting for first VOBU...
- WARN: Skipping sector, waiting for first VOBU...
- ...
- ERR: SCR moves backwards, remultiplex input: 4563416160 < 4563429486
- ----
- From further tests, it appears that the '-target' option causes ffmpeg to rescale the video to DVD compliant res (720x576) _before_ the video filter chain. This obviously destroys the interlacing if the vertical input res != vertical output res - and stops yadif from working. If the above is true, ffmpeg '-target' option should resize the video after the filter chain.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement