Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

weeb.tv: Help to download live TV streams

(http://stream-recorder.com/forum/showthread.php?t=9823)

kwiecu 11-13-2011 01:05 AM

Re: weeb.tv: Help to download live TV streams


 
Where exactly, and how to change it?

I have no clue how to edit php script... :(

Can someone make a new script or write what to do step-by-step?

kiely 11-13-2011 02:07 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by KSV (Post 34304)
just use the new stream url.

url is not changing- multi-stream is hidden on site. so it's necessary to change php script

KSV 11-13-2011 04:11 AM

Re: weeb.tv: Help to download live TV streams


 
Changes:
Code:

1. detection of MultiBitrate streams
2. use single batch file for launching VLC instead of creating different file for each channel

Code:

http://www.mediafire.com/file/i51fc2z3cpw89p8/WeebTV.php
you can use latest rtmpdump binary posted in sticky thread of rtmpdump forum.

kiely 11-13-2011 04:26 AM

Re: weeb.tv: Help to download live TV streams


 
Great. And how to choose stream quality?

KSV 11-13-2011 04:44 AM

Re: weeb.tv: Help to download live TV streams


 
high quality streams will be automatically used when available.

kwiecu 11-13-2011 04:59 AM

Re: weeb.tv: Help to download live TV streams


 
Big thanks KSV!

KSV could you make an another script which connects to the lower quality(default) streams(do not detect the HQ) but uses a single batch file?

That's for people who have slow internet.

Thanks in advance!

kirukisu 11-15-2011 01:49 AM

Re: weeb.tv: Help to download live TV streams


 
Hello world :>
At first i'd like to thank KSV for the great work with the WeebTV.php with VLC. I'm using an old PC so i can dream about smooth view "HD"
stream with adobe flash player. Also + for bypassing the limitation :)

2nd. I'm wondering why do i get this? http://imageshack.us/f/828/weeb.jpg/
whne i run WeebTV.bat.

3rd. VLC crashes when i try to record with it weeb.tv stream. Am I doing something wrong or it's impossible to do?

4th. I'm not much a programmer :)

5th. Can WeebTV.php somehow be transformed to run as an VLC's *.lua script? Viewing channel would look more or less like this :
Media > Open Network Stream > http://weeb.tv.channel/tvn.
Maybe then i wouldn't have any problem with capturing stream with VLC only.

I'm just wondering :) Peace

kiely 11-15-2011 08:58 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

I'm wondering why do i get this? http://imageshack.us/f/828/weeb.jpg/
this is example of not using KSV's script :)
you have to copy php file to THE SAME directory as rtmpdump, and paste/type the stream address... I don't have any idea...

recording with KSV's script is unavailable, but maybe in the future there will be something done :)

karlo2105 11-15-2011 09:20 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by kiely (Post 34342)
this is example of not using KSV's script :)
you have to copy php file to THE SAME directory as rtmpdump, and paste/type the stream address... I don't have any idea...

recording with KSV's script is unavailable, but maybe in the future there will be something done :)

You can record streams with VLC. Once you launch Weeb streams, in VLC you click on CTRL+R to start recording and when you want to stop it you click again on CTRL+R.
Your video will be saved on default in :
C:\Documents and Settings\User name\My Documents\My videos

KSV 11-15-2011 10:14 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by kirukisu (Post 34337)
2nd. I'm wondering why do i get this? http://imageshack.us/f/828/weeb.jpg/
whne i run WeebTV.bat.

because weeb ticket expires after few seconds so don't use the generated batch file directly.
Quote:

Originally Posted by kirukisu (Post 34337)
3rd. VLC crashes when i try to record with it weeb.tv stream. Am I doing something wrong or it's impossible to do?

works fine for me.
Quote:

Originally Posted by kirukisu (Post 34337)
5th. Can WeebTV.php somehow be transformed to run as an VLC's *.lua script? Viewing channel would look more or less like this :
Media > Open Network Stream > http://weeb.tv.channel/tvn.
Maybe then i wouldn't have any problem with capturing stream with VLC only.

official version of vlc doesn't support rtmp protocol so lua script will not be helpful.

Quote:

Originally Posted by kwiecu (Post 34311)
KSV could you make an another script which connects to the lower quality(default) streams(do not detect the HQ) but uses a single batch file?

That's for people who have slow internet.

Thanks in advance!

replace
Code:

$playpath .= "HI";
with
Code:

$playpath .= "";
they have moved the MultiBitrate detection to flash player. here's the updated script:
Code:

http://www.mediafire.com/file/59765k47c4fck4k/WeebTV.php

kirukisu 11-15-2011 11:42 AM

Re: weeb.tv: Help to download live TV streams


 
Could someone take a look at my mess and tell me what's wrong? Via TeamViewer, for example :)



EDIT:
Did some one try to run php script within win 7 x64? Couse it does not work when i try :(

kwiecu 11-16-2011 03:23 AM

Re: weeb.tv: Help to download live TV streams


 
KSV could you also write a kind of script for linux or tell me how to watch wxxb.tv on linux?

karlo2105 11-16-2011 04:09 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by kwiecu (Post 34353)
KSV could you also write a kind of script for linux or tell me how to watch wxxb.tv on linux?

I think you only have to replace VLC path in PHP script to "/usr/bin/vlc" and it should work.

buksnatata 11-16-2011 08:44 AM

Re: weeb.tv: Help to download live TV streams


 
ye works like that thanks karlo

KSV 11-17-2011 01:25 AM

Re: weeb.tv: Help to download live TV streams


 
i have updated the script to automatically scrape the website and show list of live channels to select from.



updated script
Code:

http://www.mediafire.com/file/uibkgzpne4ts868/WeebTV.php

buksnatata 11-17-2011 02:47 AM

Re: weeb.tv: Help to download live TV streams


 
Awesome work thanks mate

kwiecu 11-17-2011 04:21 AM

Re: weeb.tv: Help to download live TV streams


 
great work! thanks...

wiosna 11-17-2011 08:40 AM

Re: weeb.tv: Help to download live TV streams


 
In linux, adres is ok
rtmpdump -r "rtmp://46.105.110.156/live/57/live" -W "http://weeb.tv/static/player.swf" --weeb "7b70ef94" --live | "/usr/bin/vlc" -

PHP Fatal error: Class 'COM' not found in /home/.../WeebTV.php on line 98

karlo2105 11-17-2011 09:13 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by wiosna (Post 34391)
In linux, adres is ok
rtmpdump -r "rtmp://46.105.110.156/live/57/live" -W "http://weeb.tv/static/player.swf" --weeb "7b70ef94" --live | "/usr/bin/vlc" -

PHP Fatal error: Class 'COM' not found in /home/.../WeebTV.php on line 98

First you have to download KSV PHP script for Weeb. Second you have to compile rtmpdump with Weeb tickets support for linux. After all that, good command is :

Quote:

php WeebTV.php "http://weeb.tv/online/polsatsport"

KSV 11-17-2011 09:37 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by wiosna (Post 34391)
In linux, adres is ok
rtmpdump -r "rtmp://46.105.110.156/live/57/live" -W "http://weeb.tv/static/player.swf" --weeb "7b70ef94" --live | "/usr/bin/vlc" -

PHP Fatal error: Class 'COM' not found in /home/.../WeebTV.php on line 98

for linux also replace
Code:

runAsyncBatch($command, $filename);
with
Code:

exec($command . " > /dev/null 2>&1 &");
COM stuff is windows specific only.

wiosna 11-17-2011 11:18 AM

Re: weeb.tv: Help to download live TV streams


 
Something that was lacking windows :)
Ok I changed lines latst ver: 98(all)$WshShell = new COM("WScript.Shell"); --> exec($command . " > /dev/null 2>&1 &"); 202,203,205."C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe" -->"/user/bin/vlc"
Even faster processor :) Merci

kwiecu 11-17-2011 01:21 PM

Re: weeb.tv: Help to download live TV streams


 
Small thing KSV. Could you change displaying channels in alphabetical order in lines into columns? I would be more practical and easier to read(look up channels).

Thanks for all.

kirukisu 11-17-2011 04:02 PM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by kwiecu (Post 34399)
Small thing KSV. Could you change displaying channels in alphabetical order in lines into columns? I would be more practical and easier to read(look up channels).

Thanks for all.

:D:D Last script improvement with list is enough :)) You'll learn channels position quickly.

alexpham050 11-18-2011 12:18 AM

Re: weeb.tv: Help to download live TV streams


 
Thanks for the tip. I may also need it.

KSV 11-18-2011 04:15 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by kwiecu (Post 34399)
Small thing KSV. Could you change displaying channels in alphabetical order in lines into columns? I would be more practical and easier to read(look up channels).

Thanks for all.

Displayed channel list is already sorted alphabetically. ksort function of php does not have have any option to ignore case while sorting so channel names starting with small letters (e.g nFilm) are sorted after channel names starting with capital letters.

FreeX 11-19-2011 03:53 AM

Re: weeb.tv: Help to download live TV streams


 
There's a 60-minute watching limit on weeb.tv. Is it possible to change the script to automatically restart the stream when the limit's out?

kwiecu 11-19-2011 07:27 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by FreeX (Post 34451)
There's a 60-minute watching limit on weeb.tv. Is it possible to change the script to automatically restart the stream when the limit's out?

That would be very useful feature...

ryki 11-19-2011 12:31 PM

Re: weeb.tv: Help to download live TV streams


 
Hello, greetings from Poland :)

I was just wondering:
1. is the KSV method capable of recording stream from weeb.tv ?
2. as above - but with premium account ?

I tried WM Recorder (with loopback-not screen capture) and it managed to record while I was watching. But WM recorder is shareware...

Prior 11-19-2011 03:01 PM

Re: weeb.tv: Help to download live TV streams


 
@ryki After launching stream from ksv script in VLC you can record it just fine, just choose in VLC to show advanced controls from view menu, there you'll have record button, recorded stuff is placed in "Videos" and is named vlc-record-date-somethingsomething by default.

It's pretty unreliable though, because streams from weeb.tv break often thus stopping recording, and it won't resume automatically.

wiosna 11-19-2011 04:14 PM

Re: weeb.tv: Help to download live TV streams


 
often interrupts - in the script line 175 change(delete) "HI" --> ""
record look shortcut in vlc(shift+r)? you make rec with off sound

KSV 11-19-2011 11:06 PM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by FreeX (Post 34451)
There's a 60-minute watching limit on weeb.tv. Is it possible to change the script to automatically restart the stream when the limit's out?

it's not possible to differentiate between the manual termination by user or disconnection by server. for testing purpose i let the stream ran for about 65 mins and server didn't cut me off after 60 mins. does server always stops stream for you after 60 mins?

Code:

1. better sorting and display of channels
2. now should also work on linux without making any changes
 to the script.

updated script
Code:

http://www.mediafire.com/file/971xg4g80q199ft/WeebTV.php

karlo2105 11-20-2011 09:56 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by KSV (Post 34485)
it's not possible to differentiate between the manual termination by user or disconnection by server. for testing purpose i let the stream ran for about 65 mins and server didn't cut me off after 60 mins. does server always stops stream for you after 60 mins?

Code:

1. better sorting and display of channels
2. now should also work on linux without making any changes
 to the script.

updated script
Code:

http://www.mediafire.com/file/971xg4g80q199ft/WeebTV.php

Thanks for this new script but it can't work under linux unless you compile rtmpdump for linux in order to add tickets settings.;-)

KSV 11-20-2011 11:12 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by karlo2105 (Post 34498)
Thanks for this new script but it can't work under linux unless you compile rtmpdump for linux in order to add tickets settings.;-)

isn't that obvious :rolleyes:

kwiecu 11-20-2011 02:27 PM

Re: weeb.tv: Help to download live TV streams


 
1) At the moment KSV's script can not bypass user limit or just says that 'server is busy'. Simply we can't watch any channel(happens sometimes).

I've just tried my old batch file which uses VLC + rtmpdump r565 and it passes everything(every channel starts). Of course ticket expires after few seconds however it works while server is busy...

Code:

call rtmpdump -v -r rtmp://46.105.110.156/live/8/live -W http://static.weeb.tv/player.swf -p http://weeb.tv/ | %vlc% -
Is it relay impossible to push our php to connect to their servers anyway at any time?(as we can see it is possible all the time with the old batch)

2) I've notice that TVP1 and TVP2 are still on their servers but hidden(I've noticed that while using an old batch)

URL of TVP1
Code:

rtmp://46.105.112.31/live/13/live
URL of TVP2
Code:

rtmp://46.105.112.31/live/6/live
Can we add them somehow?

KSV 11-21-2011 07:53 AM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by kwiecu (Post 34507)
1) At the moment KSV's script can not bypass user limit or just says that 'server is busy'. Simply we can't watch any channel(happens sometimes).

already explained.
Quote:

Originally Posted by kwiecu (Post 34507)
I've just tried my old batch file which uses VLC + rtmpdump r565 and it passes everything(every channel starts). Of course ticket expires after few seconds however it works while server is busy...

Code:

call rtmpdump -v -r rtmp://46.105.110.156/live/8/live -W http://static.weeb.tv/player.swf -p http://weeb.tv/ | %vlc% -
Is it relay impossible to push our php to connect to their servers anyway at any time?(as we can see it is possible all the time with the old batch)

script can also connect you to the rtmp server whenever you want but what's the point in connecting to the rtmp server when we are unable to get ticket from authentication server for whatsoever reason. rtmp server will disconnect you after 3 seconds in case of missing or invalid ticket. batch file contains static rtmp links. it doesn't contact authentication server anyway.

Quote:

Originally Posted by kwiecu (Post 34507)
2) I've notice that TVP1 and TVP2 are still on their servers but hidden(I've noticed that while using an old batch)

URL of TVP1
Code:

rtmp://46.105.112.31/live/13/live
URL of TVP2
Code:

rtmp://46.105.112.31/live/6/live
Can we add them somehow?

till yesterday they were running TVP1 under the label of MGM HD. why don't you ask them to make these channels available on their main page. you can also manually retrieve the ticket and then try to connect to the server.

kirukisu 11-21-2011 10:03 AM

Re: weeb.tv: Help to download live TV streams


 
Code:

RTMPDump v2.4 GIT-2011-09-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license:
WARNING: You haven't specified an output file (-o filename), using stdo
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)

Whta's that?

wiosna 11-21-2011 12:24 PM

Re: weeb.tv: Help to download live TV streams


 
all scripts running in linux

kwiecu 11-21-2011 01:43 PM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by KSV (Post 34527)
already explained.

script can also connect you to the rtmp server whenever you want but what's the point in connecting to the rtmp server when we are unable to get ticket from authentication server for whatsoever reason. rtmp server will disconnect you after 3 seconds in case of missing or invalid ticket. batch file contains static rtmp links. it doesn't contact authentication server anyway.

I see. I just didi't know how it really works....


till yesterday they were running TVP1 under the label of MGM HD. why don't you ask them to make these channels available on their main page. you can also manually retrieve the ticket and then try to connect to the server.

The point is that I've already asked them about TVP1,2 and I've been told that I must know that TVP channels are broadcasting only because of my piracy... :eek:

update: TVP channels are available only for premium users.

PS I have no clue how to manually retrieve ticket and then connect to the server:(

Prior 11-21-2011 10:31 PM

Re: weeb.tv: Help to download live TV streams


 
Yeah, i can see them under premium account it's
http://weeb.tv/channel/jedynka for tvp1
http://weeb.tv/channel/dwojka tvp2
http://weeb.tv/channel/tvpolskahd tvphd

KSV 11-21-2011 11:02 PM

Re: weeb.tv: Help to download live TV streams


 
Quote:

Originally Posted by Prior (Post 34538)
Yeah, i can see them under premium account it's
http://weeb.tv/channel/jedynka for tvp1
http://weeb.tv/channel/dwojka tvp2
http://weeb.tv/channel/tvpolskahd tvphd

ok added above three hidden premium channels to list.

Code:

http://www.mediafire.com/file/2a8bzip9hyx4w89/WeebTV.php


All times are GMT -6. The time now is 10:22 PM.