View Single Post
  #1  
Old 08-29-2013, 01:35 AM
denkpause denkpause is offline
Junior Member
 
Join Date: Aug 2013
Posts: 2
denkpause is on a distinguished road
Default

rtmpdump: recording and watching at the same time


Hi,

I want to watch the stream in vlc and at the same time I want to record it to an output file.

How do you do this?

This code works only for recording the stream to file.

Code:
"C:\Users\***\Documents\rtmp\rtmpdump.exe" -v -r "rtmp://***" -o C:\Users\***\Documents\rtmp\refile.flv -W "http://***/player.swf" | "C:\Program Files\VideoLAN\VLC\vlc.exe" -
And when you leave out:

Code:
-o C:\Users\***\Documents\rtmp\refile.flv
then it does play the stream in vlc.

How can you get both at the same time, please?


Also:


Can you give your output file a incremental file name like:

Code:
refile1.flv
refile2.flv
refile3.flv
...
because when you do frequent recordings of a live stream, you dont always want to change file names by hand.

Or how do you this then, please?

Thank you for any help!

Kind Regards
Ben
Reply With Quote