FAQ  •  Register  •  Login

Working on my profile for Metz Topas TV

<<

Docjones

Serviio newbie

Posts: 9

Joined: Tue Mar 22, 2016 9:49 pm

Post Tue Mar 22, 2016 9:55 pm

Working on my profile for Metz Topas TV

Hello,

i have made a crude profile to transcode DTS audio in mkv files on the fly:
  Code:
...
<Profile id="Metz Topas TV" name="Metz Topas TV" extendsProfileId="1">
                <Detection>
                        <UPnPSearch>
                                <FriendlyName>Metz-TV Renderer</FriendlyName>
                                <ModelName>Metz TV</ModelName>
                                <ModelNumber>1.0</ModelNumber>
                                <Manufacturer>Metz</Manufacturer>
                        </UPnPSearch>
                </Detection>
                <Transcoding>
                        <Video targetContainer="mpegts" targetACodec="ac3">
                                <Matches container="*" vCodec="h264" aCodec="dts-hd" />   
                        </Video>
                </Transcoding>
        </Profile>
...

Here is the debug-log of the request:
  Code:
2016-03-22 22:43:36,614 DEBUG [ServiioHttpService] Incoming request from /192.168.50.50:49378: GET /resource/228/MEDIA_ITEM/MATROSKA-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.50.62:8895,Connection: close,User-Agent: libsoup/2.26.3]]
2016-03-22 22:43:36,614 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.50.50
2016-03-22 22:43:36,615 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.50.50
2016-03-22 22:43:36,619 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.50.50, Profile=Metz Topas TV'
2016-03-22 22:43:36,620 DEBUG [ResourceDeliveryProcessor] Request for resource 228 and type 'MEDIA_ITEM' received
2016-03-22 22:43:36,621 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 228 (local)
2016-03-22 22:43:36,621 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 228)
2016-03-22 22:43:36,633 DEBUG [VideoDAOImpl] Reading a Video (id = 228)
2016-03-22 22:43:36,652 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 228, format MATROSKA and profile Metz Topas TV
2016-03-22 22:43:36,654 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 228 (local)
2016-03-22 22:43:36,654 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 228)
2016-03-22 22:43:36,654 DEBUG [VideoDAOImpl] Reading a Video (id = 228)
2016-03-22 22:43:36,655 DEBUG [VideoDeliveryEngine] Delivering item '228' for client 'Identifier=192.168.50.50, Profile=Metz Topas TV'
2016-03-22 22:43:36,655 DEBUG [VideoDeliveryEngine] Delivering file 'video-1080p.mkv' in native format
2016-03-22 22:43:36,655 DEBUG [MediaItemDAOImpl] Getting file of media item 228
2016-03-22 22:43:36,655 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 228) as read
2016-03-22 22:43:36,682 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2016-03-22 22:43:36,682 DEBUG [GETMethodProcessor] Stream entity has length: 12298487547
2016-03-22 22:43:36,683 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Length: 12298487547,Content-Type: video/x-matroska,Cache-control: no-cache,Connection: close,Date: Tue, 22 Mar 2016 21:43:36 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Mac OS X, UPnP/1.0 DLNADOC/1.50, Serviio/1.6,transferMode.dlna.org: Streaming]]
2016-03-22 22:43:36,797 DEBUG [WebServer] I/O error: Broken pipe
2016-03-22 22:43:36,803 DEBUG [ServiioHttpService] Incoming request from /192.168.50.50:49379: GET /resource/228/MEDIA_ITEM/MATROSKA-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.50.62:8895,Connection: close,Range: bytes=12298487546-,User-Agent: libsoup/2.26.3]]
2016-03-22 22:43:36,803 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.50.50
2016-03-22 22:43:36,804 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.50.50
2016-03-22 22:43:36,804 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.50.50, Profile=Metz Topas TV'
2016-03-22 22:43:36,804 DEBUG [ResourceDeliveryProcessor] Request for resource 228 and type 'MEDIA_ITEM' received
2016-03-22 22:43:36,804 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 228 (local)
2016-03-22 22:43:36,804 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 228)
2016-03-22 22:43:36,805 DEBUG [VideoDAOImpl] Reading a Video (id = 228)
2016-03-22 22:43:36,806 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 228, format MATROSKA and profile Metz Topas TV
2016-03-22 22:43:36,806 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 228 (local)
2016-03-22 22:43:36,806 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 228)
2016-03-22 22:43:36,806 DEBUG [VideoDAOImpl] Reading a Video (id = 228)
2016-03-22 22:43:36,806 DEBUG [VideoDeliveryEngine] Delivering item '228' for client 'Identifier=192.168.50.50, Profile=Metz Topas TV'
2016-03-22 22:43:36,806 DEBUG [VideoDeliveryEngine] Delivering file 'video-1080p.mkv' in native format
2016-03-22 22:43:36,806 DEBUG [MediaItemDAOImpl] Getting file of media item 228
2016-03-22 22:43:36,807 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 228) as read
2016-03-22 22:43:36,807 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2016-03-22 22:43:36,807 DEBUG [GETMethodProcessor] Stream entity has length: 1
2016-03-22 22:43:36,808 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Length: 1,Content-Type: video/x-matroska,Cache-control: no-cache,Connection: close,Content-Range: bytes 12298487546-12298487546/12298487547,Date: Tue, 22 Mar 2016 21:43:36 GMT,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*,Server: Mac OS X, UPnP/1.0 DLNADOC/1.50, Serviio/1.6,transferMode.dlna.org: Streaming]]
2016-03-22 22:43:36,942 DEBUG [ServiioHttpService] Incoming request from /192.168.50.50:49380: GET /resource/228/MEDIA_ITEM/MATROSKA-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.50.62:8895,Connection: close,Range: bytes=12298417341-,User-Agent: libsoup/2.26.3]]
2016-03-22 22:43:36,942 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.50.50
2016-03-22 22:43:36,942 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.50.50
2016-03-22 22:43:36,942 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.50.50, Profile=Metz Topas TV'
...


It seems to me, that serviio recognizes the correct profile ("...Profile=Metz Topas TV..."), but doesnt start to transcode ("...Delivering file 'video-1080p.mkv' in native format...").

Can anyone help me find my error?

thanks and regards
/d
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Tue Mar 22, 2016 10:05 pm

Re: Working on my profile for Metz Topas TV

Are you sure your source video file has HD DTS as it first audio stream. Check/post MediaInfo for the file.

If it proves to be DTS (rather than HD) try this:

  Code:
<Matches container="*" vCodec="h264" aCodec="dts-hd" />
<Matches container="*" vCodec="h264" aCodec="dca" />
The second line triggers transcode for standard DTS.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

Docjones

Serviio newbie

Posts: 9

Joined: Tue Mar 22, 2016 9:49 pm

Post Tue Mar 22, 2016 10:16 pm

Re: Working on my profile for Metz Topas TV

Ah, ok - i tried that out, now i have the following in my log:

  Code:
2016-03-22 23:07:10,814 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 228, format MATROSKA and profile Metz Topas TV
2016-03-22 23:07:10,814 DEBUG [AbstractAVTranscodingDeliveryEngine] Getting media info for transcoded version of file video-1080p.mkv
2016-03-22 23:07:10,814 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "video-1080p.mkv": AVC_TS_MP_HD_AC3_ISO
2016-03-22 23:07:10,815 WARN  [ResourceDeliveryProcessor] Invalid request, sending back 500 error
org.serviio.dlna.UnsupportedDLNAMediaFileFormatException: No media description available for required version: MATROSKA
        at org.serviio.delivery.resource.AbstractDeliveryEngine.findMediaInfoForFileProfile(AbstractDeliveryEngine.java:217)
        at org.serviio.delivery.resource.transcode.AbstractAVTranscodingDeliveryEngine.retrieveTranscodedMediaInfoForVersion(AbstractAVTranscodingDeliveryEngine.java:165)
        at org.serviio.delivery.resource.AbstractDeliveryEngine.getMediaInfoForMediaItem(AbstractDeliveryEngine.java:107)
        at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResourceInfo(MediaResourceRetrievalStrategy.java:187)
        at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:80)
        at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:86)
        at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
        at org.apache.http.protocol.HttpService.doService(HttpService.java:423)
        at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:78)
        at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:341)
        at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:204)


I attached the Media Information from VLC

thanks & regards
/d
Attachments
Bildschirmfoto 2016-03-22 um 23.14.51.png
Bildschirmfoto 2016-03-22 um 23.14.51.png (90.46 KiB) Viewed 8954 times
<<

Docjones

Serviio newbie

Posts: 9

Joined: Tue Mar 22, 2016 9:49 pm

Post Fri Mar 25, 2016 2:35 pm

Re: Working on my profile for Metz Topas TV

Can someone please have a look?
I am still stuck with transcoding.

If it may be of any help, here is the output from the GetProtocolInfo(...) function of my TV:
  Code:
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520;DLNA.ORG_FLAGS=8d100000000000000000000000000000,
http-get:*:audio/x-wav:*,
http-get:*:audio/mp4:*,
http-get:*:video/flv:*,
http-get:*:video/mp4:*,
http-get:*:video/x-matroska:*


thanks in advance
/D
<<

Docjones

Serviio newbie

Posts: 9

Joined: Tue Mar 22, 2016 9:49 pm

Post Fri Mar 25, 2016 10:30 pm

Re: Working on my profile for Metz Topas TV

Jumped onto the profile.xml - its all a bit vague documented, here are my assumptions so far (perhaps someone can confirm):

- MediaFormatProfile: eg
<MediaFormatProfile mime-type=" video/mp4 ">AVC_MP4_BL_CIF15_AAC_520</MediaFormatProfile>
Every video of mime-type video/mp4 in Library will be presented to the requesting render device (aka TV) as AVC_MP4_BL_CIF15_AAC_520. I am still a bit unsure about the name parameter of the tag... :?:

- Transcoding Audio DTS to ac only:
  Code:
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="*" aCodec="dts-hd" />   
            <Matches container="*" aCodec="dca" />   
         </Video>
      </Transcoding>
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Fri Mar 25, 2016 11:29 pm

Re: Working on my profile for Metz Topas TV

Quick question first. Searching the forum suggests this error is often seen if you are using a DLNA controller application (eg BubbleUPNP). Are you using anything like that?
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

Docjones

Serviio newbie

Posts: 9

Joined: Tue Mar 22, 2016 9:49 pm

Post Sat Mar 26, 2016 8:15 am

Re: Working on my profile for Metz Topas TV

No, nothing at all - i just use my TV capabilities to browse and request files from serviio running on an iMac.

Yesterday i noticed, that various other mime types are not working properly as well (eg. flv and even avi??). i will try to create a dedicated library with one file of each mime type to smooth the process a bit and report back here.

in any case - thanks for any help :)
/D
<<

Docjones

Serviio newbie

Posts: 9

Joined: Tue Mar 22, 2016 9:49 pm

Post Sat Mar 26, 2016 4:39 pm

Re: Working on my profile for Metz Topas TV

So, i set up a small library with various files. Here is the outcome so far:

[*] AVI File with xvid codec and AC-3 Audio Stream: is not shown on the browselist on the TV. Only Message in the log is:
  Code:
2016-03-26 16:52:19,203 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "xvid-cd1.avi": MPEG_PS_PAL
2016-03-26 16:52:19,203 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "xvid-cd1.avi": MPEG_PS_NTSC


[*] FLV with AVC codec and AAC audio: is delivered natively, but cant rewind or forward. Jumps back to the beginning each time

[*] MKV with AVC codec and AC-3 audio: is delivered natively and can be rewinded or forwarded without problems

[*] MKV with AVC codec and DTS audio: is not shown on the browselist on the TV
  Code:
2016-03-26 16:52:37,094 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "video-1080p.mkv": AVC_TS_MP_HD_AC3_ISO


Thats my current profile entry:
  Code:
      
      <MediaFormatProfiles>
         <!--
            <MediaFormatProfile mime-type="video/x-matroska">MATROSKA</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
           -->
           <MediaFormatProfile mime-type="video/mp4" name="AVC_MP4_BL_CIF15_AAC_520">AVC_MP4_MP_SD_DTS</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="*" aCodec="dts-hd" />   
            <Matches container="*" aCodec="dca" />   
         </Video>
      </Transcoding>


I am a bit clueless: I would have expected at least transcoding to work. But i cant even select the files to be transcoded.

Any help is appreciated
regards
/D
<<

Calypso

Serviio newbie

Posts: 1

Joined: Sun Mar 27, 2016 10:51 pm

Post Sun Mar 27, 2016 11:02 pm

Re: Working on my profile for Metz Topas TV

I have a Metz too, but my problem is, that all the mkv files with DTS stream (which souhld be transcoded to AC3) with the following profile are not visible in the playlist on TV. What are the things I have to define, that these files are visible so that I can check, if they will be transcoded?


  Code:
   <Profile id="Metz" name="Metz TV" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <Manufacturer>Metz</Manufacturer>
         </UPnPSearch>
      </Detection>
        <MediaFormatProfiles>
            <MediaFormatProfile mime-type="video/x-matroska">MATROSKA</MediaFormatProfile>
        </MediaFormatProfiles>
        <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
      <Transcoding>
         <!--DTS Files not visible-->
         <Video targetContainer="m2ts" targetACodec="ac3">
            <Matches container="matroska" vCodec="h264" aCodec="dca" />
         </Video>
or
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="matroska" aCodec="dca" />
         </Video>
      </Transcoding>
   </Profile>
<<

Docjones

Serviio newbie

Posts: 9

Joined: Tue Mar 22, 2016 9:49 pm

Post Mon Apr 04, 2016 3:38 pm

Re: Working on my profile for Metz Topas TV

Bump? :ugeek:
<<

Docjones

Serviio newbie

Posts: 9

Joined: Tue Mar 22, 2016 9:49 pm

Post Mon Apr 04, 2016 3:51 pm

Re: Working on my profile for Metz Topas TV

Calypso wrote:I have a Metz too, but my problem is, that all the mkv files with DTS stream (which souhld be transcoded to AC3) with the following profile are not visible in the playlist on TV. What are the things I have to define, that these files are visible so that I can check, if they will be transcoded?



... which is exactly the same problem i have. Did you got any further?
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Wed Apr 06, 2016 12:54 pm

Re: Working on my profile for Metz Topas TV

Unfortunately without the TV it's difficult to help. The only thing I can think of is that you try all other profiles and see if any of them allow the file to be played. With that info and the sink details from above we can then perhaps move forward.

It could also be that the METZ simply doesn't support transcoded files - the older LG's were like that apparently (based on this one post it seems to be an issue with Plex as well...)
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 27 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.