
06-12-2012, 03:18 PM
|
Senior Member
|
|
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
|
|
 Re: rtmpdump using .bat file
Quote:
Originally Posted by rossifeder
hello
but i want to do this differently, I want to start rtmpdump and wait
if there is a connection then start vlc to watch the stream
if there is no conecction (server error , no internet, wrong url , etc etc) then write (echo) there is no stream & exit
|
try use
Quote:
rtmpdump -v -r rtmp://xxx -a xxx -y xxx -W wwww -p ZZZZ -f xxx | "C:\Program Files\VideoLAN\VLC\vlc.exe --play-and-exit" -
|
|