Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Save a stream to file and simultaneously play it in VLC

(http://stream-recorder.com/forum/showthread.php?t=18798)

ollolollo 09-15-2014 05:25 AM

Save a stream to file and simultaneously play it in VLC


 
Hello,
I don't know if the following command should work, but it doesn't as required.
Code:

rtmpdump -r "rtmp://mtvnyc.dyndns.tv/repeater/MayapurTV" -a "repeater/MayapurTV" -f "WIN 15,0,0,152" -W "http://mayapur.tv/Nrsimhadeva.swf" -p "http://mayapur.tv/" -y "MayapurTV" -o "MayapurTV.flv" | C:\Programme\VideoLAN\VLC\vlc.exe
I want to play the livestream with VLC player and simultaneously save it to a file. The stream will saved correctly, VLC starts but doesn't play the stream.

hasomaso 09-15-2014 05:36 AM

Re: Save Stream to file and play in VLC


 
i do not know if that's possible simultaneously?
but recording and playing with vlc separately works fine

ollolollo 09-15-2014 01:27 PM

Re: Save a stream to file and simultaneously play it in VLC


 
Thank You.
That solves the problem.
I found out the following, which is also working:
Code:

rtmpdump -r "rtmp://mtvnyc.dyndns.tv/repeater/MayapurTV" -a "repeater/MayapurTV" -f "WIN 15,0,0,152" -W "http://mayapur.tv/Nrsimhadeva.swf" -p "http://mayapur.tv/" -y "MayapurTV" -o "MayapurTV.flv" | C:\Programme\VideoLAN\VLC\vlc.exe MayapurTV.flv
or
Code:

rtmpdump -r "rtmp://mtvnyc.dyndns.tv/repeater/MayapurTV" -a "repeater/MayapurTV" -f "WIN 15,0,0,152" -W "http://mayapur.tv/Nrsimhadeva.swf" -p "http://mayapur.tv/" -y "MayapurTV" -o "path_to_the_file\MayapurTV.flv" | C:\Programme\VideoLAN\VLC\vlc.exe path_to_the_file\MayapurTV.flv
where "path_to_the_file" has to be replaced by the real path. Sometimes VLC is playing the stream, but often I have to press the play button first to start the stream playing. I don't know how to achieve, that VLC plays the stream everytime then the command is entered, without the need for klicking the play button.


All times are GMT -6. The time now is 11:00 AM.