Page 1 of 36 12311 ... LastLast
Results 1 to 20 of 703

Thread: RTMPDump Q+A's

  1. #1
    Join Date
    Apr 2007
    Location
    MACKEMLAND
    Posts
    13,083
    Thanks
    10,426
    Thanked 13,209 Times in 5,063 Posts

    Lightbulb RTMPDump Q+A's

    Please note this is work in progress...

    1st things 1st, to keep this in content we are using RTMPDump for "live streaming" to VLC or MPlayer or any other player that is supported. If you are after downloading videos with RTMPDump things dont change that much but a good add-on to have along side is get-flash-videos. So please keep this discussion about "live streaming" with RTMPDump and not downloading video.


    Q. What is RTMPDump...?
    A. RTMPDump is a toolkit for RTMP streams. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.

    Downloading/Installing/Compiling from source

    Windows

    Latest official release - rtmpdump-2.3-windows.zip
    Latest git release - rtmpdump-20110723-git-b627335-win32.zip
    Unofficial release 2.4 - rtmpdump-2.4.zip
    Unofficial rtmpdump 2.4 binaries compiled with KSV's patches - rtmpdump 2.4 - MIRROR
    Unofficial rtmpdump 2.4 binaries compiled with KSV's patches[Mips Fix] - rtmpdump-2.4 - MIRROR
    Unofficial release 2.5 - >removed by request<
    Xeebo and KSV 2.5 patches - >removed by request<

    KSV's github repository - https://github.com/K-S-V/Scripts
    svnpenn's github repository - https://github.com/svnpenn/rtmpdump/downloads

    GUI for RTMPDump

    rtmpGUI - rtmpGUI - MIRROR
    VLCexplorer - VLCexplorer - MIRROR
    rtmpdump helper - RTMPDumpHelper - MIRROR
    RTMPexplorer - RTMPexplorer - MIRROR
    RTMPexplorerX - RTMPexplorerX - MIRROR
    JTV-Downloader - JTV-Downloader - MIRROR

    A FEW TIPS: Here ill give you 2 ways to make RTMPDump just work ok.

    Tip 1

    Copy rtmpdump.exe to your C:\Windows\System32 Folder.

    Tip 2

    a) Make a new Folder on your C:\ Drive(Root) and call it rtmpdump and place rtmpdump.exe in there.
    b) From your desktop right click My Computer(XP) Computer(Vista, 7) then choose...
    Code:
    Advanced System Settings --> Environment Variables... --> System Variables --> Path
    c) Click Edit and add right at the end this exactly as i have it...

    NOTE: Very important dont delete any other text or youll f*ckup your computer.
    Code:
    ;C:\rtmpdump
    Click Ok, Ok.

    d) Now to test if rtmpdump is working open a CMD window and type rtmpdump -h and hit Enter.

    Now rtmpdump works from anywhere as its a system variable...
    Compiling RTMPDump using MinGW.
    Code:
    1. Get zlib from the following link:
    http://gnuwin32.sourceforge.net/packages/zlib.htm
    Extract the archive and copy file "zlib1.dll" into your \MinGW\lib directory. 
    
    2. Get openssl from:
    http://www.slproweb.com/products/Win32OpenSSL.html
    
    Select the "full" installer. Install and copy files "libeay32" "ssleay32" with
    extensions ".dll", ".lib" ".def" ".a" into \MinGW\lib  and the files
    from \OpenSSL\include
    into \MinGW\include\openssl .
    
    2.5. Download & Extract RTMPDump source tarball.
    
    3. Edit the Makefile of rtmpdump and change the line:
    LIBS=-lcrypto -lz
    
    into:
    
    LIBS=-llibeay32 -llibssl32 -lzlib1
    
    4. Compile rtmpdump and run
    ...

    Linux

    Latest official release - rtmpdump-2.3.tgz
    Unofficial release -
    Compiling RTMPDump
    Code:
    1. Download RTMPDump source tarball.
    2. Extracted it.
    3. Change directory - cd /home/user/Downloads/rtmpdump-2.3
    4. Then - make SYS=posix
    5. Then - sudo make install
    Please note: You will need build-essentials to compile correctly first.
    Code:
    sudo apt-get install build-essentials
    Installing RTMPDump from Ubuntu, Mint etc... repository.
    Code:
    1. Open Terminal
    2. sudo apt-get install rtmpdump
    ...

    Mac OS

    Latest official release - NONE
    Unofficial release - rtmpdump-2.3_mac_os
    Compiling RTMPDump
    Code:
    1. Download and extract the latest RTMPDump source tarball, open a Terminal window and cd to the directory you just extracted the sources, i.e. ./rtmpdump-2.3
    
    2. You need to make a small change in the Makefile in the ./librtmp directory, so you need to cd into that directory
    
    3. Edit Makefile in ./librtmp and replace -soname with -dylib_install_name
        
    4. cd ..
    
    5. sudo make install SYS=posix
    ...

    Android

    Latest official release - rtmpdump-2.3-android.zip
    RTMPdump build for Android - https://github.com/S74ck3r/rtmpdump/downloads
    Unofficial release -
    Compiling RTMPDump
    Code:
    Steps go here
    ...

    Older Releases

    Binaries of past builds for all platforms - rtmpdump-binaries

    RTMPDump Help
    Code:
    (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
    
    rtmpdump: This program dumps the media content streamed over RTMP.
    
    --help|-h               Prints this help screen.
    --rtmp|-r url           URL (e.g. rtmp://host[:port]/path)
    --host|-n hostname      Overrides the hostname in the rtmp url
    --port|-c port          Overrides the port in the rtmp url
    --socks|-S host:port    Use the specified SOCKS proxy
    --protocol|-l num       Overrides the protocol in the rtmp url (0 - RTMP, 2 - RTMPE)
    --playpath|-y path      Overrides the playpath parsed from rtmp url
    --playlist|-Y           Set playlist before playing
    --swfUrl|-s url         URL to player swf file
    --tcUrl|-t url          URL to played stream (default: "rtmp://host[:port]/app")
    
    --pageUrl|-p url        Web URL of played programme
    --app|-a app            Name of target app on server
    --swfhash|-w hexstring  SHA256 hash of the decompressed SWF file (32 bytes)
    --swfsize|-x num        Size of the decompressed SWF file, required for SWFVerification
    --swfVfy|-W url         URL to player swf file, compute hash/size automatically
    --swfAge|-X days        Number of days to use cached SWF hash before refreshing
    --auth|-u string        Authentication string to be appended to the connect string
    --conn|-C type:data     Arbitrary AMF data to be appended to the connect string
                            B:boolean(0|1), S:string, N:number, O:object-flag(0|1),
                            Z:(null), NB:name:boolean, NS:name:string, NN:name:number
    --flashVer|-f string    Flash version string (default: "WIN 10,0,32,18")
    --live|-v               Save a live stream, no --resume (seeking) of live streams possible
    --subscribe|-d string   Stream name to subscribe to (otherwise defaults to playpath if live is specifed)
    --flv|-o string         FLV output file name, if the file name is - print stream to stdout
    --resume|-e             Resume a partial RTMP download
    --timeout|-m num        Timeout connection num seconds (default: 30)
    --start|-A num          Start at num seconds into stream (not valid when using --live)
    --stop|-B num           Stop at num seconds into stream
    --token|-T key          Key for SecureToken response
    --hashes|-#             Display progress with hashes, not with the byte counter
    --buffer|-b             Buffer time in milliseconds (default: 36000000)
    --skip|-k num           Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails (default: 0)
    
    --quiet|-q              Suppresses all command output.
    --verbose|-V            Verbose command output.
    --debug|-z              Debug level command output.
    
    If you don't pass parameters for swfUrl, pageUrl, or auth these properties will
    not be included in the connect packet.
    Tutorial

    A nice and easy to follow tutorial by screensports can be downloaded and will show you how to hunt down RTMP streams and use RTMPDump. - Tutorial : Sniffing + rtmpdump

    How to use rtmpsrv or rtmpsuck in Linux(Ubuntu, Mint etc...)

    Code:
    1. Create a new user account so you can monitor the rtmp protocol --> System --> Administration --> Users and Groups.
    2. Create a new user/login account and name it user2.
    3. Open a terminal to setup the monitor rules...
    
    Code:
    sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner  \! --uid-owner user2  -j REDIRECT
    4. Next switch to the new user2 account within the terminal...
    Code:
    sudo su user2
    5. Next launch either rtmpsrv(Live) or rtmpsuck(Record)...
    Code:
    rtmpsrv/rtmpsuck
    NOTE: If you use rtmpsuck make sure the folder you are going to save the file to is shared between your user accounts otherwise nothing will be downloaded/saved. 6. Start playing/refresh(F5) the stream, rtmpsrv will generate the string/syntax needed to download using rtmpdump or if its rtmpsuck it will begin saving (ONLY if the folder you are currently in is shared) if you use rtmpsrv then you need to copy the syntax and return to your default user account, in terminal press Ctrl & C and type...
    Code:
    exit
    7. Still in the terminal cancel the monitoring rule...
    Code:
    sudo iptables -t nat -F
    8. Now the syntax that you copied from rtmpsrv can be put into rtmpdump...
    Code:
    rtmpdump "syntax" | Media Player
    NOTE: Dont forget to pipe(|) it to your Media Player(MPlayer, VLC etc...) of choice.
    flvstreamer a re-fork of rtmpdump-2.1c

    Q. What is flvstreamer...?
    A. flvstreamer is an open source command-line RTMP client intended to stream audio or video content from all types of flash or rtmp servers. Forked from rtmpdump v1.6 with encrypted rtmp and swf verification support removed. This tool provides free interoperability with the previously undocumented adobe RTMP protocol so widely in use on the internet today. It was developed entirely by reverse engineering methods and without access to any proprietary or restrictive-license protocol specifications.

    Windows

    Latest official release - http://download-mirror.savannah.gnu....treamer/win32/

    Linux

    Latest official release - http://download-mirror.savannah.gnu....treamer/linux/

    Mac OS

    Latest official release - http://download-mirror.savannah.gnu....reamer/macosx/




    flvstreamer Source Code - http://download-mirror.savannah.gnu....reamer/source/

    Read Me - http://svn.savannah.gnu.org/viewvc/*...ot=flvstreamer
    Say NO to Ads on streams & Stop the Virus/Malware Alerts.

    If ever a password is needed in any of my or other users uploads try myp2p, Myp2p or wiziwig.

  2. The Following 30 Users Say Thank You to DEAD_MAN_WALKING For This Useful Post:

    algi (06-05-2011), amenogone (16-12-2012), astral2k8 (06-05-2011), beginz (14-05-2011), Bunkertor (06-05-2013), bupper (03-06-2011), Bytebuster (06-05-2011), cenahum (12-11-2012), damiaan1 (06-05-2011), dbross (03-01-2013), Delray (22-01-2012), footyhd (09-05-2013), Hawkeye34 (06-05-2011), hostx3 (06-05-2011), Madchestermod (03-06-2011), nehru (08-05-2011), pcfreak (16-08-2012), Pippeloentje (03-06-2011), Redbullsnation (02-06-2011), ren123rock (13-11-2011), rotchie (08-05-2011), serval (08-08-2011), St.PauliWolves (21-05-2011), tpino (11-06-2011), Troll (06-05-2011), tvmaster (06-05-2011), ultimax (25-08-2011), wired_ (06-05-2011), xoot (03-09-2012), zer00 (15-11-2012)

  3. #2
    Join Date
    Oct 2008
    Posts
    6,146
    Thanks
    5,853
    Thanked 1,620 Times in 964 Posts

    Default

    hmm...could use it to sniff up ESPN3 to my VLC???

    --------------------------SkyTalkerTV's wall-------------------------------------------
    You're watching SkyTalkerTV & SkyTalkerTV2 & SkyTalkerTV-S!! The Greatest Stream in the World!!!
    LETS GO YANKEES!! LETS GO YANKEES!!
    John Sterling and Michael Kay for life
    Ballgame over!! Yankees win!! THEEEEE YANKEES WIN!!
    SEE-YA!

  4. #3
    Join Date
    Apr 2007
    Location
    MACKEMLAND
    Posts
    13,083
    Thanks
    10,426
    Thanked 13,209 Times in 5,063 Posts

    Default

    Quote Originally Posted by Redbullsnation View Post
    hmm...could use it to sniff up ESPN3 to my VLC???
    You could do that and maybe stream it back out using VLC, need a really good computer though...


    Added flvstreamer to 1st post its a re-fork of rtmpdump...
    Say NO to Ads on streams & Stop the Virus/Malware Alerts.

    If ever a password is needed in any of my or other users uploads try myp2p, Myp2p or wiziwig.

  5. #4
    Join Date
    Aug 2008
    Location
    Streamland
    Posts
    1,041
    Thanks
    64
    Thanked 237 Times in 129 Posts

    Default

    Quote Originally Posted by DEAD_MAN_WALKING View Post
    You could do that and maybe stream it back out using VLC, need a really good computer though...


    Added flvstreamer to 1st post its a re-fork of rtmpdump...
    What's the advantage of flvstreamer towards rtmpdump? Could flvstreamer open all rtmp streams that rtmpdump does?

    Forked from rtmpdump v1.6 with encrypted rtmp and swf verification support removed.
    I guess with flvstreamer you can't access rtmpe streams as it tells they removed some stuff from it.

  6. #5
    Join Date
    Apr 2007
    Location
    MACKEMLAND
    Posts
    13,083
    Thanks
    10,426
    Thanked 13,209 Times in 5,063 Posts

    Default

    Quote Originally Posted by screensports View Post
    What's the advantage of flvstreamer towards rtmpdump? Could flvstreamer open all rtmp streams that rtmpdump does?



    I guess with flvstreamer you can't access rtmpe streams as it tells they removed some stuff from it.
    Have you tried it yet ? I added flvstreamer because it can succeed where rtmpdump can fail in some situations...

    Last official update...
    A new version of flvstreamer has been released. It is a re-fork of rtmpdump-2.1c (svn rev 247).
    Notable features and fixes are as follows:

    - Fixed issues with RTMP unpause/resume where file write offset was incorrect which lead to corrupted downloads.
    Say NO to Ads on streams & Stop the Virus/Malware Alerts.

    If ever a password is needed in any of my or other users uploads try myp2p, Myp2p or wiziwig.

  7. #6
    Join Date
    Aug 2008
    Location
    Streamland
    Posts
    1,041
    Thanks
    64
    Thanked 237 Times in 129 Posts

    Default

    Quote Originally Posted by DEAD_MAN_WALKING View Post
    Have you tried it yet ? I added flvstreamer because it can succeed where rtmpdump can fail in some situations...

    Last official update...
    I have this issue with videos on Rutube. That's why I use rtmpsuck on linux and Stream Transport on Windows and it downloads without interruption.

  8. #7
    Join Date
    Jul 2010
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Hi having some problems with rtmpdump

    Code:
    rtmpdump -v -r "rtmpte://xxxxx.xxx.xx/xxxx/xxxx" -p "http://www.xxx.xx/player/xxxxxx/player_xxx.swf"
    What I am currently trying to use

    Result:

    Code:
    ERROR: RTMP_ReadPacket, failed to read RTMP packet header
    562.932 kB / 4.69 sec
    Download complete
    Basically its grabbing 4-5 seconds of video then "completing", any suggestions?

    Cheers

  9. #8
    Join Date
    Nov 2009
    Posts
    523
    Thanks
    409
    Thanked 1,559 Times in 274 Posts

    Default

    http://www.multiupload.com/81KYW9ASPO

    Maybe the experts can take a look?!
    1 - great V quality but no sound
    2- working fine, V + A

    I dont get it... Why is 2 working and 1 aint?

    This would also solve Patchys problem.
    Last edited by tvmaster; 11-06-2011 at 05:52.

  10. #9
    Join Date
    Apr 2007
    Location
    MACKEMLAND
    Posts
    13,083
    Thanks
    10,426
    Thanked 13,209 Times in 5,063 Posts

    Thumbs up

    Quote Originally Posted by Patchy View Post
    Hi having some problems with rtmpdump

    Code:
    rtmpdump -v -r "rtmpte://xxxxx.xxx.xx/xxxx/xxxx" -p "http://www.xxx.xx/player/xxxxxx/player_xxx.swf"
    Try...

    Code:
    rtmpdump -v -r "rtmpte://xxxxx.xxx.xx/xxxx/xxxx" -W "http://www.xxx.xx/player/xxxxxx/player_xxx.swf" | vlc -


    Or

    32bit
    Code:
    rtmpdump -v -r "rtmpte://xxxxx.xxx.xx/xxxx/xxxx" -W "http://www.xxx.xx/player/xxxxxx/player_xxx.swf" | c:\progra~1\videolan\vlc\vlc -
    64bit
    Code:
    rtmpdump -v -r "rtmpte://xxxxx.xxx.xx/xxxx/xxxx" -W "http://www.xxx.xx/player/xxxxxx/player_xxx.swf" | c:\progra~2\videolan\vlc\vlc -
    Quote Originally Posted by tvmaster View Post
    http://www.multiupload.com/81KYW9ASPO

    Maybe the experts can take a look?!
    1 - great V quality but no sound
    2- working fine, V + A

    I dont get it... Why is 2 working and 1 aint?

    This would also solve Patchys problem.
    Also the same in mPlayer must be a Audio codec issue...?



    Only difference i can tell is one is using Osprey-5X0 Audio Devise 1 and the other is using Osprey-5X0 Audio Devise 2.
    Say NO to Ads on streams & Stop the Virus/Malware Alerts.

    If ever a password is needed in any of my or other users uploads try myp2p, Myp2p or wiziwig.

  11. #10
    Join Date
    Aug 2008
    Location
    Streamland
    Posts
    1,041
    Thanks
    64
    Thanked 237 Times in 129 Posts

    Default

    Quote Originally Posted by tvmaster View Post
    http://www.multiupload.com/81KYW9ASPO

    Maybe the experts can take a look?!
    1 - great V quality but no sound
    2- working fine, V + A

    I dont get it... Why is 2 working and 1 aint?

    This would also solve Patchys problem.
    There is a sound issue with RTE1 but RTE2 works with sound.

  12. #11
    Join Date
    Jul 2010
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Hi still having the same problems, and sorry you needed to edit my post, I am new here

  13. #12
    Join Date
    Apr 2007
    Location
    MACKEMLAND
    Posts
    13,083
    Thanks
    10,426
    Thanked 13,209 Times in 5,063 Posts

    Default

    Quote Originally Posted by Patchy View Post
    Hi still having the same problems, and sorry you needed to edit my post, I am new here
    Instead of posting all this again here look at this maybe it will help you - Lets make this easy for people who cant get this to work
    Say NO to Ads on streams & Stop the Virus/Malware Alerts.

    If ever a password is needed in any of my or other users uploads try myp2p, Myp2p or wiziwig.

  14. #13
    Join Date
    Jul 2010
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Right it is now working, what I am trying to do is stream it to my PS3 Media Server and it works blooming well now.

    Thanks all and sorry for being such a pain.

    Cheers

  15. The Following User Says Thank You to Patchy For This Useful Post:

    DEAD_MAN_WALKING (11-06-2011)

  16. #14
    Join Date
    Jul 2010
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Now I'm getting on the Irish streams rtmp server sent error but of course it just starts anyway few seconds later but this is stopping me streaming to PS3 Media Server.

  17. #15
    Join Date
    Nov 2009
    Posts
    523
    Thanks
    409
    Thanked 1,559 Times in 274 Posts

    Default

    Comrades - just a little help, please!
    How can I make the attachment playable? Would love to use DMWs mastercopy...!
    I am a bit confused with the "-w, -q http://....swf" part.
    In the tutorial I can see the usual suspects like cast, veemi,see, zone,longtail..etc...but what should I do in such cases?
    Attached Files Attached Files
    Last edited by tvmaster; 21-06-2011 at 21:03.

  18. #16
    Join Date
    Aug 2008
    Location
    Streamland
    Posts
    1,041
    Thanks
    64
    Thanked 237 Times in 129 Posts

    Default

    Quote Originally Posted by tvmaster View Post
    Comrades - just a little help, please!
    How can I make the attachment playable? Would love to use DMWs mastercopy...!
    I am a bit confused with the "-w, -q http://....swf" part.
    In the tutorial I can see the usual suspects like cast, veemi,see, zone,longtail..etc...but what should I do in such cases?
    So easy with rtmpsrv.
    Attached Files Attached Files

  19. The Following 2 Users Say Thank You to screensports For This Useful Post:

    Troll (21-06-2011), tvmaster (21-06-2011)

  20. #17
    Join Date
    Nov 2009
    Posts
    523
    Thanks
    409
    Thanked 1,559 Times in 274 Posts

    Default

    Thanks screensports - sooooo much to learn!

  21. #18
    Join Date
    Nov 2009
    Posts
    523
    Thanks
    409
    Thanked 1,559 Times in 274 Posts

    Default

    Sorry for being thick but I have to ask to learn it.
    Is rtmpsrv only for Linux? And if so is there a similar program for Windows?

  22. #19
    Join Date
    Jan 2010
    Location
    Virginia, USA
    Posts
    787
    Thanks
    205
    Thanked 649 Times in 248 Posts

    Default

    Quote Originally Posted by tvmaster View Post
    Sorry for being thick but I have to ask to learn it.
    Is rtmpsrv only for Linux? And if so is there a similar program for Windows?
    No, it's built for Windows and is available with the Windows version of rtmpdump linked above.

  23. The Following User Says Thank You to Hawkeye34 For This Useful Post:

    tvmaster (21-06-2011)

  24. #20
    Join Date
    Mar 2010
    Posts
    812
    Thanks
    487
    Thanked 939 Times in 358 Posts

    Default

    Quote Originally Posted by screensports View Post
    So easy with rtmpsrv.
    Thx !

    Code:
    Connecting ...
    INFO: Connected...
    Starting Live Stream


    ~$

  25. The Following User Says Thank You to Troll For This Useful Post:

    fadyorg (11-04-2012)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •