Page 10 of 11

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Mon Oct 17, 2011 5:48 am
by wicked666
I have a problem with editing the file profiles.xml

viewtopic.php?f=5&t=326&p=3684#p3684

if I save it as a link above, gets

Image

soryy for my language, just started to learn English

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Mon Oct 17, 2011 5:50 am
by moltra
You are getting and error when you try and start serviio? Or are you having a hard time saving the file after you change it?

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Mon Oct 17, 2011 6:07 am
by wicked666
if I save the file, and restart serviio (service and console)

from serviio.log

2011-10-17 08:11:09,625 INFO [ServiioConsole] Leaving Serviio Console
2011-10-17 08:11:16,796 INFO [MediaServer] ------------------------------------------------------------------------
2011-10-17 08:11:16,796 INFO [MediaServer] Serviio DLNA media streaming server v 0.6.0.1 (rev. 8e4ee98bff12)
2011-10-17 08:11:16,796 INFO [MediaServer] Petr Nejedly 2009-2011
2011-10-17 08:11:16,796 INFO [MediaServer] http://www.serviio.org
2011-10-17 08:11:16,796 INFO [MediaServer]
2011-10-17 08:11:16,796 INFO [MediaServer] Java 1.6.0_27-Sun Microsystems Inc.
2011-10-17 08:11:16,796 INFO [MediaServer] OS Windows XP x86 5.1
2011-10-17 08:11:16,796 INFO [MediaServer] File encoding: windows-1250
2011-10-17 08:11:16,796 INFO [MediaServer] Headless mode enabled: true
2011-10-17 08:11:16,796 INFO [MediaServer] User home dir: C:\
2011-10-17 08:11:16,796 INFO [MediaServer] Temp dir: C:\WINDOWS\TEMP\
2011-10-17 08:11:16,796 INFO [MediaServer] ------------------------------------------------------------------------
2011-10-17 08:11:16,921 INFO [RestletServer] Starting Restlet server exposed on port 23423
2011-10-17 08:11:16,984 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2011-10-17 08:11:18,281 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: cvc-complex-type.2.4.a: Invalid content was found starting with element 'X-AV-Client-Info'. One of '{UPnPSearch, HttpHeaders}' is expected.
2011-10-17 08:11:18,281 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
java.lang.RuntimeException: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
at org.serviio.profile.ProfileManager.loadProfiles(ProfileManager.java:156)
at org.serviio.MediaServer.main(MediaServer.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
Caused by: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
at org.serviio.profile.ProfilesDefinitionParser.validateXML(ProfilesDefinitionParser.java:693)
at org.serviio.profile.ProfilesDefinitionParser.parseDefinition(ProfilesDefinitionParser.java:128)
at org.serviio.profile.ProfileManager.loadProfiles(ProfileManager.java:154)
... 7 more
2011-10-17 08:11:20,453 INFO [ServiioConsole] Starting Serviio Console
2011-10-17 08:11:20,531 INFO [ServiioConsole] Connecting to Serviio REST on localhost:23423
2011-10-17 08:11:27,968 WARN [ServiioConsole] Cannot connect to the server to get DB initialization info
2011-10-17 08:11:34,890 WARN [ServiioConsole] Cannot connect to server: Communication Error (1001) - Connection refused: connect
2011-10-17 08:11:35,000 INFO [Messages] Loaded console message bundle for locale: en
2011-10-17 08:11:42,031 WARN [ServiioConsole] Cannot connect to server: Communication Error (1001) - Connection refused: connect
2011-10-17 08:13:16,125 INFO [ServiioConsole] Leaving Serviio Console


Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Mon Oct 17, 2011 7:20 am
by moltra
Can you attach your profiles.xml file?

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Mon Oct 17, 2011 7:33 am
by Lowlander
Wicked,

your log says "XML Profiles.xsd didn't pass validation [...] Invalid content was found starting with element 'X-AV-Client-Info'. One of '{UPnPSearch, HttpHeaders}' is expected.". The latest profiles.xml coming with Serviio does contain a pretty complex profile for Sony Bluray players, so there should be no need to go back to the profile you quoted, which is over a year old. The profile has been refined a lot since then, and from my view as an end user (i.e. not knowing for sure) there's a good chance that the xml's format has changed as well.

IF you decide to use the old profile - or parts of it - for any reason, I'd keep the latest profiles' first sections and start editing after <MediaFormatProfiles>.

Have a nice one,
Low

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Mon Oct 17, 2011 1:44 pm
by zip
Lowlander wrote: there's a good chance that the xml's format has changed as well.

That's the case for sure!

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Tue Oct 18, 2011 11:28 am
by wicked666
ok, thanks.

Is there a way to play MKV in S370 without transcoding? Or at least mkv with the original soundtrack of DTS 1.5 MB?

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Tue Oct 18, 2011 11:46 am
by Illico
wicked666 wrote:ok, thanks.
Is there a way to play MKV in S370 without transcoding? Or at least mkv with the original soundtrack of DTS 1.5 MB?

Yes...do you read this topic : viewtopic.php?f=11&t=2004

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Fri Oct 28, 2011 9:33 pm
by blm
Hi,
I have problem with playing mkv and subtitles after update serviio to 0.6.0.1 and mkvmerge to 5.0.1. Before update everything were ok - srt muxed into mkv. I checked film in "The KMPlayer" and it's OK - subtitles are there. Problem are on my Sony BDP-S370 - film is playing ok but there are no subtitles. Any suggestions?

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Mon Oct 31, 2011 1:04 pm
by zip
I guess that's because MKV is remuxed to mpegts. Check the player FAQ page (sticky in this forum)

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Tue Nov 01, 2011 12:52 am
by blm
I forget that new installation will replace profile.xml - thanks.

Now I have another problem.. subtitles are "half" working - I think there is a problem with display time of each text - player skips some of the texts. I have checked srt file before muxing and in my opinion is fine.

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Tue Nov 01, 2011 10:17 am
by patters
And what's the result with software players?

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Wed Nov 02, 2011 4:51 pm
by blm
OK, now it works - there was something wrong with the srt file.
THANKS!

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Wed Nov 02, 2011 4:58 pm
by Illico
blm wrote:Now I have another problem.. subtitles are "half" working - I think there is a problem with display time of each text - player skips some of the texts. I have checked srt file before muxing and in my opinion is fine.

Could you post the "srt" file?
There are some tools :
viewtopic.php?f=17&t=2971

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Wed Nov 02, 2011 5:28 pm
by blm
Thanks, i checked it in Subtitle Workshop - the problem was with time of displaying texts.

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Tue Nov 08, 2011 4:40 pm
by Nilson89
Hey guys,

i´ve got a little problem with switching the autio-stream while watching the movie. I also can´t choose a subtitle.

My MKV-FIles have serveral auio-streams and several subtitels. When i play a bluray i can change audio and subtitle with my remote. When i stream a file over serviio i can´t.
So i´m really new to this and i only found, that i could make some changes to the profiles.xml. I did this to get subtitles but it doens´work. Could somebody give me a hint or help me with my problem please?

Thanks
Nilson

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Sun Nov 27, 2011 7:37 pm
by darisil
Guys,

Not sure if this is already known, but I just got my S470 to play a .mkv x264 with embedded subs (originally a .srt file that I included in the .mkv using mkvtoolnix), showing the subs. The detail here is I used PMS to do that. When I tried to do the same using Serviio, no success.

I had tried to mux the same .srt in the same .mkv before, but the player didn't show the subs in any media server (don't ask me why). Then I did the following: 1) set to 'yes' the 'Default track flag' and 'Forced track flag' in the srt track; and 2) selected 'none' to 'Compression' under the 'Extra Options' tab for ALL the tracks.

BINGO!! The BDP played the file and showed the subs. But only from PMS, not from Serviio. Furthermore, the same result was observed in my Samsung D6900 TV and PS3, which makes me think Serviio didn't make it happen.

Just to add more info, I didn't make any change in profiles or configurations in either PMS or Serviio.

Hope this post helps improving this great MS.

Daniel

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Mon Nov 28, 2011 8:10 am
by Illico
darisil wrote:I had tried to mux the same .srt in the same .mkv before, but the player didn't show the subs in any media server (don't ask me why). Then I did the following: 1) set to 'yes' the 'Default track flag' and 'Forced track flag' in the srt track; and 2) selected 'none' to 'Compression' under the 'Extra Options' tab for ALL the tracks.

BINGO!! The BDP played the file and showed the subs. But only from PMS, not from Serviio. Furthermore, the same result was observed in my Samsung D6900 TV and PS3, which makes me think Serviio didn't make it happen.

Thanks for that tips.
Could you check and confirm that PMS delivered the mkv file in native format? Same with serviio (check detailed loggig file) ?

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Wed Nov 30, 2011 1:39 pm
by patters
Yes, it's fairly likely that Serviio is remuxing to m2ts. What happens if you put that same file on a USB stick and play directly on the BDP?

Re: Problems with MKV / H.264 on Sony BDP-S370 Bluray-Player

PostPosted: Thu Dec 01, 2011 12:24 pm
by darisil
Sorry, guys,

I had forgotten about a tiny little detail. Once I downloaded this Sony Bluray .conf file from a PMS forum and included it to the profiles folder.

I think that by looking at it you'll be able to figure out more.

http://www.4shared.com/file/_URPqTzf/SonyBluray.html

Regards,

Daniel