BBC iPlayer

Discuss third-party additions, plugins and translations for PS3 Media Server

BBC iPlayer

Postby NX3 » Tue Oct 20, 2009 9:09 pm

Firstly BBC iPlayer only works if your IP is based in the UK (or if you use some sort of VPN or masking software but thats for elsewhere).

Anyway you can get from the BBC website info on RSS feeds at :
http://feeds.bbc.co.uk/iplayer/

I added the following to web.conf file and started PMS. This is using my Asus O!play, see the realtek render I've posted, I've got a PS3 as well. This appears to work at first in that it brings up tv listings as I'd expect for the day and you can browse around. The problem comes when it attemps to play anything, it fails. I presume PMS can cope with transcoding flash based website e.g youtube seems to work ok and the BBC is only using flash. I'll post the error logs but hoping some others might help get this working as PMS is fast / good compared to other UPNP servers. TVersity and PlayOn both do BBC iPlayer but I'm not a fan of either and would rather run PMS only :)

#BBC iPlayer (UK only)
#Info taken from http://feeds.bbc.co.uk/iplayer/
videofeed.Web,BBC iPlayer=http://feeds.bbc.co.uk/iplayer/tv
videofeed.Web,BBC iPlayer=http://feeds.bbc.co.uk/iplayer/radio

Trace Logs, no errors as such just nothing appears on screen on the PS3.
[New I/O server worker #1-2] TRACE 21:36:46.682 Starting transcode/remux of Strictly - It Takes Two: Series 7: 20/10/2009
[New I/O server worker #1-2] TRACE 21:38:42.367 Starting transcode/remux of Heir Hunters: Series 1: Tew
[New I/O server worker #1-1] TRACE 21:39:53.179 Starting transcode/remux of Life: Reptiles and Amphibians
NX3
 
Posts: 12
Joined: Sat Jun 06, 2009 12:23 pm

Re: BBC iPlayer

Postby Uridium » Wed Oct 21, 2009 12:11 pm

What's wrong with using iPlayer direct from the PS3 XMB shortcut under TV?
Uridium
 
Posts: 132
Joined: Thu Jan 22, 2009 11:22 pm

Re: BBC iPlayer

Postby NX3 » Thu Oct 22, 2009 6:58 pm

You can use PMS for many other devices other that PS3 so this would bring iPlayer to those devices :)
NX3
 
Posts: 12
Joined: Sat Jun 06, 2009 12:23 pm

Re: BBC iPlayer

Postby NX3 » Wed Oct 28, 2009 10:58 pm

This is from where I select the video to watch to the end. The RSS feeds are all working ok, PMS seems to think its going to work as correct versions of VLC etc are in place. However I get a black screen on the PS3, nothing seems to be happing, no buffering, nothing at all. The command line for VLC looks reasonable, its the corrent web address. You normally have to click on the page to play the video unlike youtube where the video just plays. I guess thats where it gets stuck, its just waiting to confirm play. This is a feature the PMS would need I guess though I know TVersity and PlayOn servers can do this and stream to a PS3.

Code: Select all
[New I/O server worker #1-1] INFO  21:39:23.146 HTTP: get/0$3$7$2$0/Are+You+an+Egghead%3F%3A+Series+2%3A+Episode+13 / 0-100000000000
[New I/O server worker #1-1] DEBUG 21:39:23.146 Searching for objectId: 0$3$7$2$0 with children option: false
[New I/O server worker #1-1] DEBUG 21:39:23.146 Asked stream chunk [0-100000000000] timeseek: 0.0 of Are You an Egghead?: Series 2: Episode 13 and player VideoLan Video Streaming
[New I/O server worker #1-1] TRACE 21:39:23.146 Starting transcode/remux of Are You an Egghead?: Series 2: Episode 13
[New I/O server worker #1-1] INFO  21:39:23.147 Creating pipe \\.\pipe\VLC1256765963147
[New I/O server worker #1-1] INFO  21:39:23.148 Found VLC version 0.9.8a in Windows Registry: C:\Program Files\VideoLAN\VLC\vlc.exe
[Thread-26] INFO  21:39:23.148 Waiting for pipe connection \\.\pipe\VLC1256765963147
[C:\Program Files\VideoLAN\VLC\vlc.exe] INFO  21:39:23.298 Starting "C:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --dummy-quiet http://www.bbc.co.uk/iplayer/episode/b00nnkhj/hd/Are_You_an_Egghead_Series_2_Episode_13/ :sout=#transcode{vcodec=mp2v,vb=4096,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="\\.\pipe\VLC1256765963147"}}
[C:\Program Files\VideoLAN\VLC\vlc.exe] INFO  21:39:23.302 Reading pipe: \\.\pipe\VLC1256765963147
[New I/O server worker #1-2] DEBUG 21:39:23.410 Opened handler on socket /192.168.1.208:59000 // Playstation 3
[New I/O server worker #1-2] DEBUG 21:39:23.410 Handler infos: HTTP/1.1 : POST : upnp/control/content_directory
[New I/O server worker #1-2] DEBUG 21:39:23.410 Received on socket: Content-Length: 276
[New I/O server worker #1-2] DEBUG 21:39:23.410 Received on socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-2] DEBUG 21:39:23.410 Received on socket: Host: 192.168.1.101:5001
[New I/O server worker #1-2] DEBUG 21:39:23.410 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#GetSystemUpdateID"
[New I/O server worker #1-2] DEBUG 21:39:23.410 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[New I/O server worker #1-2] DEBUG 21:39:23.410 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[New I/O server worker #1-2] INFO  21:39:23.410 HTTP: upnp/control/content_directory / 0-0
[New I/O server worker #1-2] DEBUG 21:39:23.411 Sent to socket: Content-Length: 335
[New I/O server worker #1-2] DEBUG 21:39:23.411 Sent to socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-2] DEBUG 21:39:23.411 Sent to socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.11.366
[C:\Program Files\VideoLAN\VLC\vlc.exe] INFO  21:39:23.466 Attaching thread: C:\Program Files\VideoLAN\VLC\vlc.exe
[Timer-2] DEBUG 21:39:23.466 Buffered Space: 0 bytes / inputs: 0
[Thread-27] DEBUG 21:39:23.496 [00000001] main libvlc debug: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[Thread-27] DEBUG 21:39:23.496 [00000001] main libvlc debug: libvlc was configured with ./configure  '--host=i586-mingw32msvc' '--build=i386-linux' '--enable-mkv' '--enable-release' '--without-contrib' '--enable-nls' '--enable-shared-libvlc' '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-real' '--enable-realrtsp' '--enable-ffmpeg' '--with-ffmpeg-mp3lame' '--with-ffmpeg-faac' '--with-ffmpeg-config-path=/usr/win32/bin' '--with-ffmpeg-zlib' '--enable-live555' '--with-live555-tree=/usr/win32/live.com' '--ena
[Thread-27] DEBUG 21:39:23.503 [00000001] main libvlc debug: translation test: code is "en_GB"
[Thread-27] DEBUG 21:39:23.584 [00000395] dummy interface: VLC media player - version 0.9.8a Grishenko - (c) 1996-2008 the VideoLAN team
[Thread-27] DEBUG 21:39:23.584 [00000395] dummy interface:
[Thread-27] DEBUG 21:39:23.584 Warning: if you can't access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"
[Thread-27] DEBUG 21:39:23.584 [00000395] dummy interface: using the dummy interface module...
[Thread-26] INFO  21:39:23.593 Result of \\.\pipe\VLC1256765963147 : true
[New I/O server worker #1-2] DEBUG 21:39:23.627 Opened handler on socket /192.168.1.208:58998 // Playstation 3
[New I/O server worker #1-2] DEBUG 21:39:23.628 Handler infos: HTTP/1.1 : POST : upnp/control/content_directory
[New I/O server worker #1-2] DEBUG 21:39:23.628 Received on socket: Content-Length: 907
[New I/O server worker #1-2] DEBUG 21:39:23.628 Received on socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-2] DEBUG 21:39:23.628 Received on socket: Host: 192.168.1.101:5001
[New I/O server worker #1-2] DEBUG 21:39:23.628 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[New I/O server worker #1-2] DEBUG 21:39:23.628 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[New I/O server worker #1-2] DEBUG 21:39:23.628 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[New I/O server worker #1-2] INFO  21:39:23.628 HTTP: upnp/control/content_directory / 0-0
[New I/O server worker #1-2] DEBUG 21:39:23.628 Searching for objectId: 0$3$7$2 with children option: false
[New I/O server worker #1-2] DEBUG 21:39:23.629 Sent to socket: Content-Length: 1042
[New I/O server worker #1-2] DEBUG 21:39:23.629 Sent to socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-2] DEBUG 21:39:23.629 Sent to socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.11.366
[Timer-2] DEBUG 21:39:25.466 Buffered Space: 0 bytes / inputs: 0
[Timer-2] DEBUG 21:39:27.466 Buffered Space: 0 bytes / inputs: 0
[New I/O server worker #1-1] DEBUG 21:39:29.299 Suspend Read: readCount=0 / writeCount=0
[Timer-2] DEBUG 21:39:29.466 Buffered Space: -1 bytes / inputs: 1
[Timer-2] DEBUG 21:39:31.466 Buffered Space: -1 bytes / inputs: 1
[Thread-7] DEBUG 21:39:32.043 Receiving a NOTIFY from [192.168.1.101:63729]
[Thread-7] DEBUG 21:39:32.186 Receiving a NOTIFY from [192.168.1.101:63729]
[Thread-7] DEBUG 21:39:32.620 Receiving a NOTIFY from [192.168.1.101:63729]
[Thread-7] DEBUG 21:39:33.209 Receiving a NOTIFY from [192.168.1.101:63729]
[Thread-7] DEBUG 21:39:33.234 Receiving a NOTIFY from [192.168.1.101:63729]
[Timer-2] DEBUG 21:39:33.466 Buffered Space: -1 bytes / inputs: 1
[Thread-7] DEBUG 21:39:33.553 Receiving a NOTIFY from [192.168.1.101:63729]
[Thread-7] DEBUG 21:39:34.313 Receiving a NOTIFY from [192.168.1.101:63729]
[Thread-7] DEBUG 21:39:35.038 Receiving a NOTIFY from [192.168.1.101:63729]
[Timer-2] DEBUG 21:39:35.466 Buffered Space: -1 bytes / inputs: 1
[Thread-7] DEBUG 21:39:35.694 Receiving a NOTIFY from [192.168.1.101:63729]
[Thread-7] DEBUG 21:39:36.246 Receiving a NOTIFY from [192.168.1.101:63729]
[New I/O server worker #1-1] DEBUG 21:39:36.799 Resume Read: readCount=0 / writeCount=0
[New I/O server worker #1-1] DEBUG 21:39:36.799 Suspend Read: readCount=1 / writeCount=0
[Timer-2] DEBUG 21:39:37.466 Buffered Space: -2 bytes / inputs: 1
[Thread-7] DEBUG 21:39:37.687 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.687 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.689 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.692 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.694 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.694 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.695 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.697 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.698 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.701 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.701 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.701 Receiving a NOTIFY from [192.168.1.1:1900]
[Thread-7] DEBUG 21:39:37.703 Receiving a NOTIFY from [192.168.1.1:1900]
[Timer-2] DEBUG 21:39:39.466 Buffered Space: -2 bytes / inputs: 1
[Timer-2] DEBUG 21:39:41.466 Buffered Space: -2 bytes / inputs: 1
[Timer-2] DEBUG 21:39:43.466 Buffered Space: -2 bytes / inputs: 1
[New I/O server worker #1-1] DEBUG 21:39:44.299 Resume Read: readCount=1 / writeCount=0
[New I/O server worker #1-1] DEBUG 21:39:44.299 Suspend Read: readCount=2 / writeCount=0
[Timer-2] DEBUG 21:39:45.466 Buffered Space: -3 bytes / inputs: 1
[Timer-2] DEBUG 21:39:47.466 Buffered Space: -3 bytes / inputs: 1
[Timer-2] DEBUG 21:39:49.466 Buffered Space: -3 bytes / inputs: 1
[Timer-2] DEBUG 21:39:51.466 Buffered Space: -3 bytes / inputs: 1
[New I/O server worker #1-1] DEBUG 21:39:51.800 Resume Read: readCount=2 / writeCount=0
[New I/O server worker #1-1] DEBUG 21:39:51.800 Suspend Read: readCount=3 / writeCount=0
[Timer-2] DEBUG 21:39:53.466 Buffered Space: -4 bytes / inputs: 1
[Timer-2] DEBUG 21:39:55.466 Buffered Space: -4 bytes / inputs: 1
[Timer-2] DEBUG 21:39:57.466 Buffered Space: -4 bytes / inputs: 1
[New I/O server worker #1-1] DEBUG 21:39:59.300 Resume Read: readCount=3 / writeCount=0
[New I/O server worker #1-1] DEBUG 21:39:59.300 Suspend Read: readCount=4 / writeCount=0
[Timer-2] DEBUG 21:39:59.466 Buffered Space: -5 bytes / inputs: 1
[Thread-6] INFO  21:39:59.631 Error while sending periodic alive message: sleep interrupted
[Thread-5] TRACE 21:39:59.631 Sending BYEBYE...
[Thread-5] DEBUG 21:39:59.631 Setting multicast network interface: name:eth2 (Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)) index: 8 addresses:
/192.168.1.101;

[Thread-5] DEBUG 21:39:59.707 Sending message from multicast socket on network interface: name:eth2 (Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)) index: 8 addresses:
/192.168.1.101;

[Thread-5] DEBUG 21:39:59.707 Multicast socket is on interface: /192.168.1.101
[Thread-5] DEBUG 21:39:59.707 Socket Timeout: 0
[Thread-5] DEBUG 21:39:59.707 Socket TTL: 32
[Thread-7] DEBUG 21:39:59.707 Receiving a NOTIFY from [192.168.1.101:53052]
[Thread-7] DEBUG 21:39:59.860 Receiving a NOTIFY from [192.168.1.101:53052]
[Thread-7] DEBUG 21:40:00.119 Receiving a NOTIFY from [192.168.1.101:53052]
[Thread-7] DEBUG 21:40:00.194 Receiving a NOTIFY from [192.168.1.101:53052]
[Thread-7] DEBUG 21:40:00.484 Receiving a NOTIFY from [192.168.1.101:53052]
[Thread-7] DEBUG 21:40:00.614 Receiving a NOTIFY from [192.168.1.101:53052]
[Thread-7] DEBUG 21:40:00.791 Receiving a NOTIFY from [192.168.1.101:53052]
[Thread-7] DEBUG 21:40:00.801 Receiving a NOTIFY from [192.168.1.101:53052]
[Thread-5] INFO  21:40:01.204 Forcing shutdown of all active processes
[Thread-5] DEBUG 21:40:01.204 Forcing shutdown of process java.lang.ProcessImpl@766ec3
[Thread-5] INFO  21:40:01.204 Stopping server on host 192.168.1.101 and port 5001...
[C:\Program Files\VideoLAN\VLC\vlc.exe] DEBUG 21:40:01.217 EOF
[C:\Program Files\VideoLAN\VLC\vlc.exe] TRACE 21:40:01.217 Process C:\Program Files\VideoLAN\VLC\vlc.exe has a return code of 1! Maybe an error occured... check the log file
[New I/O server worker #1-1] DEBUG 21:40:01.300 Resume Read: readCount=4 / writeCount=0
[New I/O server worker #1-1] DEBUG 21:40:01.300 Ready to Stop: true
[New I/O server worker #1-1] DEBUG 21:40:01.301 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-1] DEBUG 21:40:01.301 Sent to socket: Connection: keep-alive
[New I/O server worker #1-1] DEBUG 21:40:01.302 Sent to socket: Content-Range: bytes 0-99999999999/100000000000
[New I/O server worker #1-1] DEBUG 21:40:01.302 Sent to socket: Content-Type: video/mpeg
[New I/O server worker #1-1] DEBUG 21:40:01.302 Sent to socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.11.366
[New I/O server worker #1-1] DEBUG 21:40:01.302 Sent to socket: TransferMode.DLNA.ORG: Streaming
[New I/O server worker #1-1] DEBUG 21:40:01.304 Opened handler on socket /192.168.1.208:58997 // Playstation 3
[New I/O server worker #1-1] DEBUG 21:40:01.304 Handler infos: HTTP/1.1 : GET : description/fetch
[New I/O server worker #1-1] DEBUG 21:40:01.304 Received on socket: Date: Wed, 28 Oct 2009 22:52:37 GMT
[New I/O server worker #1-1] DEBUG 21:40:01.304 Received on socket: Host: 192.168.1.101:5001
[New I/O server worker #1-1] DEBUG 21:40:01.304 Received on socket: User-Agent: UPnP/1.0
[New I/O server worker #1-1] DEBUG 21:40:01.304 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[New I/O server worker #1-1] INFO  21:40:01.304 HTTP: description/fetch / 0-0
[New I/O server worker #1-1] DEBUG 21:40:01.308 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-1] DEBUG 21:40:01.309 Sent to socket: Cache-Control: no-cache
[New I/O server worker #1-1] DEBUG 21:40:01.309 Sent to socket: Connection: keep-alive
[New I/O server worker #1-1] DEBUG 21:40:01.309 Sent to socket: Content-Length: 2054
[New I/O server worker #1-1] DEBUG 21:40:01.309 Sent to socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-1] DEBUG 21:40:01.309 Sent to socket: Expires: 0
[New I/O server worker #1-1] DEBUG 21:40:01.309 Sent to socket: Server: Windows_Vista-x86-6.0, UPnP/1.0, PMS/1.11.366
NX3
 
Posts: 12
Joined: Sat Jun 06, 2009 12:23 pm

Re: BBC iPlayer

Postby gregd72002 » Thu Mar 01, 2012 8:35 pm

I'd be interested in getting iplayer on my tv via ps3 media server as well.. I tried it using pmsencoder and it does not work

Anyone any idea or suggestion?

debug.log
Code: Select all
[main] DEBUG 19:32:15.562 Choosing java look and feel: com.apple.laf.AquaLookAndFeel
[main] INFO  19:32:17.336 Starting PS3 Media Server 1.50.1
[main] INFO  19:32:17.341 by shagrath / 2008-2012
[main] INFO  19:32:17.341 http://ps3mediaserver.org
[main] INFO  19:32:17.341 http://code.google.com/p/ps3mediaserver
[main] INFO  19:32:17.342 http://ps3mediaserver.blogspot.com
[main] INFO  19:32:17.342
[main] INFO  19:32:17.342 Java: 1.6.0_29-Apple Inc.
[main] INFO  19:32:17.343 OS: Mac OS X x86_64 10.7.3
[main] INFO  19:32:17.343 Encoding: UTF-8
[main] INFO  19:32:17.343 Working directory: /Applications/PS3 Media Server.app/Contents/Resources/Java
[main] INFO  19:32:17.348 Temp folder: /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver
[main] INFO  19:32:17.349 Logging config file: /Applications/PS3 Media Server.app/Contents/Resources/Java/logback.xml
[main] INFO  19:32:17.349 debug.log: /Applications/PS3 Media Server.app/Contents/Resources/Java/debug.log
[main] INFO  19:32:17.350
[main] INFO  19:32:17.350 Profile directory: /Users/me/Library/Application Support/PMS
[main] INFO  19:32:17.350 Profile path: /Users/me/Library/Application Support/PMS/PMS.conf
[main] INFO  19:32:17.352 Profile status: rw
[main] INFO  19:32:17.353 Profile name: Lisi
[main] INFO  19:32:17.354
[main] INFO  19:32:17.358 Loading MediaInfo library
[main] INFO  19:32:17.414 Loaded MediaInfoLib - v0.7.53
[main] INFO  19:32:17.421 Loading renderer configurations from /Applications/PS3 Media Server.app/Contents/Resources/Java/renderers
[main] INFO  19:32:17.421 Loading configuration file: AirPlayer.conf
[main] INFO  19:32:17.425 Loading configuration file: Android.conf
[main] INFO  19:32:17.427 Loading configuration file: Bravia4500.conf
[main] INFO  19:32:17.430 Loading configuration file: Bravia5500.conf
[main] INFO  19:32:17.432 Loading configuration file: BraviaEX.conf
[main] INFO  19:32:17.439 Loading configuration file: FreeboxHD.conf
[main] INFO  19:32:17.444 Loading configuration file: FreecomMusicPal.conf
[main] INFO  19:32:17.449 Loading configuration file: iPad-iPhone.conf
[main] INFO  19:32:17.454 Loading configuration file: Kuro.conf
[main] INFO  19:32:17.457 Loading configuration file: N900.conf
[main] INFO  19:32:17.462 Loading configuration file: Panasonic.conf
[main] INFO  19:32:17.531 Loading configuration file: Philips.conf
[main] INFO  19:32:17.534 Loading configuration file: PopcornHour.conf
[main] INFO  19:32:17.535 Loading configuration file: PS3.conf
[main] INFO  19:32:17.541 Loading configuration file: Realtek.conf
[main] INFO  19:32:17.543 Loading configuration file: SamsungAllShare.conf
[main] INFO  19:32:17.546 Loading configuration file: SamsungWiseLink.conf
[main] INFO  19:32:17.547 Loading configuration file: Showtime3.conf
[main] INFO  19:32:17.550 Loading configuration file: SonyBluray.conf
[main] INFO  19:32:17.553 Loading configuration file: Streamium.conf
[main] INFO  19:32:17.555 Loading configuration file: WDTVLive.conf
[main] INFO  19:32:17.558 Loading configuration file: WMP.conf
[main] INFO  19:32:17.560 Loading configuration file: XBMC.conf
[main] INFO  19:32:17.562 Loading configuration file: XBOX360.conf
[main] INFO  19:32:17.579 Checking MPlayer font cache. It can take a minute or so.
[main] DEBUG 19:32:17.580 launching: osx/mplayer
[main] INFO  19:32:17.770 Done!
[main] INFO  19:32:17.779 Searching for plugins in /Applications/PS3 Media Server.app/Contents/Resources/Java/plugins
[main] INFO  19:32:17.784 Found plugin: com.chocolatey.pmsencoder.Plugin
[main] INFO  19:32:17.798 PMSEncoder: initializing PMSEncoder 1.5.12
[main] INFO  19:32:17.845 PMSEncoder: loading built-in log4j config file: jar:file:/Applications/PS3%20Media%20Server.app/Contents/Resources/Java/plugins/pmsencoder-1.5.12.jar!/log4j_default.xml
[main] INFO  19:32:20.915 Registering transcoding engine: PMSEncoder
[main] INFO  19:32:20.918 Registering transcoding engine: FFmpeg Audio
[main] INFO  19:32:20.922 Registering transcoding engine: MEncoder
[main] INFO  19:32:20.927 Registering transcoding engine: MPlayer Audio
[main] INFO  19:32:20.930 Registering transcoding engine: MEncoder Web
[main] INFO  19:32:20.939 Registering transcoding engine: MPlayer Video Dump
[main] INFO  19:32:20.939 Registering transcoding engine: MPlayer Web
[main] INFO  19:32:20.941 Registering transcoding engine: tsMuxeR
[main] INFO  19:32:20.943 Registering transcoding engine: Audio High Fidelity
[main] INFO  19:32:20.966 Registering transcoding engine: VLC Audio Streaming
[main] INFO  19:32:20.973 Registering transcoding engine: VLC Video Streaming
[main] INFO  19:32:20.974 Registering transcoding engine: Raws Thumbnailer
[main] INFO  19:32:21.124 Skipping network interface vmnet8 (vmnet8)
[main] INFO  19:32:21.127 Skipping network interface vmnet1 (vmnet1)
[main] INFO  19:32:21.131 Scanning network interface en1 (en1)
[main] INFO  19:32:21.132 Using address /192.168.0.2 found on network interface: name:en1 (en1)
[main] INFO  19:32:21.133 Created socket: /192.168.0.2:5001
[main] INFO  19:32:21.380 Checking shared folder: /Users/me
[main] INFO  19:32:21.384 Checking shared folder: /Volumes
[main] DEBUG 19:32:21.521 Sending ALIVE...
[main] INFO  19:32:21.528 Using the following UUID configured in PMS.conf: 0621e557-aecb-3e6e-ab84-688c7ec09149
[New I/O server worker #1-1] INFO  19:32:24.372 No IP filter specified, access granted to /192.168.0.6
[pool-3-thread-1] INFO  19:32:24.390 Checking ip:192.168.0.6 for Sony Bravia 5500
[pool-3-thread-1] INFO  19:32:24.515 Renderer Sony Bravia 5500 found on this address: 192.168.0.6
[pool-3-thread-1] DEBUG 19:32:24.521 Starting ping -c 3 -s 64000 192.168.0.6
[Thread-12] DEBUG 19:32:24.547 ping: sendto: Message too long
[pool-3-thread-1] DEBUG 19:32:24.549 Unix process ID (ping): 30067
[Thread-12] DEBUG 19:32:25.544 ping: sendto: Message too long
[main] INFO  19:32:26.261 The server should now appear on your renderer
[Thread-11] DEBUG 19:32:26.522 Stopping Unix process 30067: ping
[Thread-14] DEBUG 19:32:36.261 Sending ALIVE...
[New I/O server worker #1-2] INFO  19:32:50.832 Checking shared folder: /Users/me
[New I/O server worker #1-2] INFO  19:32:50.833 Checking shared folder: /Volumes
[Thread-14] DEBUG 19:32:59.464 Sending ALIVE...
[pool-10-thread-1] DEBUG 19:33:06.403 Retrieving http://feeds.bbc.co.uk/iplayer/popular/tv
[pool-12-thread-1] DEBUG 19:33:12.249 Retrieving http://feeds.bbc.co.uk/iplayer/popular/tv
[New I/O server worker #1-4] INFO  19:33:35.286 Starting transcode/remux of Waterloo Road: Series 7: Episode 22
[mkfifo] DEBUG 19:33:35.328 Starting mkfifo -m 777 /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330630415305_36
[mkfifo] DEBUG 19:33:35.395 Unix process ID (mkfifo): 30095
[osx/ffmpeg] DEBUG 19:33:35.803 Starting /Applications/PS3 Media Server.app/Contents/Resources/Java/osx/ffmpeg -v 0 -y -threads 2 -i http://www.bbc.co.uk/iplayer/episode/b01cyt4q/Waterloo_Road_Series_7_Episode_22/ -threads 2 -target ntsc-dvd /private/var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330630415305_36
[osx/ffmpeg] DEBUG 19:33:35.852 Reading pipe: /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330630415305_36
[Thread-20] DEBUG 19:33:47.017 Stopping process: osx/ffmpeg
[New I/O server worker #1-4] ERROR 19:33:47.017 There is no inputstream to return for Waterloo Road: Series 7: Episode 22 [PMSEncoder]
[Thread-20] DEBUG 19:33:47.020 Stopping Unix process 30095: mkfifo
[New I/O server worker #1-3] INFO  19:33:47.040 Starting transcode/remux of Waterloo Road: Series 7: Episode 22
[mkfifo] DEBUG 19:33:47.042 Starting mkfifo -m 777 /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330630427040_41
[mkfifo] DEBUG 19:33:47.071 Unix process ID (mkfifo): 30099
[osx/ffmpeg] DEBUG 19:33:47.273 Starting /Applications/PS3 Media Server.app/Contents/Resources/Java/osx/ffmpeg -v 0 -y -threads 2 -i http://www.bbc.co.uk/iplayer/episode/b01cyt4q/Waterloo_Road_Series_7_Episode_22/ -threads 2 -target ntsc-dvd /private/var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330630427040_41
[osx/ffmpeg] DEBUG 19:33:47.299 Reading pipe: /var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330630427040_41
[Thread-26] DEBUG 19:33:58.485 Stopping process: osx/ffmpeg
[New I/O server worker #1-3] ERROR 19:33:58.485 There is no inputstream to return for Waterloo Road: Series 7: Episode 22 [PMSEncoder]
[Thread-26] DEBUG 19:33:58.490 Stopping Unix process 30099: mkfifo
gregd72002
 
Posts: 16
Joined: Wed Feb 29, 2012 8:24 pm

Re: BBC iPlayer

Postby chocolateboy » Thu Mar 01, 2012 9:12 pm

gregd72002 wrote:I'd be interested in getting iplayer on my tv via ps3 media server as well..


This thread is over 2 years old. Please don't necropost unless you have something new to add.

I tried it using pmsencoder and it does not work


If you must raise a topic in multiple places, post a link rather than spamming the forum with duplicate posts.

debug.log


As I've asked you twice before, please follow the instructions for reporting issues if you want help.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: BBC iPlayer

Postby gregd72002 » Fri Mar 02, 2012 2:32 am

Ok, it looks like this might work using get_iplayer scripts http://www.infradead.org/get_iplayer/
I was successful downloading iPlayer movies just using get_iplayer script.

My idea is to create GROOVY script for pmsencoder that will invoke get_iplayer to retrieve the movie (FLV file) and pass it over to pmsencoder for postprocessing. Does it sound reasonable?

My groovy script looks so far like this:
Code: Select all
// videofeed.Web,BBC iPlayer=http://feeds.bbc.co.uk/iplayer/popular/tv
script {
    profile ('BBC iPlayer') {
        pattern {
            domain 'bbc.co.uk'
            match uri: '/iplayer/episode/(?<pid>........)/(.*)'
        }

        action {
            downloader = "/Users/me/Downloads/get_iplayer/get_iplayer --pid ${pid} --mode=flashstd --output DOWNLOADER_OUT"
        }
    }
}


pmsencoder.log when trying to play bbc movie:
Code: Select all
2012-03-02 01:26:21 [INFO|PMSEncoder|launchTranscode|New I/O server worker #1-2]: invoking matcher for: http://www.bbc.co.uk/iplayer/episode/b01cpqbr/Sun_Sex_and_Suspicious_Parents_Series_2_Zante/
2012-03-02 01:26:21 [INFO|PMSEncoder|launchTranscode|New I/O server worker #1-2]: 0 matches for: http://www.bbc.co.uk/iplayer/episode/b01cpqbr/Sun_Sex_and_Suspicious_Parents_Series_2_Zante/
2012-03-02 01:26:21 [INFO|ProcessManager|handleTranscode|New I/O server worker #1-2]: transcoder command: [/Applications/PS3 Media Server.app/Contents/Resources/Java/osx/ffmpeg, -v, 0, -y, -threads, 2, -i, http://www.bbc.co.uk/iplayer/episode/b01cpqbr/Sun_Sex_and_Suspicious_Parents_Series_2_Zante/, -threads, 2, -target, ntsc-dvd, /private/var/folders/l9/bp2fl7zx4v12wrx5f3nzqcqm0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330651580862_130]


Why is my groovy action not being executed and the pmsencoder goes straight into transcoding?
gregd72002
 
Posts: 16
Joined: Wed Feb 29, 2012 8:24 pm

custom downloader

Postby gregd72002 » Mon Mar 05, 2012 12:12 am

Hi guys,

I'm trying to write my own groovy script for pmsencoder. The idea is to play an FLV movie that is downloaded using 3rd party script.
I got the downloader working but the movie does not play?

Groovy script:
Code: Select all
// videofeed.Web,BBC iPlayer=http://feeds.bbc.co.uk/iplayer/popular/tv
script {
    profile ('BBC iPlayer') {
        pattern {
            match $URI: '^http://www\\.bbc\\.co\\.uk/iplayer/episode/(?<pid>........)/'
        }

        action {
            def GETIPLAYER_PATH = "/Users/me/Downloads/get_iplayer"
            $DOWNLOADER = "${GETIPLAYER_PATH}/get_iplayer --pid ${pid} --mode=flashstd --flvstreamer ${GETIPLAYER_PATH}/flvstreamer --overwrite --stream >> ${DOWNLOADER_OUT}"
        }
    }
}


When I try to play the movie I got the following debug:
Code: Select all
[pool-12-thread-1] DEBUG 22:50:51.909 Retrieving http://feeds.bbc.co.uk/iplayer/popular/tv
[New I/O server worker #1-1] INFO  22:51:09.930 Starting transcode/remux of Casualty: Series 26: Ricochet: How to Save a Life
[mkfifo] DEBUG 22:51:09.940 Starting mkfifo -m 777 /var/folders/88/52953jwn3dg1wdbwtgwrf6rc0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330901469938_40
[mkfifo] DEBUG 22:51:09.987 Unix process ID (mkfifo): 8820
[mkfifo] DEBUG 22:51:10.588 Starting mkfifo -m 777 /var/folders/88/52953jwn3dg1wdbwtgwrf6rc0000gn/T/ps3mediaserver/pmsencoder_downloader_out_1330901469938_40
[mkfifo] DEBUG 22:51:10.811 Unix process ID (mkfifo): 8822
[/Users/gdymarek/Downloads/get_iplayer/get_iplayer] DEBUG 22:51:10.845 Starting /Users/me/Downloads/get_iplayer/get_iplayer --pid b01d5nkk --mode=flashstd --flvstreamer /Users/me/Downloads/get_iplayer/flvstreamer --overwrite --stream >> /private/var/folders/88/52953jwn3dg1wdbwtgwrf6rc0000gn/T/ps3mediaserver/pmsencoder_downloader_out_1330901469938_40
[osx/ffmpeg] DEBUG 22:51:10.949 Starting /Users/me/Downloads/PS3 Media Server.app/Contents/Resources/Java/osx/ffmpeg -v 0 -y -threads 2 -i /private/var/folders/88/52953jwn3dg1wdbwtgwrf6rc0000gn/T/ps3mediaserver/pmsencoder_downloader_out_1330901469938_40 -threads 2 -target ntsc-dvd /private/var/folders/88/52953jwn3dg1wdbwtgwrf6rc0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330901469938_40
[osx/ffmpeg] DEBUG 22:51:11.089 Reading pipe: /var/folders/88/52953jwn3dg1wdbwtgwrf6rc0000gn/T/ps3mediaserver/pmsencoder_transcoder_out_1330901469938_40
[Thread-24] DEBUG 22:51:22.202 Stopping process: osx/ffmpeg
[Thread-24] DEBUG 22:51:22.204 Stopping Unix process 8820: mkfifo
[New I/O server worker #1-1] ERROR 22:51:22.201 There is no inputstream to return for Casualty: Series 26: Ricochet: How to Save a Life [PMSEncoder]
[Thread-24] DEBUG 22:51:22.210 Stopping Unix process 8822: mkfifo
[Thread-24] DEBUG 22:51:22.211 Stopping process: /Users/gdymarek/Downloads/get_iplayer/get_iplayer
[Thread-21] DEBUG 22:51:22.217 Error consuming stream of spawned process: Bad file descriptor


I am sure that the downloader (get_iplayer) works fine because if I copy-paste the above commands into shell I can read the fifo and get my FLV file. Moreover, I can also run ffmpeg on the above fifo which writes into transcoder_out file which I can play perfectly fine using VLC.

So why this does not work within PS3 Media Server?
gregd72002
 
Posts: 16
Joined: Wed Feb 29, 2012 8:24 pm

Re: custom downloader

Postby chocolateboy » Mon Mar 05, 2012 1:57 am

gregd72002 wrote:I am sure that the downloader (get_iplayer) works fine because if I copy-paste the above commands into shell


The command doesn't understand the shell redirection syntax. There's no shell unless you exec it:

Code: Select all
$DOWNLOADER = [ "/bin/sh", "-c",  "/usr/bin/perl /path/to/get_iplayer ..." ]
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: BBC iPlayer

Postby gregd72002 » Mon Mar 05, 2012 7:11 pm

Wow!! this is working now :) So BBC iPlayer is working with PS3 Media Server! :)

Instructions:
1) download and unpack get_iplayer from http://www.infradead.org/get_iplayer/html/get_iplayer.html
2) download flvstreamer from http://download.savannah.gnu.org/releases/flvstreamer/; save it so its name is flvstreamer into your get_iplayer folder; if you are on *nix system you might want to chmod +x ./flvstreamer
3) place bbciplayer.groovy script in pmsencoder folder (on OSX it is PS3 Media Server.app/Contents/Resources/Java/pmsencoder)
4) edit bbciplayer.groovy script and set correct path (see the content of the script for info)
5) add the following line to your WEB.conf
Code: Select all
videofeed.Web,BBC iPlayer=http://feeds.bbc.co.uk/iplayer/popular/tv


bbciplayer.groovy
Code: Select all
// 05 March 2012 (Gregory Dymarek, gregd72002@gmail.com)
//
// Please verify the following variables: GETIPLAYER_PATH, SHELL and PERL
//
// videofeed.Web,BBC iPlayer=http://feeds.bbc.co.uk/iplayer/popular/tv
script {
    profile ('BBC iPlayer') {
        pattern {
            match $URI: '^http://www\\.bbc\\.co\\.uk/iplayer/episode/(?<pid>........)/'
        }

        action {
            def GETIPLAYER_PATH = "/Users/me/get_iplayer" //this should point the FOLDER get_iplayer is in
            def SHELL = "/bin/sh" //your sh interpreter - for windows users this should probably say C:\windows\command\cmd.exe or something similar
            def PERL = "/usr/bin/perl" //path to perl interpreter

            $DOWNLOADER = [ "${SHELL}", "-c", "${PERL} ${GETIPLAYER_PATH}/get_iplayer --pid ${pid} --mode=flashstd --flvstreamer ${GETIPLAYER_PATH}/flvstreamer --overwrite --stream >> ${DOWNLOADER_OUT}"]
        }
    }
}



Now, you should have a BBC iPlayer menu in PS3 Media Server - just navigate and play!

Hints:
Need to change quality? - Edit bbciplayer.groovy script and search/replace 'flashstd' into one of the following: flashhd,flashvhigh,flashhigh,flashstd,flashnormal,flashlow

Troubleshooting:
run get_iplayer from your command line/shell and verify this works fine (i.e. you are able to download FLV movie)


Thanks,
Gregory Dymarek
Last edited by gregd72002 on Mon Mar 05, 2012 7:37 pm, edited 1 time in total.
gregd72002
 
Posts: 16
Joined: Wed Feb 29, 2012 8:24 pm

Next

Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 8 guests