FAQ  •  Register  •  Login

iPlayer feed fails with B650

<<

stephendhill

Serviio lover

Posts: 72

Joined: Sat Jan 30, 2010 9:59 am

Location: UK

Post Mon Oct 24, 2011 11:07 am

iPlayer feed fails with B650

I have installed v0.6.0.1 onto Windows 7 64-bit and loaded iPlayer online feed. I have added "http://feeds.bbc.co.uk/iplayer/popular/tv", but when I try to play any feeds from this feed using my Sammy LE40B650 (I use the "B series" profile), I get a "not supported file format" error.
If I use my PS3, instead of the TV, to connect to Serviio it all works fine, which suggests the "B Series" profile has a problem with online feeds.

It appears to have a problem transcoding it....
  Code:
    2011-10-22 20:18:44,813 DEBUG [FeedCacheDecorator] Found entry in the cache (online_feeds), returning it
    2011-10-22 20:18:44,814 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 1000000000040004
    2011-10-22 20:18:44,814 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 5127
    2011-10-22 20:18:44,814 DEBUG [ResourceTransportRequestHandler] Sending file back
    2011-10-22 20:18:44,814 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Content-Length: 5127,Date: Sat, 22 Oct 2011 19:18:44 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=00D00000000000000000000000000000,transferMode.dlna.org: Interactive]]
    2011-10-22 20:18:44,861 DEBUG [WebServer] Incoming connection from /192.168.10.11:4412
    2011-10-22 20:18:44,861 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000000040005/COVER_IMAGE HTTP/1.0, headers = [HOST: 192.168.10.36:8895,ACCEPT-LANGUAGE: en-us,getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Interactive]]
    2011-10-22 20:18:44,861 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.11
    2011-10-22 20:18:44,862 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.11, Profile=Samsung TV (B-series)'
    2011-10-22 20:18:44,862 DEBUG [ResourceTransportRequestHandler] Request for resource 1000000000040005 and type 'COVER_IMAGE' received
    2011-10-22 20:18:44,862 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)
    2011-10-22 20:18:44,863 DEBUG [FeedCacheDecorator] Found entry in the cache (online_feeds), returning it
    2011-10-22 20:18:44,864 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 1000000000040005
    2011-10-22 20:18:44,864 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 3969
    2011-10-22 20:18:44,864 DEBUG [ResourceTransportRequestHandler] Sending file back
    2011-10-22 20:18:44,864 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Content-Length: 3969,Date: Sat, 22 Oct 2011 19:18:44 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=00D00000000000000000000000000000,transferMode.dlna.org: Interactive]]
    2011-10-22 20:18:45,762 DEBUG [WebServer] Incoming connection from /192.168.10.11:4413
    2011-10-22 20:18:45,763 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000000040005/COVER_IMAGE HTTP/1.0, headers = [HOST: 192.168.10.36:8895,ACCEPT-LANGUAGE: en-us,getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Interactive]]
    2011-10-22 20:18:45,763 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.11
    2011-10-22 20:18:45,764 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.11, Profile=Samsung TV (B-series)'
    2011-10-22 20:18:45,764 DEBUG [ResourceTransportRequestHandler] Request for resource 1000000000040005 and type 'COVER_IMAGE' received
    2011-10-22 20:18:45,764 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)
    2011-10-22 20:18:45,765 DEBUG [FeedCacheDecorator] Found entry in the cache (online_feeds), returning it
    2011-10-22 20:18:45,766 DEBUG [CoverImageRetrievalStrategy] Retrieving Cover image with id 1000000000040005
    2011-10-22 20:18:45,766 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 3969
    2011-10-22 20:18:45,766 DEBUG [ResourceTransportRequestHandler] Sending file back
    2011-10-22 20:18:45,766 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: image/jpeg,Content-Length: 3969,Date: Sat, 22 Oct 2011 19:18:45 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=JPEG_TN;DLNA.ORG_OP=00;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=00D00000000000000000000000000000,transferMode.dlna.org: Interactive]]
    2011-10-22 20:18:46,153 DEBUG [WebServer] Incoming connection from /192.168.10.11:4414
    2011-10-22 20:18:46,154 DEBUG [ResourceTransportRequestHandler] HEAD /resource/1000000000040001/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO$0 HTTP/1.0, headers = [getCaptionInfo.sec: 1]]
    2011-10-22 20:18:46,154 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.11
    2011-10-22 20:18:46,155 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.11, Profile=Samsung TV (B-series)'
    2011-10-22 20:18:46,155 DEBUG [ResourceTransportRequestHandler] Request for resource 1000000000040001 and type 'MEDIA_ITEM' received
    2011-10-22 20:18:46,155 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000040001 (online)
    2011-10-22 20:18:46,156 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)
    2011-10-22 20:18:46,156 DEBUG [FeedCacheDecorator] Found entry in the cache (online_feeds), returning it
    2011-10-22 20:18:46,157 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000000040001, format AVC_TS_MP_HD_AC3_ISO and profile Samsung TV (B-series)
    2011-10-22 20:18:46,157 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDExMTAyMjE3MTM1OCZlbmRfdGltZT0yMDExMTAyMjIxMTM1OCZkaWdlc3Q9YThiODIwOGJlODE4YThmY2I0NjFkMzY2YjFlY2Q5Mzk= playpath=mp4:3200kbps/b01684l0_1319258908 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1
    2011-10-22 20:18:46,157 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDExMTAyMjE3MTM1OCZlbmRfdGltZT0yMDExMTAyMjIxMTM1OCZkaWdlc3Q9YThiODIwOGJlODE4YThmY2I0NjFkMzY2YjFlY2Q5Mzk= playpath=mp4:3200kbps/b01684l0_1319258908 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1: AVC_TS_MP_HD_AC3_ISO
    2011-10-22 20:18:46,158 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
    2011-10-22 20:18:46,158 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 50000000000,Date: Sat, 22 Oct 2011 19:18:46 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
    2011-10-22 20:18:46,173 DEBUG [WebServer] Incoming connection from /192.168.10.11:2828
    2011-10-22 20:18:46,173 DEBUG [ResourceTransportRequestHandler] HEAD /resource/1000000000040001/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO$0 HTTP/1.0, headers = [getcontentFeatures.dlna.org: 1,getMediaInfo.sec: 1,Host: 192.168.10.36:8895]]
    2011-10-22 20:18:46,174 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.11
    2011-10-22 20:18:46,175 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.11, Profile=Samsung TV (B-series)'
    2011-10-22 20:18:46,175 DEBUG [ResourceTransportRequestHandler] Request for resource 1000000000040001 and type 'MEDIA_ITEM' received
    2011-10-22 20:18:46,175 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000040001 (online)
    2011-10-22 20:18:46,175 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)
    2011-10-22 20:18:46,176 DEBUG [FeedCacheDecorator] Found entry in the cache (online_feeds), returning it
    2011-10-22 20:18:46,177 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1000000000040001, format AVC_TS_MP_HD_AC3_ISO and profile Samsung TV (B-series)
    2011-10-22 20:18:46,177 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDExMTAyMjE3MTM1OCZlbmRfdGltZT0yMDExMTAyMjIxMTM1OCZkaWdlc3Q9YThiODIwOGJlODE4YThmY2I0NjFkMzY2YjFlY2Q5Mzk= playpath=mp4:3200kbps/b01684l0_1319258908 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1
    2011-10-22 20:18:46,177 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDExMTAyMjE3MTM1OCZlbmRfdGltZT0yMDExMTAyMjIxMTM1OCZkaWdlc3Q9YThiODIwOGJlODE4YThmY2I0NjFkMzY2YjFlY2Q5Mzk= playpath=mp4:3200kbps/b01684l0_1319258908 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1: AVC_TS_MP_HD_AC3_ISO
    2011-10-22 20:18:46,177 DEBUG [ResourceTransportRequestHandler] Sending HEAD response back
    2011-10-22 20:18:46,177 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Content-Length: 50000000000,Date: Sat, 22 Oct 2011 19:18:46 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.0.1,Cache-control: no-cache,contentFeatures.dlna.org: DLNA.ORG_PN=AVC_TS_MP_HD_AC3_ISO;DLNA.ORG_OP=10;DLNA.ORG_CI=1;DLNA.ORG_FLAGS=01500000000000000000000000000000,transferMode.dlna.org: Streaming,MediaInfo.sec: SEC_Duration=1761000;]]
    2011-10-22 20:18:46,195 DEBUG [WebServer] Incoming connection from /192.168.10.11:2319
    2011-10-22 20:18:46,195 DEBUG [ResourceTransportRequestHandler] GET /resource/1000000000040001/MEDIA_ITEM/AVC_TS_MP_HD_AC3_ISO$0 HTTP/1.0, headers = [Range: bytes=0-,getcontentFeatures.dlna.org: 1,transferMode.dlna.org: Streaming,Host: 192.168.10.36:8895]]
    2011-10-22 20:18:46,195 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.10.11
    2011-10-22 20:18:46,196 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.10.11, Profile=Samsung TV (B-series)'
    2011-10-22 20:18:46,197 DEBUG [ResourceTransportRequestHandler] Request for resource 1000000000040001 and type 'MEDIA_ITEM' received
    2011-10-22 20:18:46,197 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 1000000000040001 (online)
    2011-10-22 20:18:46,197 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 4)
    2011-10-22 20:18:46,198 DEBUG [FeedCacheDecorator] Found entry in the cache (online_feeds), returning it
    2011-10-22 20:18:46,198 DEBUG [VideoDeliveryEngine] Delivering item '1000000000040001' for client 'IPAddress=/192.168.10.11, Profile=Samsung TV (B-series)'
    2011-10-22 20:18:46,199 DEBUG [VideoDeliveryEngine] Delivering file 'rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDExMTAyMjE3MTM1OCZlbmRfdGltZT0yMDExMTAyMjIxMTM1OCZkaWdlc3Q9YThiODIwOGJlODE4YThmY2I0NjFkMzY2YjFlY2Q5Mzk= playpath=mp4:3200kbps/b01684l0_1319258908 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1' using transcoding
    2011-10-22 20:18:46,199 DEBUG [AbstractTranscodingDeliveryEngine] Stopping previous transcoding job of file 'C:\Windows\TEMP\Serviio\transcoding-temp-1000000000040002-MPEG2TS.stf'
    2011-10-22 20:18:46,199 DEBUG [ProcessExecutor] Stopping external process: Thread[Thread-344,5,main]
    2011-10-22 20:18:46,199 DEBUG [ProcessUtils] Killing the Windows process: 10120
    2011-10-22 20:18:46,230 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
    2011-10-22 20:18:46,253 DEBUG [AbstractTranscodingDeliveryEngine] Deleted temp file 'C:\Windows\TEMP\Serviio\transcoding-temp-1000000000040002-MPEG2TS.stf': true
    2011-10-22 20:18:46,253 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.10.11, Profile=Samsung TV (B-series)'
    2011-10-22 20:18:46,253 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDExMTAyMjE3MTM1OCZlbmRfdGltZT0yMDExMTAyMjIxMTM1OCZkaWdlc3Q9YThiODIwOGJlODE4YThmY2I0NjFkMzY2YjFlY2Q5Mzk= playpath=mp4:3200kbps/b01684l0_1319258908 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1 buffer=100000000
    2011-10-22 20:18:46,254 DEBUG [ProcessExecutor] Starting C:\Program Files (x86)\Serviio\bin\\..\lib/ffmpeg.exe -i rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDExMTAyMjE3MTM1OCZlbmRfdGltZT0yMDExMTAyMjIxMTM1OCZkaWdlc3Q9YThiODIwOGJlODE4YThmY2I0NjFkMzY2YjFlY2Q5Mzk= playpath=mp4:3200kbps/b01684l0_1319258908 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1 buffer=100000000 -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Windows\TEMP\Serviio\transcoding-temp-1000000000040001-MPEG2TS.stf
    2011-10-22 20:18:47,755 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDExMTAyMjE3MTM1OCZlbmRfdGltZT0yMDExMTAyMjIxMTM1OCZkaWdlc3Q9YThiODIwOGJlODE4YThmY2I0NjFkMzY2YjFlY2Q5Mzk= playpath=mp4:3200kbps/b01684l0_1319258908 swfUrl=http://www.bbc.co.uk/emp/10player.swf swfVfy=1: AVC_TS_MP_HD_AC3_ISO
    2011-10-22 20:18:47,756 DEBUG [AbstractTranscodingDeliveryEngine] Sending transcoding stream
    2011-10-22 20:18:47,756 DEBUG [ResourceTransportRequestHandler] Unsupported range request, sending back 406
    2011-10-22 20:18:47,756 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 406 Not Acceptable, headers = [[Content-Type: video/mpeg]]
    2011-10-22 20:19:02,939 DEBUG [RepositoryServerResource] Updating repository with values: OnlineRepository [fileType=VIDEO, repoType=FEED, repositoryUrl=http://feeds.bbc.co.uk/iplayer/popular/tv, thumbnailUrl=null]
Avid Serviio user
Pure Flow One | Samsung LE40B650 | Samsung UE40F6320 | Sony PS3 | Ubuntu 14.04
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 24, 2011 11:17 am

Re: iPlayer feed fails with B650

can you play the resulting .stf file in transcoding folder (after renaming to .mpg) via Serviio?
<<

stephendhill

Serviio lover

Posts: 72

Joined: Sat Jan 30, 2010 9:59 am

Location: UK

Post Mon Oct 24, 2011 2:56 pm

Re: iPlayer feed fails with B650

How odd. It's now started working. I have no idea why to be honest. Thanks for your time anyway, and thanks for your fantastic efforts!
Avid Serviio user
Pure Flow One | Samsung LE40B650 | Samsung UE40F6320 | Sony PS3 | Ubuntu 14.04
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 24, 2011 3:46 pm

Re: iPlayer feed fails with B650

Might be network latency... possibly the TV is expecting the stream starting sooner than Serviio/your internet connection delivers it.
<<

stephendhill

Serviio lover

Posts: 72

Joined: Sat Jan 30, 2010 9:59 am

Location: UK

Post Mon Oct 24, 2011 5:15 pm

Re: iPlayer feed fails with B650

Could be. Windows 7 was on wireless. My Ubuntu server is on Ethernet. I am upgrading my Ubuntu server to the latest version, which looks like it has rtmp support in ffmpeg. Then I'll try again on that......
Avid Serviio user
Pure Flow One | Samsung LE40B650 | Samsung UE40F6320 | Sony PS3 | Ubuntu 14.04
<<

stephendhill

Serviio lover

Posts: 72

Joined: Sat Jan 30, 2010 9:59 am

Location: UK

Post Wed Oct 26, 2011 9:35 am

Re: iPlayer feed fails with B650

Oh drat. Ubuntu 11.10's ffmpeg does support rtmp, but not librtmp so I still get this error:
  Code:
 [FFMPEGWrapper] FFmpeg is not compiled with librtmp support, RTMP streaming will not work.

I have tried building my own ffmpeg using instructions from here http://ubuntuforums.org/showthread.php?t=786095 (and adding librtmp support), but when running serviio I got:
  Code:
 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "ffmpeg": java.io.IOException: error=2, No such file or directory

I am unsure why as I can run ffmpeg from the shell ok. Why can't serviio find it?
Avid Serviio user
Pure Flow One | Samsung LE40B650 | Samsung UE40F6320 | Sony PS3 | Ubuntu 14.04
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Wed Oct 26, 2011 9:51 am

Re: iPlayer feed fails with B650

does serviio have access to the directory that ffmpeg is installed in?

I cannot think what it is called, but you can also make a virtual link to the ffmpeg directory to one that serviio looks at normally.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

stephendhill

Serviio lover

Posts: 72

Joined: Sat Jan 30, 2010 9:59 am

Location: UK

Post Wed Oct 26, 2011 10:05 am

Re: iPlayer feed fails with B650

I have fixed it by adding this to JAVA_OPTS in the script:
  Code:
-Dffmpeg.location=$SERVIIO_HOME/bin/ffmpeg

and copying my compiled ffmpeg to that directory.
Avid Serviio user
Pure Flow One | Samsung LE40B650 | Samsung UE40F6320 | Sony PS3 | Ubuntu 14.04

Return to Samsung

Who is online

Users browsing this forum: No registered users and 35 guests

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