BBC iPlayer/Live for stock OS - FIXED JERKY PLAYBACK
Posted: Fri Apr 08, 2011 7:49 am
NOW UPDATED please refer to this thread http://www.jogglerwiki.com/forum/viewto ... ?f=2&t=129
----------------------------------------------------------------------------------------------------------------------------
http://files.exotica.org.uk/?file=joggl ... Player.tgz
FIXED JERKY PLAYBACK - NOW SILKY SMOOTH (for both OnDemand and Live streams)
Streams are now played using exactly the same mechanism as the SWF manager plays them.
iPlayer is a modified version of the BBC Live app (the one shipped with PNP).
The original BBC Live app was written by Darren Lee.
iPlayer adds the ability to search via an on-screen keyboard through the current iPlayer programme database and play any TV or Radio Program found.
The iPlayer uses the following 20 RSS feeds to supply the data:
http://feeds.bbc.co.uk/iplayer/bbc_1/list/
http://feeds.bbc.co.uk/iplayer/bbc_2/list/
http://feeds.bbc.co.uk/iplayer/bbc_3/list/
http://feeds.bbc.co.uk/iplayer/bbc_4/list/
http://feeds.bbc.co.uk/iplayer/cbeebies/list/
http://feeds.bbc.co.uk/iplayer/cbbc/list/
http://feeds.bbc.co.uk/iplayer/bbc_parliament/list/
http://feeds.bbc.co.uk/iplayer/bbc_news24/list/
http://feeds.bbc.co.uk/iplayer/bbc_alba/list/
http://feeds.bbc.co.uk/iplayer/hd/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio1/list/
http://feeds.bbc.co.uk/iplayer/bbc_1xtra/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio2/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio3/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio4/list/
http://feeds.bbc.co.uk/iplayer/radio_four_extra/list/
http://feeds.bbc.co.uk/iplayer/bbc_5live/list/
http://feeds.bbc.co.uk/iplayer/bbc_5liv ... xtra/list/
http://feeds.bbc.co.uk/iplayer/bbc_6music/list/
http://feeds.bbc.co.uk/iplayer/bbc_7/list/
These are requested on startup of the application and normally take only a few seconds to all load, as a feed is loaded the corresponding channel icon on the iPlayer screen will light up to indicate this channel is now in the database and fully searchable, the database is recreated each time the application is restarted.
Individual channels can also be switched on/off simply by clicking their icon in the iPlayer screen.
To Use:
To watch live TV just click the appropriate icon in the main screen.
To search iPlayer click the iPlayer icon from the main screen (this appears as soon as one feed has loaded)
Click the input-box to bring up the keyboard, enter search term (currently it uses a simple text match), hit "Done", followed by "Find".
Click a thumbnail to play/listen to a programme.
When playing, to close a programme click the close icon in the top-left corner.
To install (NOTE the 2 new chmod commands)
telnet into joggler, then
cd media
mkdir iPlayer
cd iPlayer
wget ftp://aero.exotica.org.uk/pub/mirrors/exotica/joggler/files/iPlayer.tgz
tar xvf iPlayer.tgz
rm iPlayer.tgz
chmod +x app.cgi
chmod +x iPlayer.cgi
cd
cd media/appshop
vi applications.xml
i (enters insert mode)
Add the following immediately before the final </applications>
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
Then hit ESC followed by :x return (save and exit)
Restart joggler
NOTE the final slash at the end of the app tag, if you miss this you will get no icons on the main joggler screen!!
Comments appreciated.
For those interested the onDemand streams are actually played by launching the URL:
http://www.bbc.co.uk/emp/10player.swf?config_settings_autoPlay=true&config_settings_transportHeight=50&playlist=http://www.bbc.co.uk/iplayer/playlist/pid
where pid is the unique program identifier
And the live streams:
http://www.bbc.co.uk/emp/10player.swf?config_settings_autoPlay=true&config_settings_transportHeight=50&playlist=http://www.bbc.co.uk/iplayer/playlist/pgm
where pgm is the channel identifier
I have now also decompiled the original 10player.swf and discovered a few neat config_setting parameters that I will add in the near future.
In order to acheive the smooth playback of the streams it is necessary to do this:
export LD_LIBRARY_PATH=./:/lib/intel:/openpeak/tango/common_libs
export KMP_DUPLICATE_LIB_OK=TRUE
export DISPLAY=:0.0
export SDL_AUDIODRIVER=alsa
cd /openpeak/tango
/bin/busybox kill -STOP `ps | grep "tango.*opphone" | grep -v grep | awk '{print $1}'`
/bin/busybox kill -STOP `ps | grep "operamobile" | grep -v grep | awk '{print $1}'`
Before launching the feed (and reversing it when stopping the feed).
Anyone know what this actually does?
----------------------------------------------------------------------------------------------------------------------------
http://files.exotica.org.uk/?file=joggl ... Player.tgz
FIXED JERKY PLAYBACK - NOW SILKY SMOOTH (for both OnDemand and Live streams)
Streams are now played using exactly the same mechanism as the SWF manager plays them.
iPlayer is a modified version of the BBC Live app (the one shipped with PNP).
The original BBC Live app was written by Darren Lee.
iPlayer adds the ability to search via an on-screen keyboard through the current iPlayer programme database and play any TV or Radio Program found.
The iPlayer uses the following 20 RSS feeds to supply the data:
http://feeds.bbc.co.uk/iplayer/bbc_1/list/
http://feeds.bbc.co.uk/iplayer/bbc_2/list/
http://feeds.bbc.co.uk/iplayer/bbc_3/list/
http://feeds.bbc.co.uk/iplayer/bbc_4/list/
http://feeds.bbc.co.uk/iplayer/cbeebies/list/
http://feeds.bbc.co.uk/iplayer/cbbc/list/
http://feeds.bbc.co.uk/iplayer/bbc_parliament/list/
http://feeds.bbc.co.uk/iplayer/bbc_news24/list/
http://feeds.bbc.co.uk/iplayer/bbc_alba/list/
http://feeds.bbc.co.uk/iplayer/hd/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio1/list/
http://feeds.bbc.co.uk/iplayer/bbc_1xtra/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio2/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio3/list/
http://feeds.bbc.co.uk/iplayer/bbc_radio4/list/
http://feeds.bbc.co.uk/iplayer/radio_four_extra/list/
http://feeds.bbc.co.uk/iplayer/bbc_5live/list/
http://feeds.bbc.co.uk/iplayer/bbc_5liv ... xtra/list/
http://feeds.bbc.co.uk/iplayer/bbc_6music/list/
http://feeds.bbc.co.uk/iplayer/bbc_7/list/
These are requested on startup of the application and normally take only a few seconds to all load, as a feed is loaded the corresponding channel icon on the iPlayer screen will light up to indicate this channel is now in the database and fully searchable, the database is recreated each time the application is restarted.
Individual channels can also be switched on/off simply by clicking their icon in the iPlayer screen.
To Use:
To watch live TV just click the appropriate icon in the main screen.
To search iPlayer click the iPlayer icon from the main screen (this appears as soon as one feed has loaded)
Click the input-box to bring up the keyboard, enter search term (currently it uses a simple text match), hit "Done", followed by "Find".
Click a thumbnail to play/listen to a programme.
When playing, to close a programme click the close icon in the top-left corner.
To install (NOTE the 2 new chmod commands)
telnet into joggler, then
cd media
mkdir iPlayer
cd iPlayer
wget ftp://aero.exotica.org.uk/pub/mirrors/exotica/joggler/files/iPlayer.tgz
tar xvf iPlayer.tgz
rm iPlayer.tgz
chmod +x app.cgi
chmod +x iPlayer.cgi
cd
cd media/appshop
vi applications.xml
i (enters insert mode)
Add the following immediately before the final </applications>
<app id="iPlayer" title="iPlayer" loc="/media/iPlayer/" icon="icon.swf" app="main.swf"/>
Then hit ESC followed by :x return (save and exit)
Restart joggler
NOTE the final slash at the end of the app tag, if you miss this you will get no icons on the main joggler screen!!
Comments appreciated.
For those interested the onDemand streams are actually played by launching the URL:
http://www.bbc.co.uk/emp/10player.swf?config_settings_autoPlay=true&config_settings_transportHeight=50&playlist=http://www.bbc.co.uk/iplayer/playlist/pid
where pid is the unique program identifier
And the live streams:
http://www.bbc.co.uk/emp/10player.swf?config_settings_autoPlay=true&config_settings_transportHeight=50&playlist=http://www.bbc.co.uk/iplayer/playlist/pgm
where pgm is the channel identifier
I have now also decompiled the original 10player.swf and discovered a few neat config_setting parameters that I will add in the near future.
In order to acheive the smooth playback of the streams it is necessary to do this:
export LD_LIBRARY_PATH=./:/lib/intel:/openpeak/tango/common_libs
export KMP_DUPLICATE_LIB_OK=TRUE
export DISPLAY=:0.0
export SDL_AUDIODRIVER=alsa
cd /openpeak/tango
/bin/busybox kill -STOP `ps | grep "tango.*opphone" | grep -v grep | awk '{print $1}'`
/bin/busybox kill -STOP `ps | grep "operamobile" | grep -v grep | awk '{print $1}'`
Before launching the feed (and reversing it when stopping the feed).
Anyone know what this actually does?