Ffmpeg - How to deinterlace a wrong interlacing?

I have a source video that apparently has been interlaced a wrong way. The problem is: "ffmpeg -vf yadif=3:0" works perfectly in terms of time axis (results in a smooth motion overall), but it looks like every couple of scanlines are upside down in each frame.

So, I am looking for a way to swap the vertical positioning of top/bottom fields, keeping the temporal order unchanged, before applying a deinterlacer.

Before reaching the above assumption I have tried things like: "-vf 'yadif=3:0,crop=720:480:0:if(mod(n\,2)\,0\,2)'", but that didn't seem particularly helpful.

Any idea? (I am afraid I can't share a sample footage with you.)

2 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like