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)

KSV 11-19-2012 09:16 PM

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


 
this normally happens when rtmpdump is loading the wrong librmp.so. use ldd command to ascertain from where it's loading librtmp and make sure it's the updated one.

liu84494946 11-20-2012 07:34 PM

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


 
It just plays for few seconds when i use the weebtvlc script, what's the problem?

pattg 11-22-2012 07:12 AM

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


 
Quote:

Originally Posted by KSV (Post 56540)
this normally happens when rtmpdump is loading the wrong librmp.so. use ldd command to ascertain from where it's loading librtmp and make sure it's the updated one.

Thank you very much for your help. Everything works great.

liu84494946 11-28-2012 05:30 AM

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


 
C:\>rtmpdump -v -r "rtmp://46.1.05.118.88/live/45" -W "http://static2.weeb.tv/pl
ayer.swf" -f "WIN 11.1.102.63" -p "http://weeb.tv/channel/showcase" | "D:\vlc-2
.0.4\vlc.exe"
RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)

how can i deal with this problem?

kirukisu 01-07-2013 03:00 PM

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


 
@KSV;
Hi, can you share a tip why i'm getting this bug? Thanks.
Code:

Enter Channel Number : <br />
<b>Notice</b>:  Use of undefined constant STDIN - assumed 'STDIN' in <b>C:\Users
\lucky luke\Desktop\rtmdump\WeebTV.php</b> on line <b>537</b><br />
<br />
<b>Warning</b>:  fgets() expects parameter 1 to be resource, string given in <b>
C:\Users\lucky luke\Desktop\rtmdump\WeebTV.php</b> on line <b>537</b><br />
Finished


KSV 01-08-2013 02:33 AM

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


 
Quote:

Originally Posted by kirukisu (Post 58275)
@KSV;
Hi, can you share a tip why i'm getting this bug?

This is CLI script intended to be run from command line not through web server.

Code:

php WeebTV.php

kirukisu 01-08-2013 04:39 AM

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


 
@KSV
Yes. It worked from cmd. Somehow I can't relate *.php with php.exe to run it by double clik.

KSV 01-08-2013 10:13 AM

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


 
Quote:

Originally Posted by kirukisu (Post 58296)
Somehow I can't relate *.php with php.exe to run it by double clik.

Run following commands from command line and it should do the trick to correctly associate the files. also you can use any other fancy icon for scripts if you don't like the default one.
Code:

ftype php_auto_file=cmd.exe /C color 17 ^& ^"C:\Program Files\PHP\php.exe^" ^"%1^" %* ^& color 07
assoc .php=php_auto_file

change the path of php to your actual php path.

kirukisu 01-08-2013 02:45 PM

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


 
@KSV
Your knowledge is so damn impressive. You're one hell of a programmer:) Asslicking mode on, but... those 2 cmd are doing something, becouse desktop is refreshing, unfortunately it still din't associate php extension to php.exe.
If it comes to your second sentence i think i didn't get you.

KSV 01-09-2013 12:39 AM

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


 
Quote:

Originally Posted by kirukisu (Post 58306)
those 2 cmd are doing something, because desktop is refreshing, unfortunately it still didn't associate php extension to php.exe.

make sure you're running the cmd.exe as administrator before executing those commands.

Quote:

Originally Posted by kirukisu (Post 58306)
If it comes to your second sentence i think i didn't get you.

i was talking about the icon displayed in windows explorer for php scripts.

Rolle 02-11-2013 08:47 AM

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


 
Hi!

First of all, thank you KSV for creating these scripts and making them available for the community. After about an hour of searching and trial and error I finally got the script working. Since there's no real manual and the wiki is lacking in information I thought I'd share some of my problems and observations I noticed during the installation process.

1. You need the modified version of rtmpdump which can be found here: http://stream-recorder.com/forum/sho...&postcount=349 - thanks KSV. Where ever you extract these make sure to add the directory to the PATH system variable.
2. If you download latest PHP for windows (http://windows.php.net/download/) it comes in a ZIP file only (no installer). That means you have to manually extract it to a folder on the drive and add it to PATH system variable.
3. The zipped PHP comes with pre-packaged configuration file. Go to your PHP folder and find "php.ini-development". Create a copy of that file and rename it to "php.ini" only.
Now, you need to make some changes in this file:

Uncomment line 730:
BEFORE:
Code:

; extension_dir = "ext"
AFTER:
Code:

extension_dir = "ext"
Uncomment line 869:
BEFORE:
Code:

;extension=php_curl.dll
AFTER:
Code:

extension=php_curl.dll
Add below line 869:
Code:

extension=php_com_dotnet.dll
This allows PHP to run with the plugins that are used by KSV's script.

Hope that hopes some of you with easier installation :)

KSV 02-11-2013 10:46 AM

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


 
Quote:

Originally Posted by Rolle (Post 59609)
Since there's no real manual and the wiki is lacking in information I thought I'd share some of my problems and observations I noticed during the installation process.

i don't think you have read the wiki carefully especially the "Installing PHP for dummies" section otherwise you don't have to manually edit the php.ini file.

tmk9309252 03-20-2013 02:23 PM

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


 
can i have a reup of file please?

limes 04-04-2013 12:48 AM

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


 
Help pls KSV on Windows everything is ok but in linux i have an error

Quote:

PHP Notice: Undefined offset: 1 in /home/limes/Desktop/WeebTV.php on line 522
PHP Warning: uksort() expects parameter 1 to be array, null given in /home/limes/Desktop/WeebTV.php on line 529
I understand that is not array but dont know how to repair this :(

KSV 04-04-2013 03:00 AM

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


 
Quote:

Originally Posted by limes (Post 61283)
Help pls KSV on Windows everything is ok but in linux i have an error
...
I understand that is not array but dont know how to repair this :(

i don't think uksort is main issue. most probably you are missing curl extension from your Linux installation so loading the channel list fails.

limes 04-04-2013 09:26 AM

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


 
i have installed php5-curl and it work, but WeebTV.php don't :(

Quote:

$html = $cc->get("http://weeb.tv/channels/live");
echo $html ; ------GOOD
preg_match('/<ul class="channels">(.*?)<\/ul>/is', $html, $html);
$html = $html[1]; ------NOTHING! :(

seems to be preg_match wrong :(

KSV 04-04-2013 11:37 AM

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


 
Quote:

Originally Posted by limes (Post 61301)
seems to be preg_match wrong :(

it may be due to old version of php. make sure you are using at least 5.4 version. i haven't tested it with older versions.

limes 04-04-2013 12:33 PM

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


 
You right!

If I change to:
Quote:

$html = explode('channels">', $html);
$html = explode("</ul>", $html[1]);
$html = $html[0];
It Work! Thanks KSV for compilation patch too :) sorry for my English.

mastermind89 04-14-2013 02:18 AM

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


 
Hi,

TiWi project is live again, forum with app download was moved to

Code:

http://mastermind89.eu/TiWi-WeebTV
Many thanks to KSV for everything! :)

Best regards,
mm89

limes 07-26-2013 03:09 AM

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


 
Hi ! I have toruble with some channels

TVN24, HBO2, DISCOVERY, C+Family1 .. it's possible that weeb.tv secure it with codec or something else?

karlo2105 10-29-2013 09:44 AM

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


 
This script is broken.

Code:

%systemdrive%\progra~1\php\php WeebTV.php --url "http://weeb.tv/online/tvp-1"
                            KSV WeebTV Downloader

Retrieving html....
No channel id found


ryki 12-06-2013 05:08 AM

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


 
I have problem with VLC (2.1.1).

When I record (I click REC button) using KSV script i get mp4 file with "too much" audio - it goes out of sync. Only VLC plays it right.

Is there a way to record properly ?

jasiek08 02-16-2014 02:29 PM

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


 
Sometimes channel drops, and i must choose channel again to watch it. Is there a way to set automatic restart if channel stop itself?

jasiek08 02-26-2014 07:47 AM

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


 
Retrieving info....
RTMP Url: rtmp://37.48.65.13/channel/1220
Playpath: liveSD
Token : 18910202
Premium : Yes
Command : rtmpdump -r "rtmp://37.48.65.13/channel/1220/liveSD" -W "http://static.weeb.tv/player.swf" --weeb "18910202;email@wp.pl;haslo" --live | ffmpeg -i - -acodec copy -vcodec copy -f flv rtmp://live.yukons.net/kuyo/assssssssssssss_pfrbp5
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 22 2013 07:18:58 with gcc 4.4.5
configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.123. 0 / 52.123. 0
libavformat 52.111. 0 / 52.111. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
INFO: Connected...
INFO: Token.authorization
INFO: User.hasAccess
INFO: Weeb.tv authentication successful
Starting Live Stream
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
-0.001 kB / 0.00 sec
Download may be incomplete (downloaded about 0.00%), try resuming
pipe:: Invalid data found when processing input

anyone have idea how to fix it???

KSV 02-26-2014 08:02 AM

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


 
Quote:

Originally Posted by jasiek08 (Post 64976)
anyone have idea how to fix it???

just add 'quiet' switch to your command line. also make sure you are running the latest version.

Code:

                            KSV WeebTV Downloader

You can use script with following switches:

 --help          displays this help
 --list          display formatted channels list and exit
 --print        only print the base rtmpdump command, don't start anything
--quiet        disables unnecessary output
 --proxy [param] use proxy to retrieve channel information
 --url  [param] use specified url without displaying channels list


jasiek08 03-13-2014 09:56 AM

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


 
How can i add logo or some kind of watermark/text to the video??

gormac 05-19-2014 04:40 PM

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


 
My project: http://gormac.net/myweeb

godlesowned 11-18-2016 10:33 AM

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


 
Hello, there is problem with script now.
Code:

PHP Notice:  Undefined offset: 1 in /root/s1/WeebTVsport.php on line 539
PHP Warning:  uksort() expects parameter 1 to be array, null given in /root/s1/WeebTVsport.php on line 546


piratilla_bcn 04-19-2017 06:56 AM

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


 
Hi,

Where is the script? Anybody knows if still works?

I'm strugglin' with RTMPDUMP and it seems difficult to achieve, for example, this link:

https://weeb.tv/channel/tvp1hdonline1

Many thanks in advance! :-)

Damianonymous 04-19-2017 04:55 PM

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


 
Weeb.tv has a plugin in Streamlink https://github.com/streamlink/streamlink

Requires rtmpdump with K-S-V patches https://github.com/K-S-V/Scripts/releases/tag/v2.4 to add to the environment variable, add a streamlinkrc file (%Appdata%) or replace it in ...\Streamlink\rtmpdump\rtmpdump.exe


piratilla_bcn 04-20-2017 06:52 AM

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


 
Quote:

Originally Posted by Damianonymous (Post 91010)
Weeb.tv has a plugin in Streamlink https://github.com/streamlink/streamlink

Requires rtmpdump with K-S-V patches https://github.com/K-S-V/Scripts/releases/tag/v2.4 to add to the environment variable, add a streamlinkrc file (%Appdata%) or replace it in ...\Streamlink\rtmpdump\rtmpdump.exe


Many thanks!!

It's a shame it doesn't run under Linux... I'll keep trying! :-)


All times are GMT -6. The time now is 07:08 PM.