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

Derek Gebhart derek at 4stroke.tv
Wed Nov 21 16:52:03 CET 2012


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> Then mp=detc should work fine.
> Ticket #681 contains a command line that I tested 
> with material that I telecined before with 
> mp=telecine.

> (Why are not testing the command line I used?)

"-vf format=yuv420p,mp=detc=am=0:dr=2:fr=0,yadif,setpts='N/(24000/1001*TB)'
-r 24000/1001"

ffmpeg -y -framerate 30 -start_number 1 -i Boxer_v5_ENG_SD30fps.%04d.tga -vf
format=yuv420p,mp=detc=am=0:dr=2:fr=0,yadif,setpts='N/(24000/1001*TB)' -r
24000/1001 Test.mp4

This command line option, above with ("mp=detc"), stops FFMPEG from working
(crashes).

> Is -filter_complex needed for this task?
> (I don't know, but it looks like a simple filter chain to me.) Does it
also crash if you only use the detc and the setpts filter?
> Or, without any testing:
> It is possible that detc only works for yuv / yuv420p while the tga
decoder outputs rgb,
> so maybe just add a format filter (and merge it with scale) instead of
pix_fmt.

Any/every filter combo with mp=detc crashes...

-vf mp=detc=am=0:dr=2:fr=0,yadif,setpts='N/(24000/1001*TB)'
-vf format=yuv420p,mp=detc=am=0:dr=2:fr=0,yadif,setpts='N/(24000/1001*TB)'
-vf
format=yuv420p,crop=720:480:0:2,scale=640:480,mp=detc=am=0:dr=2:fr=0,yadif,s
etpts='N/(24000/1001*TB)'
-vf mp=detc,setpts='N/(24000/1001*TB)'

> Please do not top-post here, Carl Eugen

Simply replying to the original email, top-posted.  Sorry for that.  Perhaps
something to do with extra line breaks in the subject line.


Derek Gebhart



More information about the ffmpeg-user mailing list