Separate profiles for renderer and remote control
Hi,
I'm trying to set up a simple home setup and struggling. I'm running serviio on a PC, using a Panason PVR as a renderer and using an android app (BubbleUPnP) to control. The renderer can't open (for example) MKVs so I created a profile that transcoded them (and others) to MPEG2 streams. That works fine for browsing the serviio media server via the DLNA client in the PVR, but if I use bubbleupnp to send the video to the PVR it fails. If I force the same crippled renderer profile on my phone as the PVR uses it works fine, but I'd really rather have a profile for my phone and a different one for the PVR. Am I missing something obvious here?
I've included the logs below if that helps.
I'm trying to set up a simple home setup and struggling. I'm running serviio on a PC, using a Panason PVR as a renderer and using an android app (BubbleUPnP) to control. The renderer can't open (for example) MKVs so I created a profile that transcoded them (and others) to MPEG2 streams. That works fine for browsing the serviio media server via the DLNA client in the PVR, but if I use bubbleupnp to send the video to the PVR it fails. If I force the same crippled renderer profile on my phone as the PVR uses it works fine, but I'd really rather have a profile for my phone and a different one for the PVR. Am I missing something obvious here?
I've included the logs below if that helps.
- Code:
worked (PC -> PVR via PVR DLNA client)
2013-08-05 21:18:07,187 DEBUG [ServiioHttpService] Incoming request from /192.168.1.2:3052: GET /resource/294/MEDIA_ITEM/MPEG_TS_SD_EU_ISO-0/ORIGINAL HTTP/1.1, headers = [TimeSeekRange.dlna.org: npt=0.000-,HOST: 192.168.1.3:8895,transferMode.dlna.org: Streaming,getcontentFeatures.dlna.org: 1]]
2013-08-05 21:18:07,187 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2013-08-05 21:18:07,188 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2013-08-05 21:18:07,189 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.2, Profile=Panasonic DMR-HW220 (hughesy)'
2013-08-05 21:18:07,190 DEBUG [ResourceDeliveryProcessor] Request for resource 294 and type 'MEDIA_ITEM' received
2013-08-05 21:18:07,190 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 294 (local)
2013-08-05 21:18:07,190 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 294)
2013-08-05 21:18:07,199 DEBUG [VideoDAOImpl] Reading a Video (id = 294)
2013-08-05 21:18:07,200 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 294, format MPEG_TS_SD_EU_ISO and profile Panasonic DMR-HW220 (hughesy)
2013-08-05 21:18:07,200 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file top_gear.20x04.hdtv_x264-fov.mp4
2013-08-05 21:18:07,200 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file top_gear.20x04.hdtv_x264-fov.mp4: MPEG_TS_SD_EU_ISO
2013-08-05 21:18:07,200 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file top_gear.20x04.hdtv_x264-fov.mp4: MPEG_TS_SD_NA_ISO
2013-08-05 21:18:07,200 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file top_gear.20x04.hdtv_x264-fov.mp4: MPEG_TS_SD_KO_ISO
2013-08-05 21:18:07,201 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 294 (local)
2013-08-05 21:18:07,201 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 294)
2013-08-05 21:18:07,201 DEBUG [VideoDAOImpl] Reading a Video (id = 294)
2013-08-05 21:18:07,201 DEBUG [VideoDeliveryEngine] Delivering item '294' for client 'Identifier=192.168.1.2, Profile=Panasonic DMR-HW220 (hughesy)'
2013-08-05 21:18:07,201 DEBUG [VideoDeliveryEngine] Delivering file 'top_gear.20x04.hdtv_x264-fov.mp4' using transcoding
2013-08-05 21:18:07,202 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.1.2, Profile=Panasonic DMR-HW220 (hughesy)'
2013-08-05 21:18:07,202 DEBUG [MediaItemDAOImpl] Getting file of media item 294
2013-08-05 21:18:07,203 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: C:\Users\hugheses\Downloads\TV Shows\Top_Gear.20x04.HDTV_x264-FoV[rarbg]\top_gear.20x04.hdtv_x264-fov.mp4
2013-08-05 21:18:07,203 DEBUG [ProcessExecutor] Starting C:\Program Files\Serviio\bin\\..\lib/ffmpeg.exe -threads auto -i C:\Users\hugheses\Downloads\TV Shows\Top_Gear.20x04.HDTV_x264-FoV[rarbg]\top_gear.20x04.hdtv_x264-fov.mp4 -y -c:v mpeg2video -qscale:v 1 -r 25 -g 15 -c:a ac3 -b:a 128k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-294-dmrhw220-ORIGINAL.stf
2013-08-05 21:18:07,706 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2013-08-05 21:18:07,706 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file top_gear.20x04.hdtv_x264-fov.mp4: MPEG_TS_SD_EU_ISO
2013-08-05 21:18:07,707 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file top_gear.20x04.hdtv_x264-fov.mp4: MPEG_TS_SD_NA_ISO
2013-08-05 21:18:07,707 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file top_gear.20x04.hdtv_x264-fov.mp4: MPEG_TS_SD_KO_ISO
2013-08-05 21:18:07,707 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 294) as read
Failed (PC -> PVR via bubbleupnp):
2013-08-05 21:24:19,009 DEBUG [ServiioHttpService] Incoming request from /192.168.1.2:4593: GET /resource/294/MEDIA_ITEM/AVC_MP4_MP_SD_AAC_MULT5-0/ORIGINAL HTTP/1.1, headers = [Range: bytes=0-,HOST: 192.168.1.3:8895,transferMode.dlna.org: Streaming,getcontentFeatures.dlna.org: 1]]
2013-08-05 21:24:19,010 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2013-08-05 21:24:19,010 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.2
2013-08-05 21:24:19,011 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=192.168.1.2, Profile=Panasonic DMR-HW220 (hughesy)'
2013-08-05 21:24:19,011 DEBUG [ResourceDeliveryProcessor] Request for resource 294 and type 'MEDIA_ITEM' received
2013-08-05 21:24:19,011 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 294 (local)
2013-08-05 21:24:19,011 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 294)
2013-08-05 21:24:19,013 DEBUG [VideoDAOImpl] Reading a Video (id = 294)
2013-08-05 21:24:19,015 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 294, format AVC_MP4_MP_SD_AAC_MULT5 and profile Panasonic DMR-HW220 (hughesy)
2013-08-05 21:24:19,016 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file top_gear.20x04.hdtv_x264-fov.mp4
2013-08-05 21:24:19,016 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file top_gear.20x04.hdtv_x264-fov.mp4: MPEG_TS_SD_EU_ISO
2013-08-05 21:24:19,016 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file top_gear.20x04.hdtv_x264-fov.mp4: MPEG_TS_SD_NA_ISO
2013-08-05 21:24:19,016 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file top_gear.20x04.hdtv_x264-fov.mp4: MPEG_TS_SD_KO_ISO
2013-08-05 21:24:19,016 WARN [ResourceDeliveryProcessor] Invalid request, sending back 500 error
org.serviio.dlna.UnsupportedDLNAMediaFileFormatException: No media description available for required version: AVC_MP4_MP_SD_AAC_MULT5
at org.serviio.delivery.resource.AbstractDeliveryEngine.findMediaInfoForFileProfile(AbstractDeliveryEngine.java:290)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedMediaInfoForVersion(AbstractTranscodingDeliveryEngine.java:147)
at org.serviio.delivery.resource.AbstractDeliveryEngine.getMediaInfoForMediaItem(AbstractDeliveryEngine.java:122)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResourceInfo(MediaResourceRetrievalStrategy.java:151)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:79)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:85)
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:77)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)