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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-12-2012, 08:07 AM
rossifeder rossifeder is offline
Junior Member
 
Join Date: Jun 2012
Posts: 8
rossifeder is on a distinguished road
Unhappy

rtmpdump using .bat file


hello

I did a script to stream some channels and it work, I used :
Code:
rtmpdump -v -r rtmp://xxx -a xxx -y xxx -W wwww -p ZZZZ -f xxx | vlc -
so first start rtmpdump (with all his log like connecting etc etc ) + start vlc and i wait 5 sec then the stream work

ok good

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

i am searching this on internet in last 3 days and i cant find a solutin

if there is a value the rtmpdump can return o there is an external programm.exe that i can use in my .bat file
i would accept any suggestion to do this

i cant figure out how to do this
plz help me
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 11:32 AM.


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