Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-06-2010, 12:49 AM
Stream Recorder
 
Posts: n/a
Default

script for extracting Flash video (FLV format) from RTMP stream captured by tcpdump


This PERL script by John Zaitseff extracts Flash video (FLV file format) from an RTMP stream captured by tcpdump. To capture the RTMP stream and extract it to an FLV video:
  1. Run as root:
    Code:
    tcpdump -i eth0 -p -s 0 -w file.tcpdump -v tcp src port 1935
  2. As an ordinary user, open the relevant video URL in your browser window and start playback,
  3. When the video finishes playing, quit the tcpdump program (using ^C),
  4. Run this script as an ordinary user:
    Code:
    extract-rtmp-flv file.tcpdump file.flv

This program is free software. You may distribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either Version 2 of the license, or (at your option) any later version.
Reply With Quote
 
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 01:12 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons