Ive been trying to get this work for a little while now and I think im just lacking some knowledge in something.
I am basically trying to convert a 60fps video down to 30fps and burn in timecode all at the same time.
So far I have
ffmpeg -y -r 60 -i IN.mov -pix_fmt yuv420p -timecode 10:03:13:27 -filter:v fps=30 -vf "[in]drawtext=fontfile='C\:/Windows/Fonts/arial.ttf': timecode='10\:03\:13\:27':timecode_rate=30:x=((w-text_w)/2)/3:y=((h-text_h)-h)+text_h:fontsize=24:fontcolor=white:box=1:boxcolor=black:boxborderw=5[out]" -r 30 OUT.mov
I convert the 60 fps tc to 30 by hand for some of the values (eventually move this into python)
It all seems to work fine until you take a look at the burn in which seems to be counting at 30 but counting up in 2's. I can tell its something to do with the 60/30 conversion as obviously we are halving the frames. Im really trying to avoid multiple calls and 'temp' files.
If anyone could talk me through what im doing wrong and educate me a little that would be awesome
Thanks in advance guys