[FFmpeg-user] Inverse Telecine (30fps to 24fps) targa sequence input

Derek Gebhart derek at 4stroke.tv
Thu Nov 22 22:01:13 CET 2012

So, I have officially given up on the "mp=detc" filter :(

Instead, I've been messing around with the "mp=phase=U" filter.

This filter seems to take the telecined frames and reassmble them as
progressive frames perfectly, except it leaves the doubled up "nth" frame in
the sequence.  I then use the "select" filter to skip this doubled up frame.
Because all my telecined frames will always have the same hard 3:2 pattern,
i will always know which frame is doubled up.  In my case it's every 5th
frame starting at frame 3.

My final command line string is this...

ffmpeg -y -framerate 30 -i input_at_30fps.%04d.tga -vf
640:480 -aspect 4:3 -an -r 24000/1001 -crf 22 -g 240 -t 10.0 output.mp4

It works fantastic! :)

Derek Gebhart

More information about the ffmpeg-user mailing list