Page 1 of 1

Mkv Support

PostPosted: Sun May 15, 2011 4:31 pm
by kiteboy
Hi

Installed servvio on ubuntu 10.10 server (headless)

Seems to be working ok however cant seem to stream a few 720p mkv files - which I was hoping it would

Ive left everything at default and chosen the SONY profile in the Web front end for serviio and normal divx files are streaming fine

However when I play an mkv it says cannot be contacted (or along those lines)

Any ideas on how to possibly fix
Thanks all

Re: Mkv Support

PostPosted: Sun May 15, 2011 4:46 pm
by zip
post the log

Re: Mkv Support

PostPosted: Sun May 15, 2011 9:46 pm
by moose
Hello -

I have ubuntu 10.04 server installed.
The os is totally up to date to 10.04.2.
I tried installing ffmpeg & lame via apt-get install, they installed correctly

serviio is working for most file types, not mkv.
I tested ffmpeg on it's own and found it was unable to convert an mkv to another file type - O assume this is a result of missing deps.

I have no tried installing with the ffmpeg package on the serviio site because I dont know which options to enable in the ./configure.

Can someone please post their install steps here?? Thanks..

Re: Mkv Support

PostPosted: Mon May 16, 2011 8:57 am
by zip
moose wrote:I have no tried installing with the ffmpeg package on the serviio site because I dont know which options to enable in the ./configure.

Have a look at the readme file in Serviio distribution

Re: Mkv Support

PostPosted: Mon May 16, 2011 6:46 pm
by kiteboy
Does this help??


Thanks for any info


2011-05-16 19:42:29,227 WARN [OutputTextReader] Error reading output of an external command:Stream Closed
2011-05-16 19:42:29,464 WARN [ProcessExecutor] Process ffmpeg has a return code of 134! This is a possible error.
2011-05-16 19:42:29,709 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:116)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:89)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:116)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:115)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
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:187)

Re: Mkv Support

PostPosted: Mon May 16, 2011 8:47 pm
by zip
Can you enable detailed logging and try it again? It should also include the actual ffmpeg command it ran. Try to run that command and see what is the output of that.

Re: Mkv Support

PostPosted: Sun May 22, 2011 11:58 am
by kiteboy
zip wrote:Can you enable detailed logging and try it again? It should also include the actual ffmpeg command it ran. Try to run that command and see what is the output of that.


Finally got something


2011-05-22 12:52:44,768 DEBUG [WebServer] Incoming connection from /192.168.1.59:48719
2011-05-22 12:52:44,769 DEBUG [ResourceTransportRequestHandler] GET /resource/270/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO$2 HTTP/1.1, headers = [TimeSeekRange.dlna.org: npt=0.000-,getcontentFeatures.dlna.org: 1,Pragma: getIfoFileURI.dlna.org,transferMode.dlna.org: Streaming,X -AV-Physical-Unit-Info: pa="BRAVIA KDL-40NX713";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40NX713"; mv="1.7";,H ost: 192.168.1.60:8895]]
2011-05-22 12:52:44,769 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.59
2011-05-22 12:52:44,770 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.1.59, Prof ile=Sony Bravia TV'
2011-05-22 12:52:44,770 DEBUG [ResourceTransportRequestHandler] Request for resource 270 and type 'MEDIA_ITEM' received
2011-05-22 12:52:44,770 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 270)
2011-05-22 12:52:44,770 DEBUG [VideoDAOImpl] Reading a Video (id = 270)
2011-05-22 12:52:44,770 DEBUG [VideoDeliveryEngine] Delivering item '270' for client 'IPAddress=/192.168.1.59, Profile=Sony Bravia TV'
2011-05-22 12:52:44,771 DEBUG [VideoDeliveryEngine] Delivering file 'test.mkv' using transcoding
2011-05-22 12:52:44,771 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPA ddress=/192.168.1.59, Profile=Sony Bravia TV'
2011-05-22 12:52:44,771 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed

Any ideas???

Re: Mkv Support

PostPosted: Sun May 22, 2011 3:53 pm
by zip
there will be the ffmpeg command that fails above this in the log. That's what we need.

Re: Mkv Support

PostPosted: Mon May 23, 2011 6:20 pm
by kiteboy
Sorry for slow replies but having real trouble with the logs

Deleted the older logs and been trying to get new logs however it doesnt seem to be logging now :(

So annoying - the server seems to be running as divx are streaming ok

Will try to get working and come back but if anybody has any pointers thatll be great too