Hey! I've tried to view some RTMP streams, but since I am not a constant Rtmpdump's user, none of my tests succeeded!
This was after DMW's post (#883) on the UK channels topic.
Here is an example:
here what RD says:
ERROR: rtmp server sent error
ERROR: rtmp server requested close"
PS:I used in the example above the command screened by VLCexplorer, to be sure that the operation would be exact on rtmpdump.
Last edited by sayco; 21-05-2012 at 23:28.
i have a question
lets say i am streaming using rtmpdump like this
which it works perfectlyrtmpdump -v -r "rtmp://XXXXXXXX" | vlc -
but the thing is i want that vlc to launch after the rtmpdump receive data or after it say connect
i dont want him to open vlc at the same moment when he open rtmpdump but after for example 3 sec
so vlc will stream instantly without waiting
is it possible ?
in order to perform piping, vlc must be already ready to accept data.
what you can possibly do is hide the vlc window until data is available, but this needs to be done in
it works by dumping the stream to a flv file, and vlc starts after a 30 second delay (back then I used a 1 minute delay)
the lines in red are not to be used, they just helpful hints as to what goes where.
may not be exactly what you want, but it can be useful when a stream lags a little and you want a smooth playback, just set a higher delay before launch of vlcCode:CALL:PLAY PING -N 31 127.0.0.1 >NUL CALL:VLC1 TASKKILL /F /IM rtmpdump.exe /T CLS ECHO clearing cache.... PING -N 3 127.0.0.1 >NUL DEL stream.flv GOTO:EXIT or goto your menu label so you can select another stream :PLAY ECHO The put the stream name here if you want too stream wil start in 30 seconds.... START /MIN rtmpdump -v -r put the stream info here -o "stream.flv" GOTO:EOF :VLC1 CLS ECHO Close vlc to return to the menu. CALL %vlc% -vvv "stream.flv" -q --meta-title="stream name" - & GOTO:EOF :EXIT
Last edited by sandy187; 06-06-2012 at 21:37.
i am doing this because i want to do a beautiful batch file
anyway the code isnt working
i noticed that is missing EOF so when it say goto EOF it cant find it
i think this is the problem
can u put the code again
I called a label, and used the eof to return to the point after the call, so I can continue the rest of the cmd. If I had used goto "xxx" label, that would create a loop.
here is a script I have, but not posted as yet enpttv.bat.txt I still need to direct the rtmpdump cmds to a single label.Code:
Last edited by sandy187; 08-06-2012 at 21:49.
nice , thank you
i will analyze the code tomorrow
but i have a question
lets say that i want (using a batch file) to open a stream and save it, like this
rtmpdump rtmp -v -r "XXX" -a --------------etc etc -o stream.flv
the problem now , how i can tell that the streaming is getting save or there is an error like connecting to server
i know that rtmpdump show in background what going on , but i want it to be automatic from the batch
i want the batch to tell me if there is a streaming (and saving it) or there isnt (error) and maybe the batch cay retry connecting again
so i think i need that rtmpdump to return a value like 1 to success and 0 to error
can i do that ? does rtmpdump return a value ? is there a method similar to this (other helping script) to do this
the fact is , i did study language C for programming 3 years ago , but i start to using batch 3 days ago and iam trying to learn
in language C i am used to this using a value that return from a function so i am asking if is the same thing here
Is it possible to use RTMP Dump or something similar to BROWSE a server?
For example I download an MTV show for my wife each week. (Well before this Viacom/DirecTV fight). I sniff the rtmp's and then use command line to download. It looks like this.Can I explore the base website and download shows whenever they are added to server?Code:"C:\temp\rtmpdump.exe" -r "rtmpe://cp10740.edgefcs.net/ondemand/mtvnorigin/gsp.originmusicstor/sites/mtv.com/shows/teen_mom_4/aftershow/mt_teenmom_s4_school_act1_Maci_FINAL_1280x720_3500_h32.mp4" -o "c:\temp\a1.mp4" --resume
Last edited by SourDeez; 15-07-2012 at 19:23.
Hi. I'm using rtmpdump with rtmpsuck and I wonder if there is any possibility to open demanded video automaticly in vlc (instead of rewriting swf, rtmp server and page into rtmpgui or command line)
Is it even possible for Mr Chu to make that kind of decision? After all, last i heard rtmpdump was open source.KSV can modify the source with his patches to the extent, that he'd be better off renaming the modified program.