Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to figure out how to use yadif / yadif-2x with ffmpeg to convert 50i source material into 50p output that preserves the motion of all fifty fields per second. Right now, I am using the following command, which creates a frame-doubled version, essentially the same as 25p output.

ffmpeg -i input.m2t -filter:v yadif=1 output.mov

Using yadif=0 makes a deinterlaced 25p file. Using yadif=1 makes a deinterlaced 50p file with doubled 25p frames. I need to make a deinterlaced file with 50 unique frames per second, and I'm pretty well certain this is possible. Is that what yadif(2x) is supposed to do?

share|improve this question
1  
Please show your complete ffmpeg console output. –  LordNeckbeard Jun 21 '13 at 21:55
    
Available here: pastebin.com/CqsD5D8L –  moot Jun 21 '13 at 23:52
    
After a great deal of searching, I may have found another way to accomplish this conversion. I will attempt this method tomorrow and report results. hddv.net/… –  moot Jun 22 '13 at 8:21
    
yadif=1 works for me: twice as many frames and each is different –  mark4o Jun 22 '13 at 16:55
    
I tried that again today and unfortunately it definitely produces 50p output, but only doubled frames for me. I am using the MacPorts installation on MacOS X with mencoder_extras among others. –  moot Jun 22 '13 at 21:24
show 1 more comment

1 Answer

Please understand-- 50i means 50 fields = 25 frames of 50 interleaved fields. You CANNOT get unique 50 frames. If at all possible, then these frames would have missing alternate lines in the video frame. So 25p is 50i top + 50i bottom combined. That's how it should be, and hopefully always will be. Else the result could be duplicated frames (terrible) as you have got.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.