Specify TrueType Font with FFmpeg in Win10
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Specify TrueType Font with FFmpeg in Win10
Hi
I was installed the UMS 6.2.1 on Win10 64bit
I found a problem when I choose a TrueType Font then I will get a error message.
I opened the debug log, then I saw the log
DEBUG 2016-03-29 21:48:33.517 [ffmpeg64.exe-2] net.pms.io.ProcessWrapperImpl Starting "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe" -y -loglevel info -i F:\Movie\KANO\Kano.2014.1080p.BluRay.x264-WiKi.mkv -filter_complex subtitles=F\\:/Movie/KANO/Kano.2014.1080p.BluRay.x264-WiKi.srt:force_style='Fontname=C:\Windows\Fonts\kaiu.ttf,Fontsize=21.0,PrimaryColour=&Hffffff,Outline=1,Shadow=1,MarginV=10' -bufsize 1835000 -maxrate 499000000 -g 5 -q:v 1 -qmin 1 -c:a copy -c:v mpeg2video -f vob \\.\pipe\ffmpegvideo_58_1459259313211
My subtitles path is not windows path format, it became a linux path format.
Is there something wrong?
Attach file is my full debug log, Thx
I was installed the UMS 6.2.1 on Win10 64bit
I found a problem when I choose a TrueType Font then I will get a error message.
I opened the debug log, then I saw the log
DEBUG 2016-03-29 21:48:33.517 [ffmpeg64.exe-2] net.pms.io.ProcessWrapperImpl Starting "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe" -y -loglevel info -i F:\Movie\KANO\Kano.2014.1080p.BluRay.x264-WiKi.mkv -filter_complex subtitles=F\\:/Movie/KANO/Kano.2014.1080p.BluRay.x264-WiKi.srt:force_style='Fontname=C:\Windows\Fonts\kaiu.ttf,Fontsize=21.0,PrimaryColour=&Hffffff,Outline=1,Shadow=1,MarginV=10' -bufsize 1835000 -maxrate 499000000 -g 5 -q:v 1 -qmin 1 -c:a copy -c:v mpeg2video -f vob \\.\pipe\ffmpegvideo_58_1459259313211
My subtitles path is not windows path format, it became a linux path format.
Is there something wrong?
Attach file is my full debug log, Thx
- Attachments
-
- ums_dbg.zip
- (44.22 KiB) Downloaded 377 times
Re: Specify TrueType Font with FFmpeg in Win10
There is an bug in the UMS. FFmpeg is working only with the registered font name not with the font file. The font must be included in the OS environment. You need to set the font name to something like "kaiu" which should be an internal name of the font and not to specify the whole path.
Re: Specify TrueType Font with FFmpeg in Win10
Wow, it's work!
valib, Thank you for tell me this.
I don't know I should type the name not the path
valib, Thank you for tell me this.
I don't know I should type the name not the path