No subtitles under Yosemite

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
ababakar
Posts: 8
Joined: Sun Mar 25, 2018 12:51 pm

Re: No subtitles under Yosemite

Post by ababakar »

Ok. Thanks anyway. I'm reluctant to upgrade to Capitan or later because my Macbook is old and there seems to be an issue with USB.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: No subtitles under Yosemite

Post by Nadahar »

I can't see that there should be a reason to upgrade, there must be some problem with fontconfig that we don't see.

You should really try running it from terminal and see if you can get subtitles to work by tweaking options. You can find the complete command UMS use in the log file, for example:

Code: Select all

"/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg" -y -loglevel info -i "/Volumes/Movies 2/Films/Darbareye Elly (About Elly) - 2009 - Asghar Farhadi.mkv" -bufsize 7000k -maxrate 499000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ab 448k -ar 48000 -c:a ac3 -c:v mpeg2video -f vob /var/folders/mj/8t8cqg01035_q6fvh_fxd6p40000gn/T/UMS-Marvin/ffmpegvideo_66_1522087865090
The last argument is the "out" parameter, which is a pipe used to pipe the output back to ums. Replace it with a file name, and a file will be created:

Code: Select all

"/Applications/Universal Media Server.app/Contents/Resources/osx/ffmpeg" -y -loglevel info -i "/Volumes/Movies 2/Films/Darbareye Elly (About Elly) - 2009 - Asghar Farhadi.mkv" -bufsize 7000k -maxrate 499000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ab 448k -ar 48000 -c:a ac3 -c:v mpeg2video -f vob ~/test.ts
You can then play that file with for example VLC and see what it looks like.

For MEncoder:

Code: Select all

"/Applications/Universal Media Server.app/Contents/Resources/osx/mencoder" -ss 0 "/Volumes/Movies 2/Films/Darbareye Elly (About Elly) - 2009 - Asghar Farhadi.mkv" -msglevel statusline=2 -nosound -of rawvideo -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=448:threads=8:keyint=25:vqscale=1:vqmin=2:vqmax=3:vrc_maxrate=495000:vrc_buf_size=7000 -ass -ass-color FFFFFF00 -ass-border-color 00000000 -ass-font-scale 1.4 -font Arial -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -noautosub -sid 0 -ofps 24000/1001 -lavdopts fast -mc 0 -noskip -o /var/folders/mj/8t8cqg01035_q6fvh_fxd6p40000gn/T/UMS-Marvin/1522087348049ffmpegvideo
Replace the "-o" argument:

Code: Select all

"/Applications/Universal Media Server.app/Contents/Resources/osx/mencoder" -ss 0 "/Volumes/Movies 2/Films/Darbareye Elly (About Elly) - 2009 - Asghar Farhadi.mkv" -msglevel statusline=2 -nosound -of rawvideo -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=448:threads=8:keyint=25:vqscale=1:vqmin=2:vqmax=3:vrc_maxrate=495000:vrc_buf_size=7000 -ass -ass-color FFFFFF00 -ass-border-color 00000000 -ass-font-scale 1.4 -font Arial -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -noautosub -sid 0 -ofps 24000/1001 -lavdopts fast -mc 0 -noskip -o ~/test2.ts
ababakar
Posts: 8
Joined: Sun Mar 25, 2018 12:51 pm

Re: No subtitles under Yosemite

Post by ababakar »

My Mac died this week end. The graphics card is fried. So I had to buy a new one, which has high Sierra installed. Unfortunately the subs problem remains the same, and now MEncoder doesn't work at all, with or without subs. 😭
I will open a new thread with a new log.
Post Reply