FAQ  •  Register  •  Login

[SOLVED] Directv HD-DVR and Serviio 1.0.1 not transcoding.

<<

noname101

Serviio newbie

Posts: 7

Joined: Mon Mar 28, 2011 5:53 pm

Post Sun Oct 28, 2012 2:25 pm

[SOLVED] Directv HD-DVR and Serviio 1.0.1 not transcoding.

I am getting error when I try to use Serviio on my Directv HD-DVR HR-24/100.
Serviio Version 0.5.2 worked fine.

I have tried with both avi and matroska files and neither of them play.
I get ffmpeg errors in my log.

I am running this on a Debain 64 bit server with java 6.
Is there anyway to see what the ffmpeg call is? I would like to run ffmpeg with the same command that serviio is using, to see any errors but I do not see anyway to do that.


Here is the ffmpeg -i output.
ffmpeg -i Test.mkv
FFmpeg version 0.6.2, Copyright (c) 2000-2010 the FFmpeg developers
built on Mar 26 2011 11:23:58 with gcc 4.5.2
configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska @ 0xdf76b0]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/1001) -> 24.00 (24/1)
Input #0, matroska, from 'Test.mkv':
Metadata:
doctype : matroska
Duration: 00:55:46.17, start: 0.000000, bitrate: 384 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 24 tbr, 1k tbn, 47.95 tbc
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
At least one output file must be specified


Here is the error from my logs:
2012-10-28 10:18:19,684 WARN [ResourceDeliveryProcessor] Invalid request, sending back 400 error
org.serviio.upnp.protocol.http.transport.InvalidResourceRequestException: Invalid incoming request: /resource/14593/MEDIA_ITEM/MPEG_PS_PAL-0
at org.serviio.upnp.protocol.http.transport.RequestedResourceDescriptor.<init>(RequestedResourceDescriptor.java:73)
at org.serviio.upnp.protocol.http.transport.AbstractProtocolHandler.getRequestedResourceDescription(AbstractProtocolHandler.java:33)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:76)
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)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
at org.serviio.upnp.protocol.http.transport.RequestedResourceDescriptor.<init>(RequestedResourceDescriptor.java:70)
... 8 more
2012-10-28 10:18:19,912 WARN [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error.
2012-10-28 10:18:27,395 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/disk3/temp/Serviio/transcoding-temp-14593-6-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/disk3/temp/Serviio/transcoding-temp-14593-6-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
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-10-28 10:18:27,479 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/disk3/temp/Serviio/transcoding-temp-14593-6-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/disk3/temp/Serviio/transcoding-temp-14593-6-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
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)

I also turned DEBUG on and have that log.

2012-10-28 10:22:47,725 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:00:45
2012-10-28 10:22:53,867 DEBUG [WebServer] Incoming connection from /10.0.2.119:49066
2012-10-28 10:22:53,925 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.0.2.119
2012-10-28 10:22:53,925 DEBUG [ResourceTransportRequestHandler] GET /resource/14593/MEDIA_ITEM/MPEG_PS_PAL-0 HTTP/1.1, headers = [Host: 10.0.2.214:8895,Connection: Keep-Alive,User-Agent: Apache-HttpClient/UNAVAILABLE (java 1.4)]]
2012-10-28 10:22:53,926 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.0.2.119
2012-10-28 10:22:53,926 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/10.0.2.119, Profile=DirecTV HD-DVR'
2012-10-28 10:22:53,926 WARN [ResourceDeliveryProcessor] Invalid request, sending back 400 error
org.serviio.upnp.protocol.http.transport.InvalidResourceRequestException: Invalid incoming request: /resource/14593/MEDIA_ITEM/MPEG_PS_PAL-0
at org.serviio.upnp.protocol.http.transport.RequestedResourceDescriptor.<init>(RequestedResourceDescriptor.java:73)
at org.serviio.upnp.protocol.http.transport.AbstractProtocolHandler.getRequestedResourceDescription(AbstractProtocolHandler.java:33)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:76)
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)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
at org.serviio.upnp.protocol.http.transport.RequestedResourceDescriptor.<init>(RequestedResourceDescriptor.java:70)
... 8 more
2012-10-28 10:22:54,096 DEBUG [WebServer] Incoming connection from /10.0.2.119:43517
2012-10-28 10:22:54,097 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.0.2.119
2012-10-28 10:22:54,097 DEBUG [ResourceTransportRequestHandler] GET /resource/14593/MEDIA_ITEM/MPEG_PS_PAL-0/ORIGINAL HTTP/1.1, headers = [User-Agent: Lavf54.33.100,Accept: */*,Range: bytes=0-,Connection: close,Host: 10.0.2.214:8895]]
2012-10-28 10:22:54,098 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.0.2.119
2012-10-28 10:22:54,098 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/10.0.2.119, Profile=DirecTV HD-DVR'
2012-10-28 10:22:54,098 DEBUG [ResourceDeliveryProcessor] Request for resource 14593 and type 'MEDIA_ITEM' received
2012-10-28 10:22:54,098 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 14593 (local)
2012-10-28 10:22:54,098 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 14593)
2012-10-28 10:22:54,099 DEBUG [VideoDAOImpl] Reading a Video (id = 14593)
2012-10-28 10:22:54,100 DEBUG [VideoDeliveryEngine] Delivering item '14593' for client 'IPAddress=/10.0.2.119, Profile=DirecTV HD-DVR'
2012-10-28 10:22:54,100 DEBUG [VideoDeliveryEngine] Delivering file 'Test.mkv' using transcoding
2012-10-28 10:22:54,100 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/10.0.2.119, Profile=DirecTV HD-DVR'
2012-10-28 10:22:54,100 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/disk3/temp/Serviio/transcoding-temp-14593-6-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/disk3/temp/Serviio/transcoding-temp-14593-6-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
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-10-28 10:22:54,131 DEBUG [WebServer] Incoming connection from /10.0.2.119:43518
2012-10-28 10:22:54,132 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.0.2.119
2012-10-28 10:22:54,132 DEBUG [ResourceTransportRequestHandler] GET /resource/14593/MEDIA_ITEM/MPEG_PS_PAL-0/ORIGINAL HTTP/1.1, headers = [Host: 10.0.2.214,Bandwidth: 11000000,User-Agent: HTC Streaming Player verizon_wwe / 1.0 / inc / 2.3.4,x-network-type: WIFI,x-wap-profile: http://uaprof.vtext.com/pcd/adr63k/adr63k.xml]]
2012-10-28 10:22:54,132 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.0.2.119
2012-10-28 10:22:54,133 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/10.0.2.119, Profile=DirecTV HD-DVR'
2012-10-28 10:22:54,133 DEBUG [ResourceDeliveryProcessor] Request for resource 14593 and type 'MEDIA_ITEM' received
2012-10-28 10:22:54,133 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 14593 (local)
2012-10-28 10:22:54,133 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 14593)
2012-10-28 10:22:54,133 DEBUG [VideoDAOImpl] Reading a Video (id = 14593)
2012-10-28 10:22:54,134 DEBUG [VideoDeliveryEngine] Delivering item '14593' for client 'IPAddress=/10.0.2.119, Profile=DirecTV HD-DVR'
2012-10-28 10:22:54,134 DEBUG [VideoDeliveryEngine] Delivering file 'Test.mkv' using transcoding
2012-10-28 10:22:54,134 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/10.0.2.119, Profile=DirecTV HD-DVR'
2012-10-28 10:22:54,134 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/disk3/temp/Serviio/transcoding-temp-14593-6-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/disk3/temp/Serviio/transcoding-temp-14593-6-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
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)
Last edited by noname101 on Tue Oct 30, 2012 11:39 am, edited 1 time in total.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 14136

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 29, 2012 1:32 pm

Re: Directv HD-DVR and Serviio 1.0.1 not transcoding.

you have to upgrade your FFmpeg
<<

noname101

Serviio newbie

Posts: 7

Joined: Mon Mar 28, 2011 5:53 pm

Post Tue Oct 30, 2012 11:37 am

Re: Directv HD-DVR and Serviio 1.0.1 not transcoding.

Yes, that was it. I was using the deb installed bin, I compiled it as per your instructions and it works great.

Thank you.
<<

Illico

User avatar

DLNA master

Posts: 4398

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Oct 30, 2012 11:38 am

Re: Directv HD-DVR and Serviio 1.0.1 not transcoding.

So topic solved ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 2 guests

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