Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: How capture TRICKY streaming videos from the internet

  1. #1
    Join Date
    Mar 2011
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    How capture TRICKY streaming videos from the internet

    Hello,

    I searched a lot and found no answer. Maybe you can help:

    There is an internet page that displays streaming videos (TV shows) that are not detected by most Windows and Linux downloading software: Orbit, Replay Media Catcher (Windows) or Video Downloader, Downloadhelper, etc in Linux (ubuntu)

    In Windows the only program that I managed to do the job with is "Stream Transport", and got .mp4 files that I could watch later.

    But I don't have windows anymore, it is corrupted. In ubuntu, however, the many firefox add-ons, stand alone programs that I tested, don't see the video file. In the source of the page I don't understand anything, everything is concealed under javascript text... The video is not saved in the firefox cache.

    How can I capture it? Does anybody know how to deal with this kind of well-concealed video files?

    In theory, it should be possible to record everything that comes into the machine, but how?

    Thanks in advance.

    P.S. By TRICKY I mean something non-standard (not youtube, dailymotion, etc).

  2. #2
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How capture TRICKY streaming videos from the internet

    Well first you need to know the URL of the webpage.

  3. #3
    Join Date
    Dec 2007
    Beans
    85

    Re: How capture TRICKY streaming videos from the internet

    Have you tried copying the file directly out of /tmp?

  4. #4
    Join Date
    Mar 2011
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How capture TRICKY streaming videos from the internet

    @ron999:

    http://inregistrari.antena3.ro/view-...a_Badea-5.html

    (for example)

    @rayj:

    the flash file is not stored in /tmp, nor in firefox cache, or at least I haven't found it.

  5. #5
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How capture TRICKY streaming videos from the internet

    @montango
    That video can be downloaded using a program called RTMPDump.

    Code:
    sudo apt-get install rtmpdump
    Then use this command:-
    Code:
    rtmpdump -r "rtmpe://fms30.mediadirect.ro:1935/recantena3?id=14458935" -a "recantena3?id=14458935" -f "LNX 10,1,102,64" -W "http://static.mediadirect.ro/streamrecord/new3/player.swf" -p "http://inregistrari.antena3.ro/view-In_gura_presei_cu_Mircea_Badea-5.html" -C O:1 -C O:0 -y "mp4:In_Gura_Presei_2011-03-03_23-10-00_low.mp4" -o mp4_In_Gura_Presei_2011-03-03_23-10-00_low.flv
    Attached Images Attached Images

  6. #6
    Join Date
    Mar 2011
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How capture TRICKY streaming videos from the internet

    Thanks, ron999!

    Works great! A little tricky, however, if I choose to download a show from another day (I have to put the correct date between "...view" and "In_gura_presei...", but I just tried and it works, too!

    I'll figure out for myself how to use rtmpdump for other pages. Thanks a lot for now!

  7. #7
    Join Date
    Mar 2011
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How capture TRICKY streaming videos from the internet

    Actually, this doesn't seem to be very easy, unless I do the same thing for the same show, but for other dates... How did you get all the parameters? I only found

    http://static.mediadirect.ro/streamr...ew3/player.swf

    in the page source, but I still have no idea what mean

    -r "rtmpe://fms30.mediadirect.ro:1935/recantena3?id=14458935" -a "recantena3?id=14458935" -f "LNX 10,1,102,64"

    As for the names of the files, I remember that Stream Transport did name them similarly indeed, so there must be a rule...

    This still looks tricky to me...

    I suppose the fact I don't know what rtmp is doesn't bring me any further...

  8. #8
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How capture TRICKY streaming videos from the internet

    Hi montango
    Use rtmpdump -h for help.

    Look at your command:-

    rtmpdump
    -r "rtmpe://fms30.mediadirect.ro:1935/recantena3?id=14458935"
    -a "recantena3?id=14458935"
    -f "LNX 10,1,102,64"
    -W "http://static.mediadirect.ro/streamrecord/new3/player.swf"
    -p "http://inregistrari.antena3.ro/view-In_gura_presei_cu_Mircea_Badea-5.html"
    -C O:1
    -C O:0
    -y "mp4:In_Gura_Presei_2011-03-03_23-10-00_low.mp4"
    -o mp4_In_Gura_Presei_2011-03-03_23-10-00_low.flv

    Maybe keep everything the same except for those -y and -o dates.

  9. #9
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How capture TRICKY streaming videos from the internet

    Hi montango

    I use this method to find the links:-

    1) Start the server.
    Code:
    sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT && rtmpsrv
    Message in terminal is:- "Streaming on rtmp://0.0.0.0:1935"

    2) Refresh the page and start the video.

    3) Watch for links to display in terminal... then

    4) Use control-C to stop the process.

    5) Stop the server.
    Code:
    sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT
    6) Copy and paste your links to download the video.

  10. #10
    Join Date
    Mar 2011
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How capture TRICKY streaming videos from the internet

    Hm... It doesn't work anymore

    Now I found the links, but when I type tyem, it says

    RTMPDump v2.3
    (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
    Connecting ...
    ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)

    And it says so for the commands that already worked before..

    I don't get it

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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