Zanonimizowana wersja forum tylko do odczytu

Weeb w VLC - Skrypt K-S-V - opis by jarek

Forum poświęcone serwisowi www.weeb.tv.
anonim
Początkujący
Posts: 67
Joined: 2014-08-26, 10:11

Post by anonim »

wszystko działało aż do dziś gdzie wyskakuje mi że Premium: NO
O co chodzi? webki coś zmieniły ? W simple działa okej.

anonim
Weteran
Posts: 932
Joined: 2013-09-04, 17:49

Post by anonim »

Ale simple nie ma nic do tego co jest w skrypcie KSV

anonim
Początkujący
Posts: 67
Joined: 2014-08-26, 10:11

Post by anonim »

Chodzi mi o to że jeśli webki by zmieniły coś to pewnie w simple też by nie hulało.

anonim
Początkujący
Posts: 24
Joined: 2014-09-30, 14:48

Post by anonim »

Panowie mam na VPS ten skrypt i jak mam ustawione przekierowanie np: na castpamp działać, działa ale ścina.

Jak mam ustawione na VLC to działa idealnie, i teraz pytanie bo mam coś takiego http :// 185.xx .xx. xx:8082 i moje pytanie jest jakiś skrypt aby dodać to na swoją stronę.

Chodzi mi o to czy jest gdzieś jakiś skrypt jak np: na castamp lub innej stronie do użytku tylko własnego ??

anonim
Początkujący
Posts: 107
Joined: 2013-12-30, 19:27

Post by anonim »

Możesz umieścić adres streamu w dowolnym playerze flash lub html5 np. jwplayer:
Po zarejestrowaniu jest dostęp do kreatora i otrzymany kod wklejasz do kodu strony.

Code: Select all

http://www.jwplayer.com/sign-up/
Pamiętaj, że wtedy każdy widz ogląda bezpośrednio z twojego VPSa, co się wiąże z większym transferem niż w przypadku wysyłania streamu na Castamp, skąd dopiero widzowie oglądają transmisje - wtedy cię transfer nie ogranicza (o ile masz go na tyle, żeby wysłać stream do castamp).

Ogólnie streamy mogą klatkować na zewnętrznych serwerach streamingu utrzymujących się z reklam, bo są one często przeciążone z powodu dużej ilości widzów.
pozdro

anonim
Początkujący
Posts: 24
Joined: 2014-09-30, 14:48

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

Dokładnie mam nolimit i prawdzie w VPS nazwa nolimit to bujda ja taki mam i jeszcze nie dostałem przecinki czy jakiegoś zawieszenia :)

anonim
Posts: 1
Joined: 2015-07-25, 13:50

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

Czy ten skrypt jeszcze działa ? Jeśli nie prosił bym o instrukcje, jak pobierać stream z weebtv

Przy próbie uruchomienia otrzymuję pełno błędów proszę o pomoc!

Code: Select all

[0x1c1fcb8] main interface debug: no interface modules matched
[0x1c1fcb8] main interface error: no suitable interface module
[0x1a13118] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x1c1fcb8] main interface debug: looking for interface module matching "dbus,none": 19 candidates
[0x1c1fcb8] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x1c1fcb8] main interface debug: no interface modules matched
[0x1c1fcb8] main interface error: no suitable interface module
[0x1a13118] main libvlc error: interface "dbus,none" initialization failed
[0x1c1fcb8] main interface debug: looking for interface module matching "dummy": 19 candidates
[0x1c1fcb8] dummy interface: using the dummy interface module...
[0x1c1fcb8] main interface debug: using interface module "dummy"
[0x1c1af08] main playlist debug: processing request item: null, node: Lista odtwarzania, skip: 0
[0x1c1af08] main playlist debug: rebuilding array of current - root Lista odtwarzania
[0x1c1af08] main playlist debug: rebuild done - 1 items, index -1
[0x1c1af08] main playlist debug: starting playback of the new playlist item
[0x1c1af08] main playlist debug: resyncing on fd://0
[0x1c1af08] main playlist debug: fd://0 is at 0
[0x1c1af08] main playlist debug: creating new input thread
[0x7f5b44000ad8] main input debug: Creating an input for 'fd://0'
[0x7f5b3c000b78] main stream output debug: using sout chain=`http{mux=ffmpeg{mux=flv},dst=:8080/}'
[0x7f5b3c000b78] main stream output debug: stream=`http'
[0x7f5b3c000ee8] main stream out debug: looking for sout stream module matching "http": 21 candidates
[0x7f5b3c000ee8] main stream out debug: set config option: sout-standard-mux to ffmpeg{mux=flv}
[0x7f5b3c000ee8] main stream out debug: set config option: sout-standard-dst to :8080/
[0x7f5b3c001e38] main access out debug: looking for sout access module matching "http": 8 candidates
[0x7f5b3c001e38] main access out debug: net: listening to * port 8080
[0x7f5b3c001e38] main access out debug: using sout access module "access_output_http"
[0x7f5b3c003c58] main mux debug: looking for sout mux module matching "ffmpeg": 10 candidates
[0x7f5b3c003c58] main mux debug: set config option: sout-avformat-mux to flv
[0x7f5b3c003c58] main mux debug: using sout mux module "avformat"
[0x7f5b3c000ee8] stream_out_standard stream out debug: using `http/ffmpeg{mux=flv}://:8080/'
[0x7f5b3c000ee8] main stream out debug: using sout stream module "stream_out_standard"
[0x7f5b44000ad8] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x7f5b44000ad8] main input debug: `fd://0' gives access `fd' demux `' path `0'
[0x7f5b44000ad8] main input debug: creating demux: access='fd' demux='' location='0' file='(null)'
[0x7f5b3c015968] main demux debug: looking for access_demux module matching "fd": 20 candidates
[0x7f5b3c015968] main demux debug: no access_demux modules matched
[0x7f5b44000ad8] main input debug: creating access 'fd' location='0', path='(null)'
[0x7f5b3c015b68] main access debug: looking for access module matching "fd": 25 candidates
[0x7f5b3c015b68] main access debug: using access module "filesystem"
[0x7f5b3c0162d8] main stream debug: Using stream method for AStream*
[0x7f5b3c0162d8] main stream debug: starting pre-buffering
[0x7f5b3c0162d8] main stream error: cannot pre fill buffer
[0x7f5b3c015b68] main access debug: removing module "filesystem"
[0x7f5b44000ad8] main input warning: cannot create a stream_t from access
[0x1c1af08] main playlist debug: dead input
[0x7f5b3c000b78] main stream output debug: destroying useless sout
[0x7f5b3c000ee8] main stream out debug: destroying chain... (name=http)
[0x7f5b3c000ee8] main stream out debug: removing module "stream_out_standard"
[0x7f5b3c003c58] main mux debug: removing module "avformat"
[0x7f5b3c001e38] main access out debug: removing module "access_output_http"
[0x7f5b3c0031c8] main http host debug: HTTP host removed
[0x7f5b3c001e38] access_output_http access out debug: Close
[0x7f5b3c000ee8] main stream out debug: destroying chain done
[0x1c1af08] main playlist debug: changing item without a request (current 0/1)
[0x1c1af08] main playlist debug: nothing to play

anonim
Początkujący
Posts: 19
Joined: 2013-06-29, 15:57

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

nie dziala plik Patch.diff


Czego potrzebujemy ? php z curlem oraz oczywiście programu vlc.

Code: Select all

apt-get install php5 php5-curl vlc libssl-dev
Niezbędny jest również rtmpdump ze specjalnym paczem do obsługi weeb.tv

Patch do pobrania tutaj. Przebieg kompilacji rtmpdumpa z patchem wygląda następujaco:

1) pobieramy

Code: Select all

git clone git://git.ffmpeg.org/rtmpdump
2) przechodzimy do utworzonego katalogu rtmpdump oraz kopiujemy plik Patch.diff
3) no i po kolei:

Code: Select all

patch -p0 -i Patch.diff
make
sudo make install prefix=/usr
Skrypt w żaden sposób nie omija limitu ale może działać z kontami premium.

anonim
Weteran
Posts: 826
Joined: 2013-05-04, 15:44

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

W załączeniu plik Patch.diff
Attachments
Patch.diff.zip
(29.22 KiB) Downloaded 154 times

anonim
Początkujący
Posts: 19
Joined: 2013-06-29, 15:57

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

Co trzeba zrobic z patch.diff oraz z git clone git://git.ffmpeg.org/rtmpdump ?



Patch do pobrania tutaj. Przebieg kompilacji rtmpdumpa z patchem wygląda następujaco:

1) pobieramy

Code: Select all

git clone git://git.ffmpeg.org/rtmpdump
2) przechodzimy do utworzonego katalogu rtmpdump oraz kopiujemy plik Patch.diff
3) no i po kolei:

Code: Select all

patch -p0 -i Patch.diff
make
sudo make install prefix=/usr
Skrypt w żaden sposób nie omija limitu ale może działać z kontami premium.

anonim
Posts: 1
Joined: 2015-09-16, 10:51

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

Witam
Czy jest możliwość obniżenia birate'u w tym skrypcie? Dodam, że nie chodzi mi o ustawienie SD lub HQ tylko ręczne ustawienie bitarat'u np na 400kbps.

anonim
Posts: 8
Joined: 2014-08-10, 18:20

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

U mnie się pojawia taki problem. Wie ktoś jak to naprawić? Wszystko mam zainstalowane i zpatchowane.
Image

anonim
Początkujący
Posts: 98
Joined: 2015-08-13, 16:38

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

cin200 wrote:U mnie się pojawia taki problem. Wie ktoś jak to naprawić? Wszystko mam zainstalowane i zpatchowane.
Image
musisz zainstalować wszystko od nowa daj mi dane na priv do vpsa najpierw reinstalacje zrób a ja ci wszystko naprawie ja mam też pxstream i nadaje z linuxa debian 7.

anonim
Posts: 3
Joined: 2015-11-13, 20:39

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

Czy ktoś będzie uprzejmy mi pomóc? Wykonałem wszystko wg poradnika jednak mam problem ... poniżej wklejam to co pokazuje się po wyborze kanału z listy z pliku Weeb*.php

P.S. Login i hasło jest prawidłowe, tutaj zmieniłem celowo.

Enter Channel Number : 17
Retrieving info....
RTMP Url: rtmp://95.211.215.129/channel/2257
Playpath: live
Token : 12027739
Premium : No
Command : rtmpdump -r "rtmp://95.211.215.129/channel/2257/live" -W "http://static.weeb.tv/player.swf" --weeb "12027739;login;hassle" --live | cvlc - -vvv --sout='#http{mux=ffmpeg{mux=flv},dst=:8080/}'
RTMPDump v2.4
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use /usr/bin/vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
INFO: Token.authorization
INFO: User.hasAccess
INFO: Weeb.tv authentication successful
Starting Live Stream
INFO: Metadata:
INFO: duration 0.00
INFO: audiodatarate 125.00
INFO: audiosamplerate 44100.00
INFO: audiosamplesize 16.00
INFO: stereo TRUE
INFO: audiocodecid 10.00
INFO: encoder Lavf55.42.101
INFO: filesize 0.00
1.384 kB / 0.05 sec
Caught signal: 13, cleaning up, just a second...
ERROR: Download: Failed writing, exiting!

anonim
Weteran
Posts: 826
Joined: 2013-05-04, 15:44

Re: Weeb w VLC - Skrypt K-S-V - opis by jarek

Post by anonim »

Na początek 2 błędy:

Code: Select all

1) Premium : No 
Widać że premium nie działa

Code: Select all

2) VLC is not supposed to be run as root.
Niebezpiecznie używać roota do uruchamiania VLC

Podaj jeszcze info o wersji rtmpdump, czy jest z patchem KSV ?

Post Reply