|
Jul 23 2009
|
![]()

With the latest experimental release of get_iplayer PVR Manager you can now use to browse and play almost any BBC iPlayer programme directly from VLC‘s playlist. This functionality of get_iplayer PVR Manager should work on Linux/Unix, MacOSX and Windows.
Just download and run get_iplayer PVR manager as described in yesterdays post
Next, using VLC to open a URL such as:
http://127.0.0.1:1935/playlist?PROGTYPES=liveradio
You will get an automatically generated playlist for the programme type you selected.
Valid programme types are:
- tv
- radio
- livetv
- liveradio
Open the playlist in the vlc GUI and you will see all of the available programmes.
Just click on one and it will start playing after a few seconds.
There are many more examples and detailed usage in the comments at the top of the get_iplayer.cgi script if you are interested.
I haven’t tried opening the playlists in anything other than mplayer and vlc so far. When I get a chance I’ll try them out on the Squeezebox also.
Let me know if you get this working on any other players or if you find any other novel uses for it.
Update: Now works on windows except for realaudio channels. Ensure you use flvstreamer v1.8h or later.
This simply gets better by the day! A couple of observations:-
VLC plays BBC Four/Cbeebies by default at startup. Could that be changed?
Cbeebies and CBC occupy the same slots as Three and Four at mutually exclusive times. Double entries could be dispensed with in the playlist.
VLC repeatedly hangs on my system when News 24 is played via selecting the listing from the playlist. Not sure why or if its just particular to me?
VLC, by default, will play the first item in a playlist you give it. Maybe see if there is a VLC option to disable this.
I could dispense with those entries but that really doesn’t fit with the way get_iplayer works and lists all the programmes.
I cannot really be much help with VLC issues as such – maybe just make sure you have the most recent version.
Nice. I get the live stream to start but it then stops after several seconds and doesn’t start again.
Any clues?
Are you using latest flvstreamer? – i.e. 1.8h or later? If so then maybe it’s just a bandwidth problem between you and the internet, finally it could just be that 10060 error we see sometimes with flvstreamer and win32.
I only have ever got the live ‘Play’ and playlist stuiff to work under windows by getting firefox to associate m3u files with vlc.exe.
Has something changed on the I-player.
Using V1.84 on Ubuntu mostly for downloading
radio programs.
Recent downloads have started to default to .wav
versions – rather a large chunk of my 40 gig/month
allowance.
Any suggestions?
Here is my ‘error’:
get_iplayer v1.84, Copyright (C) 2009 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use –warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use –conditions for details.
Matches:
10615: Comedy Catch Up: Yes Minister – The Moral Dimension, BBC 7, Comedy,Radio
INFO: 1 Matching Programmes
justme11@Shane-desktop:~$ get_iplayer –get 10615
get_iplayer v1.84, Copyright (C) 2009 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use –warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use –conditions for details.
Matches:
10615: radio, Comedy Catch Up: Yes Minister – The Moral Dimension, BBC 7, Comedy,Radio
INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: iphone,realaudio modes will be tried for version default
INFO: Trying iphone mode to record radio: Comedy Catch Up: Yes Minister – The Moral Dimension
INFO: File name prefix = Comedy_Catch_Up_Yes_Minister_-_The_Moral_Dimension_b00m5088_default
WARNING: iphone version not available
WARNING: Retry recording for ‘Comedy Catch Up: Yes Minister – The Moral Dimension (b00m5088)’
INFO: File name prefix = Comedy_Catch_Up_Yes_Minister_-_The_Moral_Dimension_b00m5088_default
WARNING: iphone version not available
WARNING: Retry recording for ‘Comedy Catch Up: Yes Minister – The Moral Dimension (b00m5088)’
INFO: File name prefix = Comedy_Catch_Up_Yes_Minister_-_The_Moral_Dimension_b00m5088_default
WARNING: iphone version not available
INFO: Trying realaudio mode to record radio: Comedy Catch Up: Yes Minister – The Moral Dimension
WARNING: Required lame does not exist, will save file in wav format
INFO: File name prefix = Comedy_Catch_Up_Yes_Minister_-_The_Moral_Dimension_b00m5088_default
INFO: Writing wav format
MPlayer 1.0rc2-4.2.4 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(TM) XP 2400+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
Playing rtsp://rm-acl.bbc.co.uk:554/bbc7coyopa/bbc7_-_sunday_1630.ra?timestamp=1250559768&pid=b00m4zwb&BBC-UID=c48aa8dacc4b068fd4622d5f81854f7854975d0ab070b16424dfc977a4c313e4&SSO2-UID=.
Resolving rm-acl.bbc.co.uk for AF_INET6…
Couldn’t resolve name for AF_INET6: rm-acl.bbc.co.uk
Resolving rm-acl.bbc.co.uk for AF_INET…
Connecting to server rm-acl.bbc.co.uk[212.58.227.103]: 554…
Cache size set to 128 KBytes
Cache fill: 18.75% (24576 bytes)
REAL file format detected.
Stream description: audio/x-pn-multirate-realaudio logical stream
Stream mimetype: audio/x-pn-realaudio
[real] Audio stream found, -aid 0
Clip info:
name: Comedy Catch Up 16 08 2009
copyright: British Broadcasting Corporation Copyright 2009, all rights reserved.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 44.1 kbit/3.12% (ratio: 5512->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
[AO PCM] File: ./Comedy_Catch_Up_Yes_Minister_-_The_Moral_Dimension_b00m5088_default.partial.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback…
I highly recommend updating get_iplayer and flvstreamer then install lame. After this I’d recommend setting some useful defaults:
get_iplayer –add-prefs –radiomode=iphone,flashaudio,realaudio
This will set all radio downloads to get the native mp3 versions of radio programmes. RealAudio is really quite poor quality in comparison. If you wan you can get AAC if you add flashaac to the beginning of that list of modes.
This is exactly what I needed. However it works for Radio channels but not for TV channels.
I get the following error message on Web PVR Manager console. Can somebody help, please?
——————————————-
Matches:
80000: BBC Four – live
INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashnormal1 modes will be tried for version default
INFO: Trying flashnormal1 mode to record livetv: BBC Four – live
INFO: File name prefix = BBC_Four_live_2010-02-03_162035
FLVStreamer v2.1a
(c) 2008-2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting …
ERROR: rtmp server sent error
ERROR: rtmp server requested close
INFO: Command exit code 1 (raw code = 256)
INFO: Streaming failed with exit code 1
ERROR: aborting get_iplayer
INFO: Finished Streaming bbc_four to browser
Please search and use the forum for such questions. You need to be in the UK for that to work.