View Single Post
  #9  
Old 10-26-2011, 06:32 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: weeb.tv - How to watch live with rtmpdump


Quote:
Originally Posted by KSV View Post
it's necessary to create batch file to easily pipe the stream. however you can modify the script to create single batch file instead of each one for different channel. replace

Code:
$BatchFile = fopen($filename . '.bat', 'w');
with

Code:
$BatchFile = fopen('WeebTV.bat', 'w');
I edited your script but what's weird it launches batchfile and than it closes. Below is what I get as error message

Quote:
# Netscape HTTP Cookie File
# http://curl.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.

weeb.tv FALSE / FALSE 0 PHPSESSID art42hk86s55thlj6dt3u1fbk6
www.weeb.tv FALSE / FALSE 0 PHPSESSID 3lc74oh6hff87a0gm3sqt6ol17
.weeb.tv TRUE / FALSE 1319718651 weeb-tv_ip 1299020726
Edit : I got it.

When I also changed this
Code:
$oExec    = $WshShell->Run("\"$filename.bat\"", 1, false);
to thisone
Code:
$oExec    = $WshShell->Run("\"WeebTV.bat\"", 1, false);
it worked.
Reply With Quote