i-have-a-dreambox.com | Dreambox - Support

Register Calendar Members List Team Members Galerie to Portal Go to the Main Page

Boardrules Frequently Asked Questions Statistik Statistik Search Pinwand Dreambox Blog Ihad/Gemini Fan-Shop
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox Software :::... » Software allgemein » Dreambox Re-Stream project, By M4RTiN! » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page Dreambox Re-Stream project, By M4RTiN!
Author
Post « Previous Thread | Next Thread »
hemertje
User


images/avatars/avatar-11432.jpg

Registration Date: 12.01.2004
Posts: 224

Dreambox Re-Stream project, By M4RTiN! Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

By M4RTiN

http://m4rtin.dnsalias.net/re-stream/index.php

welcome

Welcome to this page, its devoted to a little PHP script i developed for the Dreambox. The dreambox is a digital satellite receiver wich can stream its output to lan-clients. This raw stream is too big for sending over internet. It has to be transcoded by a program such as VLC

Over the internet streaming acquires a lot of hassle to adjust the dreambox and vlc to eachother, thats where my script comes in! I have built a frontend to VLC with the ease to easily choose from the services wich are available from your dreambox. Want to know how it works? click the link above or read below and learn more!


News

Here you can read my log in case i have updates smile

TODO
quote:
* Streaming of recordings
* Test windows server
* complete 7025 support
* Probably fix many bugs Zunge raus


Changelog
quote:
22:32 10-8-2007
- Made this website
- First release



How does this thing works?:

Well i have this very professional picture overhere that could explain a lot Zunge raus



As you can see you will need a server (preferably Linux) wich runs a webserver capable of parsing PHP, and of course runs VLC.


Features

* View your favorite TV channels (and soon recordings) from all over the world
* Administer multiple dreambox from the one server in the same subnet
* Adjust streaming quality in a second without a hassle
* Ability for fullscreen viewing
* Handy debug window for checking if VLC does run and check how many viewers


Installation:

Click on the link above to download the latest version! Here is a basic installation description. As im not a real guru i might change a thing or two when i get some feedback.


* Download the Re-stream package
* Unpack it to a web accesible directory, such as /var/www/re-stream
* Edit your dreambox settings in settings.php
* Also be sure to put the right IP numbers for the Lan & Wan interfaces in settings.php
* Make an extra portmapping to your vlc server in your router for the stream, default in settings.php is 8888
* To run vlc from PHP sudo is needed, make sure if you have it, but i think is a basic tool in linux)
* Edit the sudo rules from the command "visudo" as the user root
* I used this line to get the user "www-data" all priviliges without asking for a password:

www-data ALL=(ALL) NOPASSWD: ALL

* Now visit the script by using firefox with the enabled firefox-vlc plugin, if you dont have a plugin, please (re)install VLC and mark the option for the firefox plugin


Windows server notes:

In order the run the php interface on a windows server you are going to need Pstools..., installed in C:\pstools.

Please give me some feedback if the windows version is working.

__________________
http://Dreambox.Hemertje.com Webmaster
http://www.Satnerds.com Moderator

DM8000 + DM800
WaveFrontier T90: 28.2e | 23.5e | 19.2e | 16e | 13e | 10e | 9e | 7e | 4.8e | 0.8w | 5w | 8w | 12.5w

Tell your friends about our Pli Wiki as it is there to help you:
http://www.pli-images.org/modules/wiki/index.php
11.08.2007 16:08 hemertje is offline Send an Email to hemertje Homepage of hemertje Search for Posts by hemertje Add hemertje to your Buddy List
hemertje
User


images/avatars/avatar-11432.jpg

Registration Date: 12.01.2004
Posts: 224

Thread Starter Thread Started by hemertje
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

here a screenshot



__________________
http://Dreambox.Hemertje.com Webmaster
http://www.Satnerds.com Moderator

DM8000 + DM800
WaveFrontier T90: 28.2e | 23.5e | 19.2e | 16e | 13e | 10e | 9e | 7e | 4.8e | 0.8w | 5w | 8w | 12.5w

Tell your friends about our Pli Wiki as it is there to help you:
http://www.pli-images.org/modules/wiki/index.php
11.08.2007 19:22 hemertje is offline Send an Email to hemertje Homepage of hemertje Search for Posts by hemertje Add hemertje to your Buddy List
AxelG
Newbie


Registration Date: 11.08.2007
Posts: 3
Which box: Keine
External Storage: keine
Which Image: Sonstige

RE: Dreambox Re-Stream project, By M4RTiN! Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

klingt sehr interessant
gibt es schon eine demoseite mit der man TV von sonstwo schauen kann?
11.08.2007 19:54 AxelG is offline Send an Email to AxelG Search for Posts by AxelG Add AxelG to your Buddy List
mamba0815
Dreambox Kaiser


images/avatars/avatar-6596.jpg

Registration Date: 14.08.2006
Posts: 3,647
External Storage: CIFS
Which Image: Gemini
Welcher Bildschirm: LCD
Origin: Janz weid drusse

RE: Dreambox Re-Stream project, By M4RTiN! Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

This is some cool project. I am looking forward to seeing private TV streamer pop up like mushrooms. :-)

Mamba

__________________
checking for long long... yes
checking for long double... yes
+++ Divide By Cucumber Error. Stopping. +++
11.08.2007 22:15 mamba0815 is offline Search for Posts by mamba0815 Add mamba0815 to your Buddy List
boki15
unregistered
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Ich habe eine Anleitung im German ULC-Dreambox Corner geschrieben,

here it is smile
06.10.2007 01:32
acidburn666
Newbie


Registration Date: 09.02.2006
Posts: 26
Which box: DM 7025S
External Storage: HDD
Which Image: Sonstige

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Ich habe nun so ziehmlich jeden Beitrag zu diesem Thema im Netz gelesen und verzweifle.. keine Frage.. es ist ein super Projekt. Respekt... nur muss ich mal Kritik an der Dokumentation äussern..
Leider wird mir und vielen anderen nicht klar wie genau die Konfiguartion aussehen muss.. trotz Anleitung. Da bleiben einfach zu viele Fragen offen. Dazu wäre es sinnvoll einen Guide zu veröffentlichen, der beschreibt wie die Konfiguration im Lokalen Netzwerk ohne Anbindung an das Internet aus zu sehen hat. So ist es für viele User einfacher die Materie zu verstehen um anschliessend den Schritt mit dem Streaming über das Internet zu wagen. Wie gesagt gibts zu viele Fragen oder es bleiben zuviele Fragen offen..

Eine Step by Step Erklärung vom Netzwerkbetrieb würde mir persöhnlich sehr helfen die Geschichte ans Laufen zu bekommen.

Ich bin so weit, dass der Apache läuft..ich das Script aufrufe im Browser... die Verbindung zur Dreambox 7025 steht und die Senderlisten ausgelesen werden.. tjo.. das wars dann aber schon... NO VIDEO...
Wie bei vielen anderen auch herrscht hier wohl Port Routing Chaos...

Wäre fein wenn jemand mal genau erklärt wie es in einem LAN ohne Internet funktioniert. Ich spendiere auch 4 digitale Bierkästen. Augenzwinkern

AJ


-----------------------------------------------------------------------

Nachtrag: Ich habe nun alles zum laufen gebracht.. war irgendwie doch nicht so schwierig wie ich dachte bzw es verstanden habe. Dazu kam noch ein Problem mit dem PC auf dem der Server zuerst lief. Läuft nun alles einwandfrei auf einem anderen PC-Server mit Xampp. Das gefällt mir besser... erfüllt aber auch seinen Zweck.

Nachtrag 2: Ich benutze eine Dreambox 7025 und es gibt hier Probleme wenn bei dem Webif die Authentifizierung angestellt ist. Seit einem Tag funktionierte das Streaming nicht mehr.. habe eben die Passwortabfrage im Webif ausgestellt (Blau,6,Webif) und nun geht wieder alles einwandfrei. Schade wenn es so bleiben muss und das Webif nur durch den "geheimen" Port für die Öffentlichkeit versteckt ist.

This post has been edited 4 time(s), it was last edited by acidburn666: 17.12.2007 23:29.

16.12.2007 02:44 acidburn666 is offline Send an Email to acidburn666 Search for Posts by acidburn666 Add acidburn666 to your Buddy List
senkron24
Newbie


Registration Date: 30.08.2007
Posts: 10
Which box: DM 500S
External Storage: HDD
Which Image: Gemini

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

#Make sure you installed VLC properly, with the Avahi deamon also

with avahi demon unglücklich wierd die nicht mit instaliert wenn mann diesen befehl gibt

sudo apt-get update
sudo apt-get install vlc vlc-plugin-esd mozilla-plugin-vlc

kanste bitte mehr hier zu sagen pls

habs jetzt im ubuntu intaliert alles leuft wunderbar nur komt kein bild unglücklich

This post has been edited 3 time(s), it was last edited by senkron24: 09.05.2009 21:39.

09.05.2009 19:12 senkron24 is offline Send an Email to senkron24 Homepage of senkron24 Search for Posts by senkron24 Add senkron24 to your Buddy List YIM Account Name of senkron24: cep-x@cep-x.net
senkron24
Newbie


Registration Date: 30.08.2007
Posts: 10
Which box: DM 500S
External Storage: HDD
Which Image: Gemini

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

here hab ich mall getested ob alles leuft

http://dreambox.sjerom.com/browsercheck/browser_check.php

und alles var grünn passed

also bitte eine gute anleitung für dieses streming pls

pls step by step how to master
10.05.2009 13:04 senkron24 is offline Send an Email to senkron24 Homepage of senkron24 Search for Posts by senkron24 Add senkron24 to your Buddy List YIM Account Name of senkron24: cep-x@cep-x.net
kodo kodo is a male
V.I.P.


images/avatars/avatar-18184.jpg

Registration Date: 04.08.2004
Posts: 11,413
Which box: DM500; DM600; D-Box; andere
External Storage: keine
Which accessories: Atemio Nemesis, Atemio 6100, Coolstream Neo² Cable, Octagon SF-1028P@TitanNit
Which Image: Gemini; PLi; Sonstige
Welcher Bildschirm: Toshiba 50L4363D
Origin: Ruhrpott

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Guck mal 4 Posts über deinem ...

__________________
Gruß, Stephan
-------------------------------------------------------------------------


10.05.2009 13:13 kodo is offline Search for Posts by kodo Add kodo to your Buddy List
carthago
Newbie


Registration Date: 27.04.2009
Posts: 4
Which box: DM 500S; DM 800S
External Storage: HDD
Which Image: Gemini

m4artin Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

hi folks

Bin am verzweifeln. Versuche das ganze seit letzten Sonntag zum Laufen zu bringen. Als Server habe ich einen alten Rechner genommen und darauf Debian geschmissen. VLC ffmpeg usw natürlich alles darauf installiert.

Voerst eine kurze Frage zu settings.php


///////////////////////////////////////////////////////////////////////////
///////
// VLC network configuration
//

$config['vlc_lan_hostnameip'] = "localhost"; //ip of the server with VLC
$config['vlc_lan_streamingport'] = "8080"; //intranet streamingport
$config['vlc_rtsp_controlport'] = "8889"; // for mobile phone streaming

///////////////////////////////////////////////////////////////////////////
//////
// Match these with your router, with the appropriate portmapping!

$config['vlc_wan_hostnameip'] = "carthago.ath.cx"; //internet ip or hostname
$config['vlc_wan_streamingport'] = "8080"; //internet streamingport


$config['vlc_wan_hostnameip'] = "beispiel.ath.cx"; //internet ip or hostname
$config['vlc_wan_streamingport'] = "8080"; //internet streamingport

1. Kann ich localhost verwenden, wenn vlc sich auf dem gleichen server wie auch das script befindet?
2. Wird $config['vlc_lan_streamingport'] hier der Port 8080 dem stream zugewiesen oder muss dieser Port vorerst irgendwo in den settings eingestellt werden.

Naja, ich erhalte eben immer wieder folgende Fehlermeldung wenn ich vlc durch den vom Script generierten Befehl durchführe:

[00000283] logger interface: using logger...
[00000283] logger interface error: error opening logfile `vlc-log.txt'
[00000283] main interface error: no suitable interface module
[00000001] main private error: interface "logger,none" initialization failed
[00000289] main interface: creating httpd
[00000301] main private error: cannot bind socket (Cannot assign requested address)
[00000301] main private error: cannot bind socket (Cannot assign requested address)
[00000301] main private error: cannot create socket(s) for HTTP host
[00000301] access_output_http private error: cannot listen on localhost:8080
[00000299] stream_out_standard private error: no suitable sout access module for `http/ts://localhost:8080'
[00000296] stream_out_transcode private error: cannot create chain
[00000295] main stream output error: stream chain failed for `transcode{acodec=mpga,vcodec=DIV3,ab=60,vb=150,scale=0.50,deinterlace,fps=
15,channels=1,width=382,height=288}:std{access=http,mux=ts,url=localhost:80
80} '
[00000294] main input error: cannot start stream output instance, aborting
[00000281] main playlist: nothing to play

This post has been edited 2 time(s), it was last edited by carthago: 26.06.2009 15:41.

26.06.2009 15:39 carthago is offline Send an Email to carthago Search for Posts by carthago Add carthago to your Buddy List
jabba80 jabba80 is a male
User


images/avatars/avatar-12545.jpg

Registration Date: 24.05.2005
Posts: 122
Which box: DM 7020S
External Storage: HDD; CF; NFS; CIFS
Which Image: Gemini

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Ähnlicher Fehler hier unter Ubuntu 9.10 (32 bit Desktop):

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
[0x8149d08] main playlist debug: requesting art for http://192.168.0.33:31339/0,002c,00a3,0068,006a
[0x815d4f8] main http server warning: cannot add '/' (url already defined)
[0x8165a70] access_output_http access out error: cannot add stream /
[0x815d5a8] main http server debug: httpd_HostDelete: host still in use
[0x8165a70] main access out warning: no sout access module matching "http" could be loaded
[0x8165a70] main access out debug: TIMER module_need() : 46,112 ms - Total 46,112 ms / 1 intvls (Avg 46,112 ms)
[0x8164358] stream_out_standard stream out error: no suitable sout access module for `http/ts://(null)'
[0x8164358] main stream out warning: no sout stream module matching "std" could be loaded
[0x8164358] main stream out debug: TIMER module_need() : 48,946 ms - Total 48,946 ms / 1 intvls (Avg 48,946 ms)
[0x8164358] main stream out debug: destroying chain... (name=std)
[0x8164358] main stream out debug: destroying chain done
[0x8160800] stream_out_transcode stream out error: cannot create chain
[0x8160800] main stream out warning: no sout stream module matching "transcode" could be loaded
[0x8160800] main stream out debug: TIMER module_need() : 49,785 ms - Total 49,785 ms / 1 intvls (Avg 49,785 ms)
[0x8160800] main stream out debug: destroying chain... (name=transcode)
[0x8160800] main stream out debug: destroying chain done
[0x8171888] main stream output error: stream chain failed for `transcode{acodec=mpga,vcodec=DIV3,ab=60,vb=150,scale=0.50,deinterlace,fps=15,channels=1,width=382,height=288}:std{access=http,mux=ts,url=192.168.0.30:8888} '
[0x8160090] main input error: cannot start stream output instance, aborting
[0x8160090] main input debug: thread ended
[0x8149d08] main playlist debug: dead input


denke fast, dass es an der Ubuntu/Debian VLC-Version liegt unglücklich

__________________
Software ist like sex, it's better when it's free!
- Linus

This post has been edited 1 time(s), it was last edited by jabba80: 05.01.2010 20:37.

05.01.2010 20:35 jabba80 is offline Send an Email to jabba80 Search for Posts by jabba80 Add jabba80 to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox Software :::... » Software allgemein » Dreambox Re-Stream project, By M4RTiN!

Privacy policy | Team | Suchen | Hilfe


Powered by Burning Board 2.3.6 © 2001-2003 WoltLab GbR