Open Source Streaming Solution

  • Ja ist genau so eingestellt, ich seh auch die bouquets
    Und zeigt mir running an aber wenn ich auf showvideo drücke dreht sich der kreis und nichts passiert!

  • Hi hab noch eine frage! Sorry wenn sie vielleicht dumm ist aber bin wirklich ein laie auf diesem gebiet!
    Der port in der vhost.conf (:8120) muss dass der vlc streamingport sein?
    Und muss ich port:8120 auf box oder server forwarden?

  • nein der vlc streaming port ist einfach irgendein port der auf deinem rechner "frei" ist.
    Unter diesem Port tut dann vlc den transcodierten stream als flv für die nicht Iphone geräte anbieten.


    der vhost conf port ist nur dazu da damit der virutal host aufrufbar ist.
    Sprich das script das die Webseiten darstellt unter deiner ip:vhost port aufrufbar ist.


    Beide Ports müssen von unterschiedlich sein!
    Und müssen wenn du dein streaming von außerhalb deines Netzes wiedergeben willst auf deinem Router per Portweiterleitung freigegeben werden.


    Setze einfach mal die Werte die ich so genommen hab, ich hab eigentlich absichtlich schon ports gewählt die nicht so häufig genutzt werden.


    Ich hatte auch schon den verdacht, dass du beide ports auf das gleiche gesetzt hast. Nur wundert mich dann, dass es lokal dennoch im browser läuft.

  • Was meinst du mit springt zurück?
    Ich nehme mal an du redest vom Iphone / Ipad streaming?


    Erklär mal was genau dein Problem ist.

  • Ja genau bei iPad Streaming.
    Der Stream läuft so ca. 15-20 sec. Dann springt er wieder zum Anfang zurück.
    Dies passiert sehr häufig, mal springt er nur kurz zurück mal länger. Ist das so gut erklärt?

  • hmm komisch, klingt für mich aber eher nach einem Problem beim transcodieren eventuell zuwenig Cpu Power?


    Da niemand bisher von diesem Problem etwas geschrieben hat und auch bei mir nicht auftritt scheint es wohl ein Problem zu sein was nur bei dir auftritt.


    Ich nehme mal an du hast dinge wie zu schlechte verbindung schon ausgeschlossen weil du im Wlan unterwegs bist und nicht mit 3g oder nur edge versuchst ne bitrate von 1000 über deine dsl light verbindung mit upload von 64 kbit zu schieben :winking_face:


    Versuch mal folgende Dinge der Reihe nach:
    - versuch mal niedrigere bitrate etc.
    - starte den stream normal per iphone und öffne die m3u8 datei selbst im vlc player
    - schau im datei explorer ob die m3u8 datei in regelmässigen abständen erneuert wird und die jeweiligen .ts files erstellt werden (im stream ordner)
    - schaue im log file nach dem vlc transcoding aufruf und starte in mal in der console (vorher natürlich den anderen vlc transcoding prozess killen) und guck ob irgendwelche errors dort ausgegeben werden.
    - update vielleicht vlc eventuell hast du ja ne verbuggte nightly build erwischt.

  • Hi all,


    Another great streaming solution! Thanks or should i say :thx: ?


    I can get this working great on laptop, and iphone over wifi..


    however it won't work on iphone via 3g.


    safari just times out saying server is unreachable....


    What must I do to fix this?

  • Zitat

    Originally posted by Bschaar
    please add this as an attachement to your post


    sorry - I seen the mess it made on the post. I will do these as attachments from now.

  • Hey,
    tolle Lösung diese Projekt, habe nur folgendes Problem:


    Beim IPhone über volle UMTS Geschwindigkeit und anbindung am Netzwerk per IPSec bleibt das Bild alle 20 Sekunden stehen. Ich verwende Folgende Settings:
    video-width: 320
    video-height: 240
    videobitrate: 300
    audio-bitrate: 32


    Beim PC angebunden über DSL Per IPSec und folgenden Settings ruckelt das Bild bei schnellen Bewegungen:
    video-width: 288
    video-height: 200
    videobitrate: 250
    audio-bitrate: 16


    Wo oder wie kann ich noch Einstellungen Optimieren ohne weiter an Bildqualität zu verlieren?


    MFG
    skorpion2001

  • Zitat

    Original von techfreakz
    Hi Horizons,
    I have portforwarding enabled on router/firewall.
    I think it is the vhost settings...
    settings as attachement


    Why do you attach the livestream.php?
    What i meaned with vhost settings are these settings ( i translated the instructions to english)


    create a copy of your httpd-vhosts.conf for backup (located in your conf directory of your apache which comes with wamp (in my case this was in C:\development\wamp\bin\apache\Apache2.2.21\conf\extra).
    Modificate your httpd-vhosts.conf like below (you can delete the other example entries in that file)


    Take a free port which is available on your pc e.g. Port 8120. On this port you will then have access to only the streaming web (so the other web installations are still accessible on port 80 only for your local network)
    Your streaming application will then accessible on localhost:8120 or your dynamic_ip:8120 or your current internet_ip:8120.


    The port is complettle free to select, it only must be a not used port by some other application.
    Also change the path settings according to your wamp server installation.
    The 2nd directoy entry below is only just for security (because some others have set access to allow all for their whole web)


    Allow from 192.168.5 << edit this ip "PART" with your local subnet (remove the last number segment from your local ip) !



    skorpion2001
    ich habe auch schon über vpn mit ipsec geschaut ich kann mir nicht vorstellen, dass es bei dir unbedingt an ipsec liegen soll. ich nehme an du streamst mit dem iphone?


    lokal im gleichen netz funktioniert es denke ich prima oder ? nur damit ich cpu last oder andere Probleme ausschließen kann.
    Du kannst ja die sache auch mal mit dem vhost und offenen port probieren, wenn es damit funktioniert dann sollte es nicht an deinen ipsec settings liegen.


    Was für eine CPU hast du denn auf dem Server? und wieviel Upload?

  • Hallo Horizons,


    I don't know why attached livestream.php :379:


    i miss understood which file to edit..


    I have edited vhosts, enabled portforwarding on router, however I still cannot access the page from the iphone via 3g.


    It still says server unreachable..


    Any ideas?

  • mackguil
    This has to be programmed :winking_face: As i mentioned in my first post: this should never be a one man show (i couldn't not programm everything by myself because it costs too much time) and also only a proof of concept version.


    Feel free to create some page for yourself, it should work like this:
    [list=1]
    [*]get movielist (from http://box.ip/web/movielist)
    [*]make some list with the links with the input streams
    [*]use these streams as an input stream for vlc
    [*]display the video
    [*]share your script
    [/list=1]



    techfreakz it must be either the vhost or the firewall router which blocks the access.


  • i start to make to complete the script to have access to hdd


    if i post i have problem


    thanks