FAQ  •  Register  •  Login

Issues while trying to launch stream.

<<

venkatpartha

Serviio newbie

Posts: 8

Joined: Thu Aug 02, 2012 12:01 pm

Post Mon Jun 10, 2013 7:44 am

Issues while trying to launch stream.

Hello,

I was trying to watch the stream at rtsp://flash6.chennaistream.net/cst/andavan. This is a temp stream and I am unable to watch it on serviio.

This is the error log that I see.

2013-06-10 13:11:36,704 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 6)
2013-06-10 13:11:36,704 DEBUG [VideoDeliveryEngine] Delivering item '1000000060001185' for client 'Identifier=117.225.9.16, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-06-10 13:11:36,704 DEBUG [VideoDeliveryEngine] Delivering file 'rtsp://flash6.chennaistream.net/cst/andavan' using transcoding
2013-06-10 13:11:36,705 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=117.225.9.16, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-06-10 13:11:36,705 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: rtsp://flash6.chennaistream.net/cst/andavan
2013-06-10 13:11:36,705 DEBUG [ProcessExecutor] Starting ffmpeg -rtsp_transport +tcp+udp -analyzeduration 10000000 -threads auto -i rtsp://flash6.chennaistream.net/cst/andavan -y -c:v mpeg2video -qscale:v 1 -r 25 -g 15 -c:a ac3 -b:a 384k -ar 48000 -ac 1 -map 0:1 -map 0:0 -sn -f vob pipe:
2013-06-10 13:11:36,724 WARN [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:16 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Expected number for threads but found: auto
2013-06-10 13:11:36,724 DEBUG [TranscodingJobListener] Transcoding finished; successful: false

Regards,
Venkat
<<

venkatpartha

Serviio newbie

Posts: 8

Joined: Thu Aug 02, 2012 12:01 pm

Post Mon Jun 10, 2013 8:18 am

Re: Issues while trying to launch stream.

Further to the above, I also have the following issues when accessing the top 10 videos from Youtube.

2013-06-10 13:42:53,434 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file http://r11---sn-nwj7knel.c.youtube.com/ ... 022F2DEF50
2013-06-10 13:42:53,434 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file http://r11---sn-nwj7knel.c.youtube.com/ ... 022F2DEF50: AVC_TS_MP_HD_AC3_ISO
2013-06-10 13:42:53,435 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000020002537 (online)
2013-06-10 13:42:53,435 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 2)
2013-06-10 13:42:53,435 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 2)
2013-06-10 13:42:53,435 DEBUG [VideoDeliveryEngine] Delivering item '1000000020002537' for client 'Identifier=117.225.9.16, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-06-10 13:42:53,435 DEBUG [VideoDeliveryEngine] Delivering file 'http://r11---sn-nwj7knel.c.youtube.com/videoplayback?sver=3&ratebypass=yes&ip=117.202.101.105&mt=1370851519&mv=m&key=yt1&expire=1370875426&sparams=cp%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&id=0123bfcf2a5d9ec4&itag=37&ipbits=8&ms=au&fexp=934600%2C901700%2C907226%2C916611%2C900352%2C924605%2C928201%2C901208%2C929123%2C929121%2C929915%2C929906%2C925714%2C929919%2C929119%2C931202%2C928017%2C912512%2C912515%2C912521%2C906906%2C931913%2C904830%2C919373%2C906836%2C933701%2C900816%2C926403%2C912711%2C930621%2C929606%2C910075&cp=U0hWRVhSU19HUENONl9QTFdFOkswcURFODZ4U1Ft&upn=AWxXN3vVrbY&source=youtube&newshard=yes&gcr=in&signature=8832D8801BB963DF723AC2A95215D0B7D4AAFEA1.86664D29C017FD1E820F886046DC39022F2DEF50' using transcoding
2013-06-10 13:42:53,436 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'Identifier=117.225.9.16, Profile=Panasonic Viera E/S/ST/VT (2011)'
2013-06-10 13:42:53,436 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/tmp/Serviio/transcoding-temp-1000000020002537-viera2011-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/tmp/Serviio/transcoding-temp-1000000020002537-viera2011-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:131)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:108)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:120)
at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:132)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:80)
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)


IMHO, this is primarily an FFMPEG issue. I have removed and re-installed ffmpeg twice. my current ffmpeg version is: ffmpeg version 0.8.6-6:0.8.6-0ubuntu0.12.10.1,

I run my Serviio on a Linux Mint 14 OS and have a Panasonic P42X30D as my renderer. I tried rendering the same on my HTC One X and failed.

Could some one help me with the steps to properly install & configure FFMPEG and the other packages required for Serviio to work?

Regards,
Venkat
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 10, 2013 9:43 am

Re: Issues while trying to launch stream.

there is a guide on the wiki on how to compile FFmpeg on Linux

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 23 guests

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