Page 1 of 2

[SOLVED] 0.6 normal files wont work with Samsung LE46C750

PostPosted: Sun Sep 25, 2011 7:45 pm
by badticket
Dear all,

since 0.6 most files wont work with my Samsung LE46C750 --> "unsupported fileformat" --> "nicht unterstütztes Fileformat".

With former version (0.5.2 ?) works nearly almost perfect 95% of all DNLA files works good.

mkv container Files with codec mpeg4 actually wont work.

The Log file (unter C:programs...bla..serviio.log) wont show singificant entries through the problem...

Could you help me (again ?)

Greetz

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Sun Sep 25, 2011 8:30 pm
by Cerberus
ok i have the exactly same tv as you and cannot reproduce these problems, please check you are using teh correct profile for the device.

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Mon Sep 26, 2011 3:16 pm
by Samsnag
I have been waiting for 0.6 with high hopes. Although 0.52 opened without problems, 0.6 wouldn't open until I eventually went into Administrative services and turned it on manually, after having also had to give myself a password log-on for Windows. On my 32D LCD TV I can now play .mp3 audio and .jpg image files - not .mov (format not supported) nor .avi (unsupported codec) nor .wma files. The Samsung Allshare upgrade in July means I can now play .avi files through that. Have I missed something?

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Mon Sep 26, 2011 5:29 pm
by badticket
Cerberus wrote:ok i have the exactly same tv as you and cannot reproduce these problems, please check you are using teh correct profile for the device.


Hi Cerberus,

never touched or handled the "profiles.xml" there was no need before (for me)... after looking for it I found "my" profile
--> Profile id=“7“ name="Samsung TV / player (C/D-series)" extendsProfileId="2">
interesting... looks a little bit as the PMS PS3 renderer files...

I've looked up the forum and googled a little around.... but I can't find the place where I can define "7" as my TV profile...

So my question ist...how can I set Profile id "7" as MY profile ?

Thank you in advance

Greetz

Badticket

P.S. I've enabled the detailed log... may I'll later see there which profile was taken...

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Mon Sep 26, 2011 5:34 pm
by moltra
you can select the profile in the serviio console.

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Mon Sep 26, 2011 6:16 pm
by badticket
Hi,

hmmm... thank you... (I've already searched the console for the profile without seeing it :roll: ... but now... I found it...)
o.k. done... finally found it... :D but I've never recognized the collumn "Profil" for selecting specific entries...

Is there a detailed difference between 0.6 & 0.52 for choosing the profile or not ? Under 0.52 there was NO NEED for me to change and choose the right profile ...

On my PC several DNLA Server programs are running (Samsung Allshare, TVmobili, PS3 PMS, Serviio, Media Player)... So I can choose the right one for the right file... normally PS3 PMS & Serviio have the best use for me. But no media server can play all media files.
May with the selected profile it will even better work since before.
I miss this IMPORTANT hint for choosing different TV Profiles in the FAQ which the most keyusers have included in their footers.

o.k. I'll shutdown my PC and restart Serviio and hopefully the profile brings BACK the old coolness from 0.52

Thank you for your great work with SERVIIO... I love this DNLA server and try to spread it into my friendship and blogs whenever its possible..

Greetz

Badticket

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Mon Sep 26, 2011 6:22 pm
by zip
I've added an image into the Getting started guide.

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Mon Sep 26, 2011 6:45 pm
by badticket
SOLVED !!!

Thank You all !!!

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Mon Sep 26, 2011 6:55 pm
by Cerberus
;) nope 0.52 and 0.6 are exactly the same but i suspect when you upgraded the renderer decided to change its ip on you at same time so it lost its profile :)

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Mon Sep 26, 2011 6:58 pm
by moltra
badticket wrote: But no media server can play all media files.
May with the selected profile it will even better work since before. Badticket


If you follow the instructions in my signature on how to get information on a video that will not play and post it here, unless it is in a container or codec, that serviio does not support, we can help you customize your profile to play it.

Zip also takes the customized profiles and if they work for a majority of the people places it in the standard profile.xml that comes with serviio.

Re: since 0.6 normal files wont work with Samsung LE46C750

PostPosted: Mon Sep 26, 2011 7:04 pm
by Cerberus
moltra wrote:
badticket wrote: But no media server can play all media files.
May with the selected profile it will even better work since before. Badticket


If you follow the instructions in my signature on how to get information on a video that will not play and post it here, unless it is in a container or codec, that serviio does not support, we can help you customize your profile to play it.

Zip also takes the customized profiles and if they work for a majority of the people places it in the standard profile.xml that comes with serviio.


99.9% of files will play with the samsung profile.

Re: [SOLVED] 0.6 normal files wont work with Samsung LE46C75

PostPosted: Mon Sep 26, 2011 7:35 pm
by badticket
Hi,

I'll try my x-art videos...hardest stuff for all DNLA server... most of them won't work...

I'am excited to be disabused

Greetz

Edit: wont work...

Media Infos says.... bla.mpeg, format windows media, bitrate 8 106 kbps
Id: 2, Format & Codec ID: wmv2, windows Media Video 8, Bitrate 8.000 kbps, 1.920x1.080, 29,970 FPS, 8 bits (bits/pixel frame 0.129)


serviio seems to be scanning my music database... so the entries for the film are hard to find...

  Code:
2011-09-26 21:36:50,682 DEBUG [WebServer] Incoming connection from /192.168.0.41:34809
2011-09-26 21:36:50,683 DEBUG [ResourceTransportRequestHandler] GET /resource/151/MEDIA_ITEM/WMVHIGH_FULL$0 HTTP/1.0, headers = [Range: bytes=0-,getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,getMediaInfo.sec: 1,Host: 192.168.0.26:8895]]
2011-09-26 21:36:50,683 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.0.41
2011-09-26 21:36:50,683 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.0.41, Profile=Samsung TV / player (C/D-series)'
2011-09-26 21:36:50,683 DEBUG [ResourceTransportRequestHandler] Request for resource 151 and type 'MEDIA_ITEM' received
2011-09-26 21:36:50,683 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 151 (local)
2011-09-26 21:36:50,683 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 151)
2011-09-26 21:36:50,684 DEBUG [VideoDAOImpl] Reading a Video (id = 151)
2011-09-26 21:36:50,684 DEBUG [VideoDeliveryEngine] Delivering item '151' for client 'IPAddress=/192.168.0.41, Profile=Samsung TV / player (C/D-series)'
2011-09-26 21:36:50,684 DEBUG [VideoDeliveryEngine] Delivering file 'bla....mpeg' in native format
2011-09-26 21:36:50,684 DEBUG [MediaItemDAOImpl] Getting file of media item 151
2011-09-26 21:36:50,685 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 151) as read

Re: [SOLVED] 0.6 normal files wont work with Samsung LE46C75

PostPosted: Mon Sep 26, 2011 7:52 pm
by Cerberus
badticket wrote:Hi,

I'll try my x-art videos...hardest stuff for all DNLA server... most of them won't work...

I'am excited to be disabused

Greetz

Edit: wont work...

Media Infos says.... bla.mpeg, format windows media, bitrate 8 106 kbps
Id: 2, Format & Codec ID: wmv2, windows Media Video 8, Bitrate 8.000 kbps, 1.920x1.080, 29,970 FPS, 8 bits (bits/pixel frame 0.129)


yer it will give me the ffmpeg -i info on the file and i wills how you how :)

Re: [SOLVED] 0.6 normal files wont work with Samsung LE46C75

PostPosted: Mon Sep 26, 2011 8:16 pm
by badticket
tooks a little time for handling this...

ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 59.92 (719/12)
Input #0, asf, from 'I:\Blu Ray Special\bla...mpeg':
Duration: 00:05:15.45, start: 0.000000, bitrate: 8105 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, 2 channels, s16, 128 kb/s
Stream #0.1: Video: wmv2, yuv420p, 1920x1080, 8000 kb/s, 59.92 tbr, 1k tbn,
1k tbc
At least one output file must be specified

Re: [SOLVED] 0.6 normal files wont work with Samsung LE46C75

PostPosted: Mon Sep 26, 2011 8:44 pm
by Cerberus
badticket wrote:tooks a little time for handling this...

ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 59.92 (719/12)
Input #0, asf, from 'I:\Blu Ray Special\bla...mpeg':
Duration: 00:05:15.45, start: 0.000000, bitrate: 8105 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, 2 channels, s16, 128 kb/s
Stream #0.1: Video: wmv2, yuv420p, 1920x1080, 8000 kb/s, 59.92 tbr, 1k tbn,
1k tbc
At least one output file must be specified



add this line to the tarnscode section of the samsung profile. (profile.xml)

<Matches container="mpg" vCodec="asf" />

Re: [SOLVED] 0.6 normal files wont work with Samsung LE46C75

PostPosted: Mon Sep 26, 2011 9:30 pm
by badticket
Hi,

where exactly ? after changing the profile ... PC wont start the serviio console and provides an error..

ad first I add the line here.. <Matches container="mpg" vCodec="asf" />
<!-- transcode H264 MP4 files with LPCM audio -->
after that here...
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
than at both places....

But it breaks up while starting the console.......

  Code:
<Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="2">
      <Detection>
         <UPnPSearch>
            <FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}D\d{3}.*)</FriendlyName>            
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
         </UPnPSearch>   
         <HttpHeaders>
            <!-- for BD players -->
            <User-Agent>(.*SEC_HHP_BD-[CD].*)|(.*SEC_HHP_\[HT\][CD].*)</User-Agent>
         </HttpHeaders>
      </Detection>
      <DeviceDescription>
         <ExtraElements>
              &lt;sec:ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:ProductCap&gt;
            &lt;sec:X_ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:X_ProductCap&gt;
           </ExtraElements>
      </DeviceDescription>   
      <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>   
      <Transcoding>
         <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
            <Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
            <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
            <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                <Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
         </Video>
         <!-- transcode H264 MP4 files with LPCM audio -->
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="mpegts" aCodec="mp2" />
            <Matches container="mp4" aCodec="lpcm" />
            <Matches container="flv" vCodec="h264" />
            <Matches container="matroska" vCodec="h264" aCodec="flac" />
            <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
            <Matches container="matroska" vCodec="vc1" />
            <Matches container="ogg" vCodec="mpeg4" />
            <Matches container="3gp" aCodec="amrnb" /> 
                        </Video>   
         <!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
         <!-- transcode AVI with AVC video -->
         <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="matroska" vCodec="mpeg2video" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="flv" />
            <Matches container="ogg" />
                                <Matches container="mpg" vCodec="asf" />
         </Video>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
         </Video>
         <Video targetContainer="mpegts">
            <Matches container="wtv" />
         </Video>
         <!-- transcode audio only for wmv with wmapro -->
         <Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
            <Matches container="asf" aCodec="wmapro" />
         </Video>
         <Audio targetContainer="lpcm">
            <Matches container="mp4" />
            <Matches container="flac" />
            <Matches container="ogg" />
         </Audio>
      </Transcoding>
   </Profile>

Re: [SOLVED] 0.6 normal files wont work with Samsung LE46C75

PostPosted: Mon Sep 26, 2011 9:44 pm
by Cerberus
Please DO NOT swear on this forum.

here is the edited code below with line added to allwo your fiel to play, i changed it slight to allow wide range of files, remember to restart serviio service after making the change.



  Code:
<Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="2">
      <Detection>
         <UPnPSearch>
            <FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}D\d{3}.*)</FriendlyName>            
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
         </UPnPSearch>   
         <HttpHeaders>
            <!-- for BD players -->
            <User-Agent>(.*SEC_HHP_BD-[CD].*)|(.*SEC_HHP_\[HT\][CD].*)</User-Agent>
         </HttpHeaders>
      </Detection>
      <DeviceDescription>
         <ExtraElements>
              &lt;sec:ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:ProductCap&gt;
            &lt;sec:X_ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:X_ProductCap&gt;
           </ExtraElements>
      </DeviceDescription>   
      <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>   
      <Transcoding>
         <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
            <Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
            <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
            <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                <Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
         </Video>
         <!-- transcode H264 MP4 files with LPCM audio -->
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="mpegts" aCodec="mp2" />
            <Matches container="mp4" aCodec="lpcm" />
            <Matches container="flv" vCodec="h264" />
            <Matches container="matroska" vCodec="h264" aCodec="flac" />
            <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
            <Matches container="matroska" vCodec="vc1" />
            <Matches container="ogg" vCodec="mpeg4" />
            <Matches container="3gp" aCodec="amrnb" /> 
                        </Video>   
         <!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
         <!-- transcode AVI with AVC video -->
         <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="matroska" vCodec="mpeg2video" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="flv" />
            <Matches container="ogg" />
                                                                <Matches container="mpeg" vCodec="wmv2" />
                                <Matches container="mpg" vCodec="asf" />
         </Video>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
         </Video>
         <Video targetContainer="mpegts">
            <Matches container="wtv" />
         </Video>
         <!-- transcode audio only for wmv with wmapro -->
         <Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
            <Matches container="asf" aCodec="wmapro" />
         </Video>
         <Audio targetContainer="lpcm">
            <Matches container="mp4" />
            <Matches container="flac" />
            <Matches container="ogg" />
         </Audio>
      </Transcoding>
   </Profile>

Re: [SOLVED] 0.6 normal files wont work with Samsung LE46C75

PostPosted: Tue Sep 27, 2011 6:17 am
by badticket
Hi,

I've deleted the comment... sorry...

Thank you for your fast an individual support....

Unfortunatly I've further errors with the modified profile.xml

  Code:
2011-09-27 08:10:46,643 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


Greetz

Badticket

Re: [SOLVED] 0.6 normal files wont work with Samsung LE46C75

PostPosted: Tue Sep 27, 2011 7:08 am
by Illico
Cerberus wrote:<Matches container="mpg" vCodec="asf" />

Cerberus, its not the true syntax:


<Matches container="asf" vCodec="wmv2" />

Re: [SOLVED] 0.6 normal files wont work with Samsung LE46C75

PostPosted: Tue Sep 27, 2011 7:21 pm
by Cerberus
Illico wrote:
Cerberus wrote:<Matches container="mpg" vCodec="asf" />

Cerberus, its not the true syntax:


<Matches container="asf" vCodec="wmv2" />


ok mybad so it would be <Matches container="mpg" vCodec="wmv2" /> then though thats what id put.