[FFmpeg-user] Converting a 23.98p source to 29.97i ProRes w/interlaced 3:2 pulldown?

Marcelo Boufleur mboufleur at gmail.com
Sun Oct 25 15:25:47 CET 2015


> > ffmpeg -i inputFile -vf "telecine,setpts=N/(30000/1001*TB)
>
> Why is setpts necessary?

Indeed. Wouldn't it be better to specify output framerate? (although I don
't believe it would be necessary in this case)

ffmpeg -i inputFile -vf "telecine=top:23" -r 30000/1001


Telecine filter is already adding additional fields from the 23.98fps into
29.97fps, thus changing from 24000/1001 into 30000/1001 (which makes the
"-r" command redundant). You may chose the additional settings above "top"
as field dominance, and "23" as desired cadence.

My apologies if the syntax is no correct, I haven't used the telecine
filter in a while.
https://ffmpeg.org/ffmpeg-filters.html#telecine

Here is the complete line, with minor modifications:

ffmpeg -ss 7.0 -t 30.0 -i SOURCFILE.mov -pix_fmt yuv422p10le -vf
> "telecine=top:23" -r 30000/1001 -c:v prores_ks -vprofile hq -qscale:v 5
> -flags +ildct -movflags +write_colr -color_primaries bt709 -color_trc bt709
> -colorspace bt709 -vendor ap10 -c:a pcm_s16le -timecode 01:00:00;00
> OUTFILE.mov


acodec and vcodec have been changed into "c:a" and "c:v", added a
"-qscale:v 5" to specify the quality for the prores profile, and changed
the timecode into drop-frame format (you may change it back if you want to)

I'm no sure about the color primaries command though. It seems experimental
at this point.
https://ffmpeg.org/doxygen/2.8/movenc_8c_source.html

>     { "write_colr", "Write colr atom (Experimental, may be renamed or
> changed, do not use from scripts)",


Marcelo Boufleur


More information about the ffmpeg-user mailing list