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

Reply Post New Thread
 
Thread Tools Display Modes
  #51  
Old 03-28-2012, 08:58 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: www.playtv.fr/television/ - A serious challenge for livestreming


you guys are having problem because date.timezone setting is not defined by default and php craps out when it's not defined. set it like following in your php.ini
Code:
date.timezone = America/New_York
List of timezones
Code:
http://in3.php.net/manual/en/timezones.php
Also latest version of php is 5.4. they didn't provided windows installer for this version. just download the zip release and overwrite all the files in "C:\Program Files\PHP" or wherever your php installation folder is then copy the following PHP.ini file to your php installation folder. it contains all relevant changes and enables all the extensions available in 5.4.
Code:
http://www.mediafire.com/file/yu86i2l12eae9m9/PHP.ini
Reply With Quote
  #52  
Old 03-28-2012, 10:41 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: www.playtv.fr/television/ - A serious challenge for livestreming


KSV
Thanks
now works fine

php is a great tool (in your hands)
Reply With Quote
  #53  
Old 03-28-2012, 10:46 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: www.playtv.fr/television/ - A serious challenge for livestreming


have you tried more than once? what's the output of following url on your system?

Code:
http://tvplayer.playtv.fr/js/dea5Va6CHQ.js
Reply With Quote
  #54  
Old 03-28-2012, 12:04 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: www.playtv.fr/television/ - A serious challenge for livestreming


Quote:
Originally Posted by karlo2105 View Post
Yes I tried several times, Command prompt quickly displays error messages I posted above and it disapperas.

Here is what I get with page above :

Code:
(function(){if(typeof tvplayer!=="undefined"){var a={a:"http://beta.static.playtv.fr/swf/tvplayer.swf?r12",b:{"a":"209df77fec147dcbd31d26b37e9d84e9804338742eaa8e1f282ba57ec19a8f5b5f1bfad759f13c52de4811048a859d8049bead5d5064d74ef334923c4aa14abde6619f536fb9df5d88da0ff0b989ae7c7ecf399da60b04f6e2420d1047f049a12a9d717a8e7ef366","b":"ee29826ca14ff45045211a1574adfb0a18e9525beac9f9da3ffed24ae200a8c39595b34b04ea51177c15ad1a8cd9483e"}};tvplayer.callback(a)}})();
can you also post your php_errors.log file? url output is exactly what it should be. i am surprised why it's not working on your pc.
Reply With Quote
  #55  
Old 03-28-2012, 12:15 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: www.playtv.fr/television/ - A serious challenge for livestreming


add var_dump($init); before and after the line 472 and post the script output.

Edit: just saw your edit. you are using the wrong command line. --url parameter requires channel id not full url. run PlayTV.php --list to get the id for different channels. why weren't you testing it with it's own CLI interface?
Reply With Quote
  #56  
Old 03-28-2012, 12:21 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: www.playtv.fr/television/ - A serious challenge for livestreming


Quote:
Originally Posted by karlo2105 View Post
How could I locate line 472 with Notepad or Wordpad as they don't display that info?
see the edit above and use better text editor.
Reply With Quote
  #57  
Old 03-28-2012, 12:42 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: www.playtv.fr/television/ - A serious challenge for livestreming


Quote:
Originally Posted by karlo2105 View Post
I thought you made PlayTV.php script like Weeb to include it in personal list batch file, that's why I used --url.
I am sorry to waste your time but I am completely lost.
I don't see where is CLI interface located.
just double click the script and it will show you the list of channels to select from. you can also use it from batch file with something like:
Code:
call %php% PlayTV.php --url dea5Va6CHQ
use --list option to list all channel id's.
Reply With Quote
  #58  
Old 03-28-2012, 12:55 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: www.playtv.fr/television/ - A serious challenge for livestreming


Quote:
Originally Posted by karlo2105 View Post
Thanks very much it's finally working. IS there any chance to display geo-locked channels list id with your script?
just use it with vpn or fill your http proxy at line 290.
Reply With Quote
  #59  
Old 03-28-2012, 01:11 PM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: www.playtv.fr/television/ - A serious challenge for livestreming


Quote:
Originally Posted by KSV View Post
just use it with vpn or fill your http proxy at line 290.
Thank you very much. You are the best. I will never forget it.
Reply With Quote
  #60  
Old 03-29-2012, 02:52 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: www.playtv.fr/television/ - A serious challenge for livestreming


Code:
1. Added some error checking
2. added socks proxy support
3. minor fixes
you can set the proxy at line 624 in the following format:
Code:
http://1.2.3.4:123
socks4://1.2.3.4:123
socks5://1.2.3.4:123
Proxy is only needed to view some geo restricted channels. they will not be listed until you use the proxy.

Code:
http://www.mediafire.com/file/pdm7q7q9x5cv75b/PlayTV.php
Reply With Quote
Reply Post New Thread
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 07:29 AM.


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