Page 1 of 1

6.7.0 and Subtitles

Posted: Sun Jun 11, 2017 10:35 am
by Madoka
This is from the 6.7.0 announcement thread:
One thing is that the included FFmpeg breaks subtitles. I get no buffer, and the PS3 throws an error. I put ffmpeg-20161006-0212867-win64-static back in, and subtitles work again. I had tried a newer static a few weeks ago, and it still didn't work.
SJ asked me to post the logs. The first file Hiyokko has external .ass files and Asa ga Kita has external .srt files. Both failed to play.

Re: 6.7.0 and Subtitles

Posted: Sat Jun 17, 2017 2:50 pm
by SubJunk
Thanks for this Madoka. I found one of the videos but can you attach the subs (Hiyokko Week 09 Ep049 (848x480 x264).ass) so I can test?

Re: 6.7.0 and Subtitles

Posted: Sun Jun 18, 2017 4:41 am
by Madoka
Here are the subs.

Re: 6.7.0 and Subtitles

Posted: Sun Jun 18, 2017 4:19 pm
by SubJunk
Running the same command as you on the same file works for me, so I have a hunch that the issue is related to CPU flags or a GCC upgrade by the Zeranoe team. I used to sometimes encounter the same issues when I released the binaries and fixed them by disabling certain CPU flags in the compiler options.
Unfortunately other than reporting the issue to their team we don't have much control over it.

It also could be a UMS issue and be happening earlier in the chain for some reason so to make sure can you please run the following command and let me know if it produces a playable video?

Code: Select all

"C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe" -y -loglevel info -i "F:\J-Drama\~Asadoras~\Hiyokko\Hiyokko Week 09 (848x480 x264)\Hiyokko Week 09 Ep049 (848x480 x264).mp4" -filter_complex "subtitles=D\\:/J-Drama/~Asadoras~/Hiyokko/Hiyokko Week 09 (848x480 x264)/Hiyokko Week 09 Ep049 (848x480 x264).ass" -bufsize 1835k -maxrate 127000k -g 25 -q:v 1 -qmin 2 -qmax 3 -ab 448k -ar 48000 -c:a ac3 -c:v mpeg2video -f vob file.mpg

Re: 6.7.0 and Subtitles

Posted: Sun Jun 18, 2017 4:38 pm
by Madoka
Putting that code in resulted in an error where the subtitles were not found. I changed the D to and F as it's on my F drive. I hope that was ok. I don't understands these commands. I ran it twice, once with the FFmpeg that works for me (as I forgot that that was what I'm currently using) and again with the FFmpeg included with 6.7.1.

Both produce playable files. BUT!!! the new FFmpeg included with 6.7.1 pauses for a long, long time at the first [Parsed_subtitltesxxxxx] Shaper: FriBidi 0.19.6 <Simple>. It pauses again at the second one as well, but not as long. If I wait a long time, it will continue to produce a file. Perhaps it's this delay that times out making the UMS buffer? The older FFmpeg does not pause at all.

Re: 6.7.0 and Subtitles

Posted: Sun Jun 18, 2017 4:58 pm
by SubJunk
Yeah that was my mistake with the drive letter. Ah interesting results. Yes it could be the long pause causing the issue. I think I will roll back the FFmpeg version and create a bug report for it on the Zeranoe forums.
Can you see what happens if you delete the "fonts" directory?

Re: 6.7.0 and Subtitles

Posted: Sun Jun 18, 2017 5:08 pm
by Madoka
I assume you meant the one in the UMS/win32 folder. :D

It does not pause, but then the video has no subtitles. "No useable fontconfig files." and "Cannot load default config file."

Re: 6.7.0 and Subtitles

Posted: Sun Jun 18, 2017 5:42 pm
by SubJunk
Ah cool. Ok does it work with either of these versions of FFmpeg? https://ffmpeg.zeranoe.com/builds/win64 ... static.zip or https://ffmpeg.zeranoe.com/builds/win64 ... static.zip
They're just the latest versions

Re: 6.7.0 and Subtitles

Posted: Sun Jun 18, 2017 5:54 pm
by SubJunk

Re: 6.7.0 and Subtitles

Posted: Sun Jun 18, 2017 6:31 pm
by Madoka
Neither of those statics work. I also ran that code and got the same pauses as before.