FAQ  •  Register  •  Login

Profile doesn't work?

<<

Laire

Serviio newbie

Posts: 17

Joined: Sat Oct 18, 2014 9:25 am

Post Mon Oct 20, 2014 9:04 pm

Profile doesn't work?

Hello,

I add this profile:

  Code:
   <Profile id="test" name="Test" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <ModelName>Test</ModelName>
         </UPnPSearch>
      </Detection>
      <Transcoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="matroska" />   
         </Video>
      </Transcoding>
   </Profile>   


In the PHP UI (headless Server) I assign this Profile to the IP from my PC.

1.
With Windows Media Player I see the Serviio Server, but can't find all the movies i have added.

2.
With VLC I find the movies and folders which I can't see with the WMP.
But when I now play a Movie, in this case a mkv container with Video-Codec: H264 - MPEG-4 AVC (part 10) (avc1) and Audio-Codec Codec: DTS Audio (dts ) it don't transcode the video.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 20, 2014 9:41 pm

Re: Profile doesn't work?

WMP doesn't work with Serviio.

For VLC just use the generic profile, it'll play everything without transcoding.
<<

Laire

Serviio newbie

Posts: 17

Joined: Sat Oct 18, 2014 9:25 am

Post Tue Oct 21, 2014 12:12 am

Re: Profile doesn't work?

I know its play everything but I want to test the transcoding.
But VLC receive the original file...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 22, 2014 8:45 am

Re: Profile doesn't work?

You don't need the detection block. When you enable detailed logging and play the file, what does the log say? it should show which profile is being used to serve the file.
<<

Laire

Serviio newbie

Posts: 17

Joined: Sat Oct 18, 2014 9:25 am

Post Sat Oct 25, 2014 9:34 pm

Re: Profile doesn't work?

This is from the Log File:

2014-10-25 23:21:18,643 DEBUG [ServiioHttpService] Incoming request from /192.168.188.25:58012: GET /resource/37/MEDIA_ITEM/MATROSKA-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.188.26:8895,User-Agent: VLC/2.0.8 LibVLC/2.0.8,Range: bytes=0-,Connection: close,Icy-MetaData: 1]]
2014-10-25 23:21:18,646 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.188.25
2014-10-25 23:21:18,660 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.188.25
2014-10-25 23:21:18,711 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.188.25, Profile=Test'
2014-10-25 23:21:18,717 DEBUG [ResourceDeliveryProcessor] Request for resource 37 and type 'MEDIA_ITEM' received
2014-10-25 23:21:18,718 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 37 (local)
2014-10-25 23:21:18,719 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 37)
2014-10-25 23:21:18,792 DEBUG [VideoDAOImpl] Reading a Video (id = 37)
2014-10-25 23:21:18,799 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 37, format MATROSKA and profile Test
2014-10-25 23:21:18,818 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 37 (local)
2014-10-25 23:21:18,819 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 37)
2014-10-25 23:21:18,823 DEBUG [VideoDAOImpl] Reading a Video (id = 37)
2014-10-25 23:21:18,830 DEBUG [VideoDeliveryEngine] Delivering item '37' for client 'Identifier=192.168.188.25, Profile=Test'
2014-10-25 23:21:18,831 DEBUG [VideoDeliveryEngine] Delivering file '12 Years a Slave.mkv' in native format
2014-10-25 23:21:18,832 DEBUG [MediaItemDAOImpl] Getting file of media item 37
2014-10-25 23:21:18,837 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 37) as read
2014-10-25 23:21:18,933 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2014-10-25 23:21:18,935 DEBUG [GETMethodProcessor] Stream entity has length: 4084731329
2014-10-25 23:21:18,942 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-matroska,Content-Length: 4084731329,Date: Sat, 25 Oct 2014 21:21:18 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,Content-Range: bytes 0-4084731328/4084731329,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-10-25 23:21:18,947 DEBUG [WebServer] I/O error: Connection reset
2014-10-25 23:21:18,960 DEBUG [ServiioHttpService] Incoming request from /192.168.188.25:58013: GET /resource/37/MEDIA_ITEM/MATROSKA-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.188.26:8895,User-Agent: VLC/2.0.8 LibVLC/2.0.8,Range: bytes=4084703997-,Connection: close,Icy-MetaData: 1]]
2014-10-25 23:21:18,962 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.188.25
2014-10-25 23:21:18,966 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.188.25
2014-10-25 23:21:18,971 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.188.25, Profile=Test'
2014-10-25 23:21:18,972 DEBUG [ResourceDeliveryProcessor] Request for resource 37 and type 'MEDIA_ITEM' received
2014-10-25 23:21:18,973 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 37 (local)
2014-10-25 23:21:18,973 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 37)
2014-10-25 23:21:18,978 DEBUG [VideoDAOImpl] Reading a Video (id = 37)
2014-10-25 23:21:18,985 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 37, format MATROSKA and profile Test
2014-10-25 23:21:18,986 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 37 (local)
2014-10-25 23:21:18,987 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 37)
2014-10-25 23:21:18,992 DEBUG [VideoDAOImpl] Reading a Video (id = 37)
2014-10-25 23:21:18,998 DEBUG [VideoDeliveryEngine] Delivering item '37' for client 'Identifier=192.168.188.25, Profile=Test'
2014-10-25 23:21:18,999 DEBUG [VideoDeliveryEngine] Delivering file '12 Years a Slave.mkv' in native format
2014-10-25 23:21:19,000 DEBUG [MediaItemDAOImpl] Getting file of media item 37
2014-10-25 23:21:19,004 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 37) as read
2014-10-25 23:21:19,012 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2014-10-25 23:21:19,013 DEBUG [GETMethodProcessor] Stream entity has length: 27332
2014-10-25 23:21:19,014 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-matroska,Content-Length: 27332,Date: Sat, 25 Oct 2014 21:21:19 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,Content-Range: bytes 4084703997-4084731328/4084731329,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-10-25 23:21:19,441 DEBUG [ServiioHttpService] Incoming request from /192.168.188.25:58014: GET /resource/37/MEDIA_ITEM/MATROSKA-0/ORIGINAL HTTP/1.1, headers = [Host: 192.168.188.26:8895,User-Agent: VLC/2.0.8 LibVLC/2.0.8,Range: bytes=8096-,Connection: close,Icy-MetaData: 1]]
2014-10-25 23:21:19,442 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.188.25
2014-10-25 23:21:19,447 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.188.25
2014-10-25 23:21:19,452 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.188.25, Profile=Test'
2014-10-25 23:21:19,453 DEBUG [ResourceDeliveryProcessor] Request for resource 37 and type 'MEDIA_ITEM' received
2014-10-25 23:21:19,453 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 37 (local)
2014-10-25 23:21:19,454 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 37)
2014-10-25 23:21:19,459 DEBUG [VideoDAOImpl] Reading a Video (id = 37)
2014-10-25 23:21:19,467 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 37, format MATROSKA and profile Test
2014-10-25 23:21:19,469 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 37 (local)
2014-10-25 23:21:19,469 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 37)
2014-10-25 23:21:19,474 DEBUG [VideoDAOImpl] Reading a Video (id = 37)
2014-10-25 23:21:19,482 DEBUG [VideoDeliveryEngine] Delivering item '37' for client 'Identifier=192.168.188.25, Profile=Test'
2014-10-25 23:21:19,483 DEBUG [VideoDeliveryEngine] Delivering file '12 Years a Slave.mkv' in native format
2014-10-25 23:21:19,483 DEBUG [MediaItemDAOImpl] Getting file of media item 37
2014-10-25 23:21:19,487 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 37) as read
2014-10-25 23:21:19,496 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2014-10-25 23:21:19,497 DEBUG [GETMethodProcessor] Stream entity has length: 4084723233
2014-10-25 23:21:19,504 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-matroska,Content-Length: 4084723233,Date: Sat, 25 Oct 2014 21:21:19 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,Content-Range: bytes 8096-4084731328/4084731329,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2014-10-25 23:21:21,251 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-25 23:21:22,527 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:avm-aha:1 from address /192.168.188.1:37292s
2014-10-25 23:21:22,729 DEBUG [WebServer] I/O error: Connection reset
2014-10-25 23:21:26,247 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-25 23:21:27,527 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:avm-aha:1 from address /192.168.188.1:37292s
2014-10-25 23:21:31,216 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-25 23:21:32,527 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:avm-aha:1 from address /192.168.188.1:37292s
2014-10-25 23:21:36,244 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-25 23:21:37,528 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:avm-aha:1 from address /192.168.188.1:37292s
2014-10-25 23:21:39,022 DEBUG [WebServer] I/O error: Connection reset
2014-10-25 23:21:39,040 DEBUG [ServiioHttpService] Incoming request from /192.168.188.25:58016: UNSUBSCRIBE /serviceEventing/ContentDirectory HTTP/1.1, headers = [HOST: 192.168.188.26:8895,SID: uuid:26a1e2e1-c066-4381-b992-06011ee03afc,USER-AGENT: 6.1.7601 2/Service Pack 1, UPnP/1.0, Portable SDK for UPnP devices/1.6.18]]
2014-10-25 23:21:39,042 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.188.25
2014-10-25 23:21:39,050 DEBUG [ServiceEventSubscriptionRequestHandler] ServiceEvent unsubscription request received for service ContentDirectory and subscription uuid:26a1e2e1-c066-4381-b992-06011ee03afc
2014-10-25 23:21:39,052 DEBUG [ServiceEventSubscriptionRequestHandler] Event subscription (uuid=26a1e2e1-c066-4381-b992-06011ee03afc) removed for service urn:upnp-org:serviceId:ContentDirectory
2014-10-25 23:21:41,287 DEBUG [RendererDAOImpl] Retrieving list of all stored renderers
2014-10-25 23:21:42,528 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:avm-aha:1 from address /192.168.188.1:37292s


I changed the Profile in the xml to this:

  Code:
        <Profile id="cc" name="Chromecast" extendsProfileId="1">
                <Transcoding>
                        <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" forceStereo="true" >
                                <Matches container="matroska" />
                        </Video>
                </Transcoding>
        </Profile>


VLC shows me as audio codec still DTS

For explanation, the receiver don't support DTS Audio
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 29, 2014 5:28 pm

Re: Profile doesn't work?

it uses the right profile to retrieve the file. Maybe further up in the log, when you browse, it uses a different profile. Can you post that part of the log?

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 19 guests

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