Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Re: BBC TV Recording with rtmpsuckThe problem is the tremendous duplication of effort in parsing the options, of which there are already 17 or so and will probably be more over time. There's no good reason to have to patch all of the apps every time we add a new option to librtmp.
|
#12
|
|||
|
|||
Re: BBC TV Recording with rtmpsuckTrue, but is there really the need for XBMC etc. to support all of them? If the developers encounter a service that might require a 'special' parameter, they can add support for this particular parameter in the same breath (if not already done). The effort is worth it, if you ask me. The advantages are obvious: A much more flexible library with no need for the (mis)use of uncommon characters as separators as you'd suggested on the mailing list.
|
#13
|
|||
|
|||
Need help recording bbc.co.uk show...I tried using rtmpdump to record a radio show, and I keep getting an error saying handshake failed. Anyone know what I'm doing wrong?
This is the website with a link to the show: _http://www.bbc.co.uk/programmes/b00s7m2d and this is the rtmpt link I found with URL Snooper: rtmpt://bbcmedia.fcod.llnwd.net/a1414/e3/mp4:radio2/secure_auth/international/RBN2_radio_2_-_sunday_0000_b00s7m1y_2010_05_02_03_23_34?s=127277 3895&e=1272860295&h=cbffae1c0ea1f481fe0ded 6fab65653b |
#14
|
|||
|
|||
rtmpdump fails for BBC iPlayerRecently streams from BBC radio3 are failing in rtmpdump v2.2d, first flashaudio, now flashaac1 and flashaac2. We are receiving Command exit code 1 (raw code = 256). RTMPDump is being run by get_iplayer 2.76.
We presume BBC has altered something in recent streams that is causing this problem. flashaudio was the first to fail (more than a month ago), now flashaac modes are also failing. Has this problem been reported elsewhere? Are there known workarounds? Would debug output from RTMPDump be helpful? If so, what command line arguments would produce helpful debug logs? Last edited by elch : 05-26-2010 at 04:19 PM. Reason: More appropriate title. |
#15
|
|||
|
|||
Re: rtmpdump v2.2d Command Exit Code 1 (raw code = 256) when downloading from BBC iPlHere is debug output from from rtmpdump:
Code:
DEBUG: Protocol : RTMP DEBUG: Hostname : bbcmedia.fcod.llnwd.net DEBUG: Port : 1935 DEBUG: Playpath : mp4:radio3/secure_auth/RBN2_radio_3_-_thursday_1700_b00sbfmb_2010_05_20_18_44_23.mp4?as=adobe-hmac-sha256&av=1&te=connect&mp=radio3/secure_auth/modem/RBN2_radio_3_-_thursday_1700_b00sbfmb_2010_05_20_18_44_44.mp4,radio3/secure_auth/RBN2_radio_3_-_thursday_1700_b00sbfmb_2010_05_20_18_44_23.mp4&et=1274435234&fmta-token=e4a9bbd695df3263b8005b5b3d2943fe7793e01cfba682320d2a371a1dd69e78 DEBUG: tcUrl : rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3 DEBUG: swfUrl : http://www.bbc.co.uk/emp/10player.sw...on=14200_14320 DEBUG: app : a1414/e3 DEBUG: flashVer : LNX 10,0,22,87 DEBUG: live : no DEBUG: timeout : 10 sec DEBUG: Connect, ... connected, handshaking DEBUG: HandShake: Type Answer : 03 DEBUG: HandShake: Server Uptime : 1776136389 DEBUG: HandShake: FMS Version : 3.5.2.1 DEBUG: Connect, handshaked INFO: Connected... Starting download at: 0.000 kB DEBUG: GetNextMediaPacket, received: server BW DEBUG: GetNextMediaPacket, received: client BW DEBUG: GetNextMediaPacket, received: invoke 240 bytes DEBUG: Property: <Name: no-name., STRING: _result> DEBUG: Property: <Name: no-name., NUMBER: 1.00> DEBUG: Property: <Name: no-name., OBJECT> DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,3,837> DEBUG: Property: <Name: capabilities, NUMBER: 127.00> DEBUG: Property: <Name: mode, NUMBER: 1.00> DEBUG: Property: <Name: no-name., OBJECT> DEBUG: Property: <Name: level, STRING: status> DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success> DEBUG: Property: <Name: description, STRING: Connection succeeded.> DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00> DEBUG: Property: <Name: data, OBJECT> DEBUG: Property: <Name: version, STRING: 3,5,3,837> DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <connect> DEBUG: sending ping. type: 0x0003 DEBUG: GetNextMediaPacket, received: invoke 21 bytes DEBUG: Property: <Name: no-name., STRING: onBWDone> DEBUG: Property: <Name: no-name., NUMBER: 0.00> DEBUG: HandleInvoke, server invoking <onBWDone> DEBUG: GetNextMediaPacket, received: invoke 29 bytes DEBUG: Property: <Name: no-name., STRING: _result> DEBUG: Property: <Name: no-name., NUMBER: 2.00> DEBUG: Property: NULL DEBUG: Property: <Name: no-name., NUMBER: 1.00> DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <createStream> DEBUG: SendPlay, sending play: mp4:radio3/secure_auth/RBN2_radio_3_-_thursday_1700_b00sbfmb_2010_05_20_18_44_23.mp4?as=adobe-hmac-sha256&av=1&te=connect&mp=radio3/secure_auth/modem/RBN2_radio_3_-_thursday_1700_b00sbfmb_2010_05_20_18_44_44.mp4,radio3/secure_auth/RBN2_radio_3_-_thursday_1700_b00sbfmb_2010_05_20_18_44_23.mp4&et=1274435234&fmta-token=e4a9bbd695df3263b8005b5b3d2943fe7793e01cfba682320d2a371a1dd69e78 DEBUG: sending ping. type: 0x0003 DEBUG: GetNextMediaPacket, received: invoke 133 bytes DEBUG: Property: <Name: no-name., STRING: onStatus> DEBUG: Property: <Name: no-name., NUMBER: 0.00> DEBUG: Property: NULL DEBUG: Property: <Name: no-name., OBJECT> DEBUG: Property: <Name: level, STRING: error> DEBUG: Property: <Name: code, STRING: NetStream.Failed> DEBUG: Property: <Name: description, STRING: Failed to play (stream ID: 1).> DEBUG: Property: <Name: clientid, STRING: ^ytwIPwY> DEBUG: HandleInvoke, server invoking <onStatus> DEBUG: HandleInvoke, onStatus: NetStream.Failed DEBUG: Writing data type: 00 Download may be incomplete (downloaded about 0.00%), try --resume DEBUG: Closing connection. DEBUG: Exit code: |
#16
|
|||
|
|||
Re: Re: rtmpdump v2.2d Command Exit Code 1 (raw code = 256) when downloading from BBCHi Khrushchev, if you go to the get_iplayer website where the original author of the program (Phil Lewis) has kindly allowed users to continue to post comments on the final blog post, you will see that a user under the name 'fsck' has posted the two lines of code that you need to change in get_iplayer.pl:
http://linuxcentre.net/get_iplayer-d...#comment-22883 (Remember to change the quotes if you use it from the linuxcenter or just copy and paste from here): Quote:
Last edited by Garibaldi : 05-21-2010 at 09:32 PM. Reason: fix curly to straight quote |
#17
|
|||
|
|||
Re: Need help recording bbc.co.uk show...Read the following links for details of what you could have done at the time to solve your problem, how changes on the iPlayer website have since been made to block those solutions, and what other software exists to help you now -
http://streemeboxvcr.yuku.com/topic/2238: Quote:
|
#18
|
|||
|
|||
Re: Need help recording bbc.co.uk show...http://beebhack.wikia.com/wiki/IPhone_H.264_version:
Quote:
http://www.google.com/search?q=bbcmedia.fcod.llnwd.net/a1414/e3/ |
#19
|
|||
|
|||
Re: rtmpdump v2.2d Command Exit Code 1 (raw code = 256) when downloading from BBC iPlBy the way, there is also a fork of get_iplayer integrating various patches. http://git.infradead.org/get_iplayer.git
Would somebody be so kind and provide a working command or could tell me what I'm doing wrong with putting the parameters together? Example: rtmpdump --port 1935 --protocol 0 --playpath 'mp4:iplayerstream/secure_auth/1500kbps/The_Cut_Series_2_Episode_5_b00skndd.mp4' --host bbcmedia.fcod.llnwd.net --swfUrl http://www.bbc.co.uk/emp/10player.sw...on=14200_14320 --tcUrl 'rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3' --app 'a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/1500kbps/The_Cut_Series_2_Episode_5_b00skndd.mp4,iplayerstr eam/secure_auth/800kbps/The_Cut_Series_2_Episode_5_b00skndd.mp4,iplayerstr eam/secure_auth/480kbps/The_Cut_Series_2_Episode_5_b00skndd.mp4,iplayerstr eam/secure_auth/400kbps/The_Cut_Series_2_Episode_5_b00skndd.mp4&et=1272914 612&fmta-token={THE_TOKEN}' --timeout 10 -o '/mnt/usb/Series/The Cut/Series 2/5. Confidence/iplayer_streaming_h264_flv_high.flv' Yes, I am aware of the The_Cut_Series_2_Episode_5_b00skndd.mp4 appearing several times but how would I do it right? Just use the first one and skip the others to finally continue with et and fmta-token? Thanks! |
#20
|
|||
|
|||
Re: rtmpdump v2.2d Command Exit Code 1 (raw code = 256) when downloading from BBC iPlThis is the new format of the command for RTMPDUMP 2.2d -
rtmpdump -r "rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=bbc7/secure_auth/modem/RBN2_bbc7_-_friday_0930_b007r4y0_2010_05_28_09_30_02.mp4,bbc7/secure_auth/RBN2_bbc7_-_friday_0930_b007r4y0_2010_05_28_09_26_32.mp4&et=1 275070833&fmta-token=20f39f70bfa163a2f61ba534b732bdcb036683e3ab4f 7b013e698554ac5516d1" -a "a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=bbc7/secure_auth/modem/RBN2_bbc7_-_friday_0930_b007r4y0_2010_05_28_09_30_02.mp4,bbc7/secure_auth/RBN2_bbc7_-_friday_0930_b007r4y0_2010_05_28_09_26_32.mp4&et=1 275070833&fmta-token=20f39f70bfa163a2f61ba534b732bdcb036683e3ab4f 7b013e698554ac5516d1" -f "WIN 9,0,260,0" -W "http://www.bbc.co.uk/emp/9player.swf?revision=18182_20020" -p "http://www.bbc.co.uk/iplayer/console/b007r4yr" -y "mp4:bbc7/secure_auth/RBN2_bbc7_-_friday_0930_b007r4y0_2010_05_28_09_26_32.mp4" -o RBN2_bbc7_-_friday_0930_b007r4y0_2010_05_28_09_26_32.mp4 The following instructions enable you to find the URL address of an RTMP stream, i.e. the real address of a BBC iPlayer radio or tv show, using a program called RTMPSRV.EXE, and you then use that address with the main program (RTMPDUMP.EXE) to download that show - 1. Use Get_iPlayer to download the RTMP stream info for the BBC radio or tv show which you want to record: insert the 8-digit PID (Programme ID) number from the URL address of the iPlayer page for that show, in place of the 8 zero's in this command - perl get_iplayer.pl --type=radio --streaminfo PID:00000000 > BBC.txt 2. All you need from the text file which the previous step creates is the HOST address, but that step is unnecessary 99% of the time because for the BBC iPlayer the host address is normally this: bbcmedia.fcod.llnwd.net 3. Edit your computer's HOSTS file, as follows: (a) Go to START > RUN and type this in the box, then click OK: C:\WINDOWS\COMMAND\ATTRIB.EXE -R -S -H C:\WINDOWS\HOSTS (b) Go to START > RUN and type this in the box, then click OK: EDIT C:\WINDOWS\HOSTS (c) Disable the line in the HOSTS file that reads "127.0.0.1 localhost" by putting a # at the start of that line (d) Type in the following line, immediately underneath that line: 127.0.0.1 bbcmedia.fcod.llnwd.net (e) Save the changes: File > Save NB: When it's all over, put your HOSTS file back to normal by reversing all these changes. 4. Download the program RTMPDUMP version 2.2d from this link: http://rtmpdump.mplayerhq.hu/downloa...2d-windows.zip The .zip file includes RTMPSRV.exe as well as RTMPDUMP.exe, so run RTMPSRV.exe (by double-clicking it). 5. Open the iPlayer page that plays the radio or tv show you want to download, and start it playing. This is an example of the page URL address (you must substitute the show's 8-digit PID number for the 8 zero's in this example) - http://www.bbc.co.uk/iplayer/console/00000000 6. Now look at the window in which RTMPSRV is running. It will start displaying the true RTMP address of the tv or radio show that the iPlayer is trying to play in the other window. Command Format: rtmpdump -r "rtmp://[server]:[port]/[application]?[authString]" -a "[application]?[authString]" -f "[Flash Version]" -W "[swfUrl]" -p "[iPlayer page URL]" -y "[mp4: to .mp4 playpath]" -o file.flv Command Example: rtmpdump -r "rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=bbc7/secure_auth/RBN2_bbc_-_thursday_1930_b00sg0w7_2010_05_20_19_26_38.mp4&et =1274934408&fmta-token=2b4b12633bfd205b3d7f3060c0f827c37ae180808836 97444853b3c7866b40ee" -a "a1414/e3?as=adobe-hmac-sha256&av=1&te=connect&mp=bbc7/secure_auth/RBN2_bbc_-_thursday_1930_b00sg0w7_2010_05_20_19_26_38.mp4&et =1274934408&fmta-token=2b4b12633bfd205b3d7f3060c0f827c37ae180808836 97444853b3c7866b40ee" -f "WIN 9,0,260,0" -W "http://www.bbc.co.uk/emp/9player.swf?revision=18182_20020" -p "http://www.bbc.co.uk/iplayer/console/b00sg1gl" -y "mp4:bbc7/secure_auth/RBN2_bbc7_-_thursday_1930_b00sg0w7_2010_05_20_19_26_38.mp4" -o filename.flv 7. Write a batch (.BAT) file called RTMPSRV.BAT to run RTMPSRV.EXE and to pipe its output into another .BAT file, that can be used then to actually download the iPlayer show - This is the content of RTMPSRV.BAT - rtmpsrv > rtmpdump_run.bat If you run RTMPSRV.EXE by double-clicking on the batch file RTMPSRV.bat, it will save all its output into RTMPDUMP.bat - but remember: it is saving the URL address of the iPlayer show, not the actual show itself! Note: You can NOT run RTMPDUMP_RUN.BAT to download the iPlayer show until you have re-edited your HOSTS file back to its original state (or you'll get an error message). Note: There will be *many* copies of the download command saved into the batch file RTMPDUMP_RUN.BAT so you must *delete* all except one! Otherwise the batch file will keep deleting (i.e. overwriting) the download every time it completes it! 8. Finally, you must change the file extension of the downloaded file from .MP4 to .FLV because it really is a Flash FLV file! A Flash audio or video file will play in GOM Player or in Media Player Classic. There are tools to extract the MP4 file from inside the FLV if you want to do that (e.g. FFMPEG.EXE). |
Tags: bbc, bbc iplayer, download, iplayer, rtmpdump, rtmpexplorer, rtmpsrv, rtmpsuck |
Thread Tools | |
Display Modes | |
|
|