Page 1 of 2
Subtitles, why it works on PS3MediaServer & not on Serviio??

Posted:
Mon Sep 03, 2012 3:22 am
by chamba
Why the subtitles works on PS3 Media Server and not on Serviio? And I am using Sony Bravia TVs...
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Mon Sep 03, 2012 7:37 am
by Illico
Because, serviio only support external ".srt" subtitle files.
And serviio is based on ffmpeg encoder, that does not support subtitles "burning" into video stream.
When ffmpeg encoder will support it, serviio too!!
PS3 Media Server is based on Mencoder that support subtitles "burning".
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Wed Sep 05, 2012 2:58 am
by chamba
Thank you for your response. I am using .srt external files, and Serviio cannot read them. PS3 can.
I used the srt fixer app and nothing happens. Am I doing something wrong?
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Wed Sep 05, 2012 5:40 am
by Illico
chamba wrote:Thank you for your response. I am using .srt external files, and Serviio cannot read them. PS3 can.
I used the srt fixer app and nothing happens. Am I doing something wrong?
I think that external srt file are not supported by Sony Bravia devices. What is your model number?
Its probably because PS3 Media Server burn the srt file into video stream with mencoder.
Enable
detailed logging and try to extract the line where the file is delivered to the Sony Bravia.
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Thu Sep 06, 2012 7:24 am
by carics
Hi,
I have a Samsung 8 series and with .avi and .srt named exactly the same, in the same folder, I cannot get a subtitle, even though the TV is on the compatibility list.
Could that be the same issue chamba reported?
BR
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Thu Sep 06, 2012 11:35 am
by zip
carics wrote:Hi,
I have a Samsung 8 series and with .avi and .srt named exactly the same, in the same folder, I cannot get a subtitle, even though the TV is on the compatibility list.
Could that be the same issue chamba reported?
BR
No, Samsungs support it. Make sure you have the right profile selected. Also check the subtitles file is not corrupted (there is a fix tool on the wiki)
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Fri Sep 07, 2012 8:53 am
by carics
zip wrote:No, Samsungs support it. Make sure you have the right profile selected. Also check the subtitles file is not corrupted (there is a fix tool on the wiki)
I tried it back last night, and it seems the problem was that there were 2 profiles - the Samsung D correct one, and other useless. When I removed the second it worked!
Thanks a lot, and congratulations on your fine software!
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Sun Sep 09, 2012 12:51 am
by chamba
Well, I have two Sony TVs 2011 models. One is KDL-55HX825...
And here is the debug file:
- Code:
DEBUG 2012-09-08 19:42:39.058 [mencoder.exe-6] Starting "C:\Program Files (x86)\PS3 Media Server\win32\mencoder.exe" -ss 0 -quiet \\WORKZ\video\Battleship\DDLValley.eu_moovee-bs-720.mkv -quiet -quiet -oac lavc -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -subfont-text-scale 5 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=640:threads=4:keyint=5:vqscale=1:vqmin=2:vrc_maxrate=54000:vrc_buf_size=1835 -ass -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.0 -font C:\Windows\Fonts\arial.ttf -ass-force-style FontName=C:\Windows\Fonts\arial.ttf,Outline=1,Shadow=1,MarginV=10 -noflip-hebrew -nofontconfig -subcp cp1252 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub \\WORKZ\video\Battleship\DDLValley.eu_moovee-bs-720.srt -lavdopts fast -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o \\.\pipe\mencoder1347151358922
DEBUG 2012-09-08 19:42:39.072 [mencoder.exe-6] Reading pipe: \\.\pipe\mencoder1347151358922
DEBUG 2012-09-08 19:42:39.073 [mencoder.exe-6] Attaching thread: mencoder.exe-6
Please let me know if this helps.
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Sun Sep 09, 2012 7:29 am
by Illico
chamba wrote:Well, I have two Sony TVs 2011 models. One is KDL-55HX825...
-ass -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.0 -font C:\Windows\Fonts\arial.ttf -ass-force-style FontName=C:\Windows\Fonts\arial.ttf,Outline=1,Shadow=1,MarginV=10 -noflip-hebrew -nofontconfig -subcp p1252 -quiet -quiet -sid 100 -quiet -quiet -ofps 24000/1001 -sub \\WORKZ\video\Battleship\DDLValley.eu_moovee-bs-720.srt
So subtitle srt file is used to "burn" subtitle to mpeg2 video stream. Sony devices does not support external srt files.
With Serviio, you have to wait the future ass filter option.
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Sun Sep 23, 2012 1:01 pm
by shrirange
Any idea by when can Serviio support burning the subtitles on to the stream ?
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Sun Sep 23, 2012 3:14 pm
by zip
When FFmpeg supports it. It seems that they are working on it now, but it might still be some time for them to finish it.
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Fri Oct 19, 2012 4:48 pm
by nossnevs
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Sun Oct 21, 2012 8:54 pm
by zip
It's a way but is a 2 step process, which is not suitable for the use case we have. The FFmpeg guys are still working on a proper implementation.
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Mon Oct 29, 2012 3:55 pm
by lelin
Seems the problem is coming from serviio and not from the Sony Bravia TV.
My Sony KDL-40HX800 can play external subtitles with USB, PMS and UMS servers.
This weekend I have installed Universal Media Server based on PMS and play without any problems the external srt
However I must say that serviio is faster BUT without the srt.
To the developer, please fix the software
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Tue Oct 30, 2012 8:20 am
by Illico
lelin wrote:This weekend I have installed Universal Media Server based on PMS and play without any problems the external srt...
Could you post the PMS/UMS log file to confirm it was external subtitles and not "burned" one ?
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Tue Oct 30, 2012 10:32 am
by lelin
In attachment the log and pictures
Hope this helps
Anyway you can try out Universal Media Server
http://www.universalmediaserver.com/
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Tue Oct 30, 2012 10:34 am
by lelin
Herewith my movie filing
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Tue Oct 30, 2012 10:42 am
by zip
On your photo above, what does it say in the white rectangle next to the (1H 40M)? Mpeg2 or AVC or MPEG4?
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Tue Oct 30, 2012 11:31 am
by Illico
This is not a detailled loging of PMS....and I see an error on mencoder process...what this ?
Then could you edit the serviio profiles.xml file and insert the following line on profile id=sony2012, just after the </DeviceDescription> element line ?
<SubtitlesMimeType>text/srt</SubtitlesMimeType>
Save and restart serviio services.
Re: Subtitles, why it works on PS3MediaServer & not on Servi

Posted:
Tue Oct 30, 2012 3:00 pm
by lelin
Is MPEG2
I have added the line but it doesn't work.
Also all my Chinese movies are slower