May 22 2009

get_iplayer 1.87 now supports the new flvstreamer tool. This tool is a drop-in replacement for rtmpdump except that it has no support for RTMPE. This will not affect the operation of get_iplayer as it does not use that functionality to stream or record rtmp programmes.

flvstreamer is a fork of rtmpdump v1.6 which was censored by adobe who issued a DMCA removal request to the rtmpdump author and got the project taken down in the USA.

Search for flvstreamer on the download page.

38 Comments

  • On May 27th, 2009, TG said:

    I can’t get flvstreamer to kick in under OS X. Have removed rtmpdump to check, and I get this error:

    WARNING: Required program flvstreamer/rtmpdump does not exist (see //linuxcentre.net/getiplayer/installation and //linuxcentre.net/getiplayer/download)

    The binary resides in /usr/local/bin/flvstreamer. I have also set a line in my options file:

    flvstreamer /usr/local/bin/flvstreamer

    yet this doesn’t help. Could you give me any advice? Thanks!

    • On May 27th, 2009, linuxcentre said:

      Internally the option is stall called ‘rtmpdump’. So use:
      ‘rtmpdump /usr/local/bin/flvstreamer’ in the options file.

      • On May 28th, 2009, TG said:

        Thanks 🙂

        • On June 21st, 2009, gc said:

          just to add that the ‘options’ file should be at ~/.get_iplayer/options

      • On May 30th, 2009, Tony M said:

        Can I still use the old RTMPDump.exe if I still have it? Just remove that silly flvstreamer and install it into the Downloads folder?? Thanks.

        • On May 30th, 2009, linuxcentre said:

          You certainly can. Although if you are using it with get_iplayer then it will behave exactly the same as flvstreamer which is a fork of rtmpdump with unused stuff removed.

        • On June 4th, 2009, Marc1983 said:

          i am having mega difficulties getting flvstreamer to work. can anyone give me instructions on how i should be configuring this to work properly?

          drawing a blank at the mo!

          TIA

          Marc

          • On June 4th, 2009, linuxcentre said:

            Not entirely sure which OS you are using but essentailly,
            1) download it
            2) if on unix/macos make it executable chmod 755 /path/to/flvstreamer
            3) run get_iplayer –flvstreamer /path/to/flvstreamer [other options as usual]

            • On June 4th, 2009, Marc1983 said:

              thanks! had given it the wrong permissions!

          • On June 5th, 2009, bob said:

            Is there a way to get this working with none BBC videos like this one:
            http://www.zdf.de/ZDFmediathek/content/769770?inPopup=true

            • On June 5th, 2009, linuxcentre said:

              Not at present. It is is rtmp based then flvstreamer will likely support it – You can write a get_iplayer plugin if you like though!

              • On June 6th, 2009, Angela said:

                Thanks for the link!!

              • On June 16th, 2009, mcp said:

                Is there a way for getting this working under OSX 10.4? I need help installing the binary. Or is this only Leopard compatible…

                • On June 17th, 2009, linuxcentre said:

                  I don’t use OSX myself. Best way is to try – it’ll throw an error if you try to run ./flvstreamer otherwise.

                  Just download the MacOSX version, save it as ‘flvstreamer’ then ‘chmod 755 flvstreamer’. Then to test try ‘./flvstreamer -h’ and see if you get the help text…

                  • On June 18th, 2009, mcp said:

                    I get a bus error in the terminal when I put $ ./flvstreamer -h 🙁 … I must be missing something.

                    • On June 18th, 2009, linuxcentre said:

                      Can anyone help here with detailed instruction on how to compile this on MacOSX??

                • On July 2nd, 2009, dan said:

                  Help – Running windows xp. dont seem to have an options file ?

                  tried lots of paths on the command line no joy. should it be single or double qoutes?

                  put flvstreamer in the root of c drive this should be ‘c:\\’ ?

                  do we need to include the .exe itself eg ‘c:\\flvstreamer.exe’

                  • On July 2nd, 2009, dan said:

                    OK really cheesed off now tried everything in the way of paths etc.
                    Any instructions on how to install flvstreamer on XP would really help me.
                    ‘/path/to/flvstreamer/’ = ‘tells/me/nothing/on/xp’!

                    using:
                    get_iplayer –flvstreamer=’C:\Program Files\get_iplayer’ –get 66 –modes=flashlow

                    I get this:
                    Reference to invalid group 0 in regex; marked by <– HERE in m/Files\g <– HERE
                    et_iplayer’/ at get_iplayer.pl line 940.

                    Any help most appreciated.

                    • On July 2nd, 2009, linuxcentre said:

                      Erm, it’s already there. No flvstreamer option is required on windows.

                      Just follow the very simple Windows instructions on the install page.

                      If you recently (last 6 weeks or so) installed the Windows Installer version of get_iplayer then it’s just called rtmpdump.exe but actually it will be flvstreamer in disguise.

                      So… if you want to make sure you definitely have all the latest programmes just reinstall the installer.

                      The options can be listed using ‘get_iplayer –prefs-show’ and you can add options like ‘get_iplayer –mynewoption=value –prefs-add’. The location fo the options file is under your [user profile]/.get_iplayer/options

                      BTW: Your options were almost correct albeit unnecessary except for the fact that the spaces in the windows path was not really tolerated by get_iplayer until yesterday.

                    • On July 2nd, 2009, dan said:

                      still don’t understand whats going on!

                      Under
                      ‘c:program files\get_iplayer’ there is no ‘options’ folder or file.

                      typing ‘get_iplayer –prefs-show’ produces:
                      perl.exe get_iplayer.pl –prefs-show

                      so are you saying that by adding the ‘get_iplayer –mynewoption=value –prefs-add’ commands
                      they are made none volatile (permenant) somewhere within the programs and scripts,
                      so we dont need to edit anything?

                      anyway –modes option still producing error.
                      I have switched off the firewall and used the –info option to check the program
                      supports the required mode but even when it does support that mode:

                      eg blue peter >’get_iplayer –get 68 –modes=flashlow’

                      it produces this:

                      C:\Program Files\get_iplayer>perl.exe get_iplayer.pl –get 68 –modes=flashlow
                      get_iplayer v2.05, 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:
                      68: Blue Peter – 01/07/2009, CBBC, Children’s,Factual,TV, default

                      INFO: 1 Matching Programmes
                      INFO: Mode list: flashlow1,flashlow2
                      INFO: Checking existence of default version
                      INFO: flashlow1,flashlow2 modes will be tried for version default
                      INFO: Trying flashlow1 mode to record tv: Blue Peter – 01/07/2009

                      WARNING: ffmpeg does not exist – not converting flv file
                      INFO: File name prefix = Blue_Peter_-_01_07_2009_b00lkjq0_default

                      FLVStreamer v1.8a
                      (c) 2009 Andrej Stepanchuk, license: GPL
                      Connecting …
                      Connected…
                      Starting download at 0.000 KB
                      ERROR: ReadN, RTMP recv error 10060
                      ERROR: ReadPacket, failed to read RTMP packet header
                      Closing connection… done!

                      WARNING: Failed to stream file Downloads\/Blue_Peter_-_01_07_2009_b00lkjq0_defau
                      lt.partial.flv via RTMP
                      INFO: skipping flashlow1 mode
                      INFO: Trying flashlow2 mode to record tv: Blue Peter – 01/07/2009

                      WARNING: ffmpeg does not exist – not converting flv file
                      INFO: File name prefix = Blue_Peter_-_01_07_2009_b00lkjq0_default

                      FLVStreamer v1.8a
                      (c) 2009 Andrej Stepanchuk, license: GPL
                      Connecting …
                      Connected…
                      Starting download at 0.000 KB
                      ERROR: ReadN, RTMP recv error 10060
                      ERROR: ReadPacket, failed to read RTMP packet header
                      Closing connection… done!

                      WARNING: Failed to stream file Downloads\/Blue_Peter_-_01_07_2009_b00lkjq0_defau
                      lt.partial.flv via RTMP
                      INFO: skipping flashlow2 mode
                      ERROR: Failed to record ‘Blue Peter – 01/07/2009 (b00lkjq0)’

                      C:\Program Files\get_iplayer>

                      I’m using Start->cmd to start the command shell then navigating to c:\program files\get_iplayer before typing the command.

                      Also using the –modes=n95_wifi mode produces a strange error something about ‘cval’

                      Any Idears what I’m doing wrong?

                      • On July 2nd, 2009, linuxcentre said:

                        Yes, those options then become non-volatile as you suggest.
                        I think flvstreamer is really not going to work for you. I have no other ideas on this one.

                        What I can suggest is to use iphone mode for everything. The quality is still fairly good. iphone mode is native to get_iplayer and does not require any other external programs. In fact its the one I prefer to watch on my TV still.

                        Forget n95 modes – they-re lousy quality and requires vlc also.

                        • On July 2nd, 2009, GingerTommy said:

                          I began receiving the 10060 error yesterday. flvstreamer 1.8a was working beautifully up until then, so it looks (to me) like something has changed at the BBC’s end.

                          I can download some flashaac radio episodes after many, many retries, but tv in flash modes is completely gone.

                          Running get_iplayer 2.05 on XP via Cygwin.

                          • On July 2nd, 2009, linuxcentre said:

                            Seems to be a win32 only problem AFAIK. Maybe a bug in flvstreamer?

                            • On July 2nd, 2009, linuxcentre said:

                              And it still works fin on my win32 XPsp3 – so cannot reproduce to debug it unf.

                        • On July 2nd, 2009, Ed said:

                          Today, *nothing* will download using either RTMPdump.exe or FLVstreamer (I am running Windows ME). Both were working fine on June 30th, but both stopped working yesterday.

                          • On July 2nd, 2009, Ed said:

                            I am getting this error with FLVStreamer v1.8a –

                            ERROR: ReadN, RTMP recv error 10060
                            ERROR: ReadPacket, failed to read RTMP packet header

                            • On July 7th, 2009, Ed said:

                              I am getting the following error with the Windows 32 version of flvstreamer (flvstreamer_win32_latest.exe) (renamed as RTMPDUMP.EXE): “ERROR: FLV file contains neither video nor audio, aborting!”

                              • On July 7th, 2009, linuxcentre said:

                                That means that the flv file contains neither video nor audio.

                                • On July 7th, 2009, linuxcentre said:

                                  I think I need a little more info here….!

                                  • On July 8th, 2009, Ed said:

                                    I have not changed any of the settings that I’ve been using in GET_IPLAYER for the last five months, but that is the error message I now get, when I try to use RTMPDUMP v1.3c to download an AAC-encoded file (but not if I try to download an iPhone MP3 encoded file) of any BBC Radio 7 radio programme.

                                    I succeed, every time, in downloading the FLV stream containing the mp3 version (the iPhone version, –amode=iphone) of a radio programme, using v1.3c of RTMPdump.exe; but it *fails* every time I try to download the FLV stream containing the (better quality) AAC version of the same programme (–amode=flashaac1), also using v1.3c of RTMPdump!

                                    I have tried using the v1.8 and v1.8b versions of FLVStreamer.exe instead, but I get the same result.

                                    Yet on *rare* occasions, I can download the AAC stream (i.e. the mp4 stream), instead of the MP3 stream, by editing the URL provided by GET_IPLAYER, if I change “mp3:” to “mp4:” in the –rtmp address string. (This doesn’t often work, but it might give you a clue as to what is wrong.)

                                    All the versions of get_iplayer provide an mp4 url if I give this command:

                                    get_iplayer.exe –get 13160 –amode=flashaac1 –raw –rtmpdump=C:\PROGRA~1\GET_IP~1\RTMPDUMP\rtmpdump.exe > URL.txt

                                    And an mp3 url if I give this command:

                                    perl get_iplayer.pl –get 13160 –amode=iphone –raw –rtmpdump=C:\PROGRA~1\GET_IP~1\RTMPDUMP\rtmpdump.exe > URL.txt

                                    But only the mp3 url works when I feed it to RTMPDUMP or to FLVSTREAMER (either raw as-it-comes, or with the mp3: replaced with mp4:)

                                    The mp4 url (from ‘–amode flashacc1’) always produces an error message, even though, on going to the iplayer site and playing the file, the pop-up message from the iPlayer says its an AAC stream that’s playing, e.g.
                                    http://www.bbc.co.uk/iplayer/episode/b007jltg/Yes_Minister_The_Greasy_Pole/

                                    I don’t think it’s a fault in RTMPDUMP because it does download the mp3 stream, every time; and it was working fine with mp4 streams, too, until July 1st.

                                    I’m running Windows ME. Since this problem arose, I’ve firstly installed the Microsoft Layer for Unicode (MSLU), and secondly installed KernelEX (the Kernel extender), but they have not helped with this problem.

                                    • On July 8th, 2009, Ed said:

                                      If it’s of any assistance, this is typical of the result I get –

                                      DEBUG: HandleInvoke, server invoking
                                      DEBUG: GetNextMediaPacket, received: invoke
                                      DEBUG: Property:
                                      DEBUG: Property:
                                      DEBUG: Property: NULL
                                      DEBUG: Property:
                                      DEBUG: HandleInvoke, server invoking
                                      DEBUG: HandleInvoke, received result for method call
                                      DEBUG: Sending play: mp4:bbc7/secure_auth/RBN2_bbc7_-_thursday_1200_b0022hsk_2009_07_02_12_04_08
                                      DEBUG: sending ping. type: 0x0003
                                      DEBUG: server sent ping. type: 0
                                      DEBUG: GetNextMediaPacket, received: invoke
                                      DEBUG: Property:
                                      DEBUG: Property:
                                      DEBUG: Property: NULL
                                      DEBUG: Property:
                                      DEBUG: Property:
                                      DEBUG: Property:
                                      DEBUG: Property:
                                      DEBUG: Property:
                                      DEBUG: HandleInvoke, server invoking
                                      DEBUG: HandleInvoke, onStatus: NetStream.Failed
                                      Closing connection… done!

                                      • On July 8th, 2009, linuxcentre said:

                                        This could be solved if I could reproduce the (increasingly common) bug. Any chance you could send me a wireshark trace of (capture filter = port 1935) for the first 5 secs when flvstreamer starts. Also, can you use the latest flvstreamer 1.8c – otherwise any debugging I’ll attempt might be pointless against an old version. Save the capture and email to me at iplayer2 (at sign) linuxcentre.net. Would be really appreciated if you could…. Would also be good if you could also capture the very same stream using flash – just the 5 secs from when you hit play on the web page.

                            • On July 11th, 2009, Ed said:

                              I’ve e-mailed you, as requested.

                              The error I now get (on feeding an rtmp url to rtmpdump) is this –
                              ERROR: Couldn’t read FLV file header!

                              • On July 19th, 2009, Ian said:

                                Hi – interesting tool. Just d/l the s/w today. Am running XP SP3. Trying to get a BBC programme.
                                Running the tool with command
                                get_iplayer –get 128
                                flvstreamer is having problems with RTMP packet header/body errors. It retries a few times (successfully) but eventually fails.
                                The strange thing is it alternates between d/l avi and mp4 files so I have 2 files; it uses these randomly when I run the command line.
                                Any suggestions (or RTFM welcome!)
                                Cheers

                                Ian

                                • On July 19th, 2009, Ian said:

                                  Bugger. It deleted the mp4 d/l now. Giving up…

                                • On July 19th, 2009, Ian said:

                                  Its just deleted the avi d/l. Lets hope it can complete the mp4 version…

                                  • On July 19th, 2009, linuxcentre said:

                                    I think you may have the 10060 error if you run with –verbose. See the FAQ on that one.

                                    It will only delete the files if they are less than 1MB in size.

                                    AVI is for flashnormal mode, mp4 for the others.

                                  • On July 19th, 2009, Ian said:

                                    Ok, thanks error is 10060. The d/l alternates between filename …partial.avi.flv and partial.mp4.flv; usually appends to an existing file BUT sometimes deletes file (>1MB). I think I’ll wait for the iphone encoding…

                                    WordPress Themes