I have this code which overlays a title over video.
I have specified the path to the font I want to use but ffmpeg isn't finding it. It defaults to Times Roman. It only finds the font I want if the font file is in the same folder as the bat (script) file.
Am I doing something wrong?
Thank you.Code:ffmpeg -y -i C0015.mp4 -filter_complex "[0]split[base][text];[text]drawtext=fontfile="C:\Windows\Fonts\Arial\arial.ttf":text='Testing': fontcolor=ebebeb:fontsize=36*10:box=1:boxcolor=1616eb@1:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2,format=yuv422p,fade=t=in:st=2:d=1:alpha=1,fade=t=out:st=7:d=1:alpha=1[subtitles];[base][subtitles]overlay" -c:a aac title_output.mp4
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
Paths in ffmpeg filters - this has to do with windows escape characters.
For every colon or backslash, you need another backslash
This part
Code:fontfile="C:\Windows\Fonts\Arial\arial.ttf"
Code:fontfile='C\:\\Windows\\Fonts\\Arial.ttf'
-
side note: using slashes instead of back-slashed might also work,..
users currently on my ignore list: deadrats, Stears555
Similar Threads
-
Invalid title time after jumping back to previous title
By Bencuri in forum Authoring (DVD)Replies: 3Last Post: 29th Oct 2019, 02:46 -
Need Help Change Default Title/Global Title to the same one as file name
By Inoyama in forum Newbie / General discussionsReplies: 5Last Post: 9th Jan 2018, 16:21 -
[PgcEdit] Go to Title 2 after Title 1
By aptyp in forum Authoring (DVD)Replies: 4Last Post: 23rd Feb 2017, 23:44 -
(Willing to pay)ffmpeg Need help downloading live stream ffmpeg and rtmp
By grabyea in forum Video Streaming DownloadingReplies: 0Last Post: 10th Apr 2016, 16:54 -
FFMPEG QUESTION :How do I take 10bit jpeg with FFMPEG?
By Jamaika in forum Video ConversionReplies: 10Last Post: 6th Jul 2015, 13:41