PDA

View Full Version : how to record bbc sport live streams using rtmpdump?


skyDude14
06-24-2014, 01:50 PM
could any one show me the command to record bbc sport live streams ? i have the mediaselect url and pid but dont khow how to construct the command. Hope some one helpe me here.Thanks

blimey
06-24-2014, 02:13 PM
Here is a rtmpdump example for a bbc iplayer video;

rtmpdump -r "rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDE0MDYwMjEwNDQzN iZlbmRfdGltZT0yMDE0MDYwMjE0NDQzNiZkaWdlc3Q9ZTA5ODA 5ZDM1Mjc0ZDU1MTVhYzc4OGNiODhkYTA2MTk=" -a "iplayertok?token=c3RhcnRfdGltZT0yMDE0MDYwMjEwNDQzN iZlbmRfdGltZT0yMDE0MDYwMjE0NDQzNiZkaWdlc3Q9ZTA5ODA 5ZDM1Mjc0ZDU1MTVhYzc4OGNiODhkYTA2MTk=" -f "WIN 13,0,0,214" -W "http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf?1.9.23" -p "http://www.bbc.co.uk/iplayer/episode/b045p796/womens-fa-cup-final-2014-final-arsenal-ladies-v-everton-ladies" -y "mp4:3200kbps/modav/p01zlh4q_b045p78y_1401686080545" -o arsenal.flv


Get the rtmp parameters for your desired video from the mediaselect url. Or, youtube-dl (http://rg3.github.io/youtube-dl/index.html) does it all automatically and passes to rtmpdump.

skyDude14
06-24-2014, 02:22 PM
Here is a rtmpdump example for a bbc iplayer video;

rtmpdump -r "rtmp://iplayertokfs.fplive.net:1935/iplayertok?token=c3RhcnRfdGltZT0yMDE0MDYwMjEwNDQzN iZlbmRfdGltZT0yMDE0MDYwMjE0NDQzNiZkaWdlc3Q9ZTA5ODA 5ZDM1Mjc0ZDU1MTVhYzc4OGNiODhkYTA2MTk=" -a "iplayertok?token=c3RhcnRfdGltZT0yMDE0MDYwMjEwNDQzN iZlbmRfdGltZT0yMDE0MDYwMjE0NDQzNiZkaWdlc3Q9ZTA5ODA 5ZDM1Mjc0ZDU1MTVhYzc4OGNiODhkYTA2MTk=" -f "WIN 13,0,0,214" -W "http://emp.bbci.co.uk/emp/releases/smp-flash/revisions/1.9.23/1.9.23_smp.swf?1.9.23" -p "http://www.bbc.co.uk/iplayer/episode/b045p796/womens-fa-cup-final-2014-final-arsenal-ladies-v-everton-ladies" -y "mp4:3200kbps/modav/p01zlh4q_b045p78y_1401686080545" -o arsenal.flv


Get the rtmpe parameters for your desired video from the mediaselect url. Or, youtube-dl (http://rg3.github.io/youtube-dl/index.html) does it all automatically and passes to rtmpdump.

many thanks for your quick reply. is there any javascript that construct that rtmpdump command by giving it the url of mediaselect for live bbc stream ? i have difficulty making the rtmpdump command. i have to mention that mediaselct for live streams and catch up streams are diffrent so it is hard for me to make the rtmpdump command .

could you explain to me how to use youtube-dl ? i never used it before.hope you help me here too.Thanks