Page 1 of 1

Flac on ES 7000

PostPosted: Sun Nov 04, 2012 10:33 pm
by ginjaninja
Why might i get 'the selected file is not currently supported'. The tv is happy to play flacs over dlna with other servers natively and without transcoding.
I have transcoding switched off (the tv does not require it as proven by other dlna servers).
I have used the generic dlna profile and the samsung c/d/e profile.
flacs play when transcoding is enabled.

thanks for help.


*edit*
ok, so i have read about profiles and how to edit them.
I have moved back to "generic dlna profile" as this=0 transcoding. The samsung C/D/E profile had some transcoding enabled, which the es does not require*. Anyone done an es profile for a 2012 tv.

Is there more to getting a file to play than the tv supporting the format/stream...do i need to modify the profile to 'present' the file to the tv in a certain way. The tv can see the file.
incidently the tv has an info button, which describes the format of the file on the dlna service and the tv knows/detects the audio format.

*the reason why i am so sure that transcoding is not required is that when i test with ps3 media server with transcoding manually switched off for flac,mkv,avi,m2ts,mp3 (ie everything), all files play and the cpu does not get burdened (hence my belief there is no transcoding going on). flacs also play natively from usb.
Serviio has better metadata support and podcast support and resume support and tvshow distinction from movies and view by album artist....so i would love to crack this one.
maybe as a short term workaround i could create a profile that inherited everything from profile 1, save transcoding flacs....but it does not yet make sense to me yet why his is necessary.




*edit 2*
Have turned on debug logging ..but waiting for library scan to complete before restart..
in the mean time think these were the info logs from the offending time
  Code:
2012-11-04 22:21:12,918 INFO  [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface eth3 (Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller) and address 192.168.4.53, timeout = 0
2012-11-04 22:26:42,323 WARN  [ResourceDeliveryProcessor] Invalid request, sending back 500 error
org.serviio.dlna.UnsupportedDLNAMediaFileFormatException: No media description available for required version: FLAC
   at org.serviio.delivery.resource.AbstractDeliveryEngine.findMediaInfoForFileProfile(AbstractDeliveryEngine.java:254)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedMediaInfoForVersion(AbstractTranscodingDeliveryEngine.java:141)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.getMediaInfoForMediaItem(AbstractDeliveryEngine.java:109)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResourceInfo(MediaResourceRetrievalStrategy.java:148)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:91)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:79)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:191)
2012-11-04 22:26:43,838 WARN  [ResourceDeliveryProcessor] Invalid request, sending back 500 error
org.serviio.dlna.UnsupportedDLNAMediaFileFormatException: No media description available for required version: FLAC
   at org.serviio.delivery.resource.AbstractDeliveryEngine.findMediaInfoForFileProfile(AbstractDeliveryEngine.java:254)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedMediaInfoForVersion(AbstractTranscodingDeliveryEngine.java:141)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.getMediaInfoForMediaItem(AbstractDeliveryEngine.java:109)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResourceInfo(MediaResourceRetrievalStrategy.java:148)
   at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:91)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:79)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:191)

Re: Flac on ES 7000

PostPosted: Mon Nov 05, 2012 12:34 pm
by ginjaninja
ok so generic profile doesnt work for mkvs either...unlike Samsung C/D/E (7)...

only relevant difference in Samsung C/D/E profile i can see is

  Code:
<MediaFormatProfiles>
            <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/x-msvideo" name="">AVI</MediaFormatProfile>
        </MediaFormatProfiles>


interesting under samsung profile, pressing info on mkv on tv show file format video/x-mkv
but on generic profile, info shows file format video/x-matroska

so my guess is that the tv (renderer) supports specific names for specific formats ...the mediaformatprofiles tag defines the names for specific content/how the files are presented to the renderer and my tv likes video/x-mkv but it does not like video/x-matroska....so by that logic i just need to find what the samsung likes for FLAC....and add it to mediaformatprofile.....?

Anyone got a thorough explanation on the mediaformatprofile element.

thanks

Re: Flac on ES 7000

PostPosted: Mon Nov 05, 2012 1:06 pm
by ginjaninja
I cheated....

looked at what tv thought the fileformat was under ps3ms (flacs work under ps3ms).....audio/mpeg...
obviously it isnt (audio/mpeg), but i added
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
<MediaFormatProfile mime-type="video/x-msvideo" name="">AVI</MediaFormatProfile>
<MediaFormatProfile mime-type="audio/mpeg">FLAC</MediaFormatProfile>
</MediaFormatProfiles>


but its enough for the tv to think it likes it...and now i have my flacs playing woohoo....
(Service restart was required for profile change to come into effect)

no doubt i have fumbled my way through this without understanding DLNA at all...but this might help other samsung+ users get their content working.

it begs the question that if the renderer can deal natively with the stream with little or no support from the dlna server (describing the stream accurately), maybe there is a more generic profile that could be configured...where all natively playable content can just be added by extension into the profile under a mime name supported by the device.

Re: Flac on ES 7000

PostPosted: Mon Nov 05, 2012 4:32 pm
by ginjaninja
Scratch that...think this is better,,,
I used the Device spy utility http://forum.serviio.org/viewtopic.php?f=5&t=19

this seemed to confirm that the device wanted "audio/x-flac"
so changed to
  Code:
<MediaFormatProfile mime-type="audio/x-flac">FLAC</MediaFormatProfile>

now pressing info on flac on tv show file format=audio/x-flac...and the files still play...(no better functionality mind you)
oh well seems 'tidier' if not better.

Re: Flac on ES 7000

PostPosted: Mon Nov 05, 2012 11:20 pm
by zip
Great. Is ES still a E series or does it have some additional/different features and codec support? If it's different we can create a ES profile, otherwise we could split E from C/D and amend that.

I have a E series protocols here: http://wiki.serviio.org/doku.php?id=dev ... at_support

Re: Flac on ES 7000

PostPosted: Mon Nov 05, 2012 11:56 pm
by ginjaninja
E and ES , are the same generation i believe. E is plasma, ES is led.

I dont know for sure if they have the same support but i listed everything i could find for ES so far (including the device spy info) on
http://forum.serviio.org/viewtopic.php?f=10&t=7902&p=55707#p55707

a quick look at the samsung manual for e against es, under supported formats show they very similar if not identical in codec support.

http://forum.serviio.org/viewtopic.php?f=10&t=7902&p=55707#p55707

so perhaps the E (aka ES) profile just needs separating out and a bit of tweaking to bring out the best of what E/ES can offer.