Working on my profile for Metz Topas TV
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