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

Derek Gebhart derek at 4stroke.tv
Tue Nov 20 19:30:34 CET 2012


I am trying to apply an inverse-telecine pullup filter to deinterlace a
30fps 720x486x4:3 targa sequence, in order to output a clean 24fps
640x480x4:3 H264 MP4.

 

ffmpeg -y -framerate 30 -start_number 1 -i Boxer_v5_ENG_SD30fps.%04d.tga
-filter_complex
showinfo,crop=720:480:0:2,mp=pullup,mp=softskip,setpts=N/(24000/1001*TB),sca
le=640:480,showinfo -an -pix_fmt:v yuv420p -r 24000/1001 -preset veryslow
-vcodec libx264 -profile:v high -crf 22 -g 15 -aspect 4:3 -t 15.0 Test.mp4

 

The "mp=pullup" filter appears to look at embedded data, within the input
sequence, to determine how to deinterlace.  Every frame of the input targa
sequence is being treated as "progressive" as stated by the "showinfo"
filter.

 

...

n:349 pts:349 pts_time:11.6333 pos:-1 fmt:bgra sar:0/1 s:720x486 i:P iskey:1
type:? checksum:7FBA3E6D plane_checksum:[7FBA3E6D]

n:341 pts:426 pts_time:14.2 pos:0 fmt:yuv420p sar:0/0 s:640x480 i:P iskey:0
type:? checksum:A7A13269 plane_checksum:[3D10C464 BD3694CA 6358D91d]

...

 

If I run the same command using a 30fps video source as input, created using
FFMPEG from a 24fps targa sequence using the "mp=telecine" filter, the
output is a perfect 24fps progressive movie.

 

My question is, is there a way to mark the input image sequence as being
interlaced, or having pulldown applied to it?

 

FYI, the input image sequence was created by me, and has a known
hard-telecine 3:2 pattern.

 

4stroke Logo

Derek Gebhart
Technical Director
4stroke

488 Wellington St. W #444
Toronto, ON M5V 1E3
T 416-408-4440 x229
F 416-408-4445

 <http://www.facebook.com/pages/4stroke/145998565463021> Facebook
<http://www.twitter.com/4strokeInc> Twitter

 <http://www.4stroke.tv> www.4stroke.tv

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 306 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121120/0f3867c3/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1259 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121120/0f3867c3/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1311 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121120/0f3867c3/attachment-0002.gif>


More information about the ffmpeg-user mailing list