Media Start Timecode

Questions and answers on how to get the most out of FFAStrans
Post Reply
vijm1972
Posts: 128
Joined: Fri Apr 24, 2015 7:35 am

Media Start Timecode

Post by vijm1972 »

Hello Steipal,

I am trying to burn original media start time code using custom FFMPEG command line and using below command.

-c:v wmv2 -s 480x270 -r 25 -aspect 16:9 -b:v 512k -g 160 -cmp 3 -subcmp 3 -mbd 2 -mpv_flags cbp_rd -trellis 1 -vf "drawtext=fontfile=/Windows/Fonts/arial.ttf:fontsize=80:x=750:y=80:box=1:boxcolor=0x00000099@0.5:rate=25/1:fontcolor=white:timecode='10\:00\:00:\:00'" -c:a wmav2 -b:a 320k

My source files is in .mov format. I had tried using timecode filter available in video filters, I am getting required output. Now I wanted try using command line. Please let me know which command I have to use to burn original media start time code.

Thanks
Vijay
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Media Start Timecode

Post by admin »

Hi Vijay,

If I understand you correctly you want to translate the FFAStrans variable %m_tc_start% into something like 10\:00\:00\:00. Currently that is not possible because %m_tc_start% would translate to 10:00:00:00. This would just give you an error in FFmpeg. However, string manipulations like replacing ":" with "\:" will be possible in some future version of FFAStrans.

-steipal
Post Reply