Plugin Stream2db3.0 - A simple stream client for Enigma1

  • Plugin stream2db was developed as a simple stream client to stream media files from pc to dreambox - when other methods like Movieplayer did not work. First release Simple stream client - Stream2db


    First - the media streaming is manually started with vlc mediaplayer on the pc. Then the plugin is started to playback on the dreambox.


    The original worked with vlc 0.8.6. Following requests from users the plugin is now updated for use with vlc 1.0.


    Any media that can be played with vlc (mpg, mp4, divx, dvd, internet, playlist) can be streamed with this method.


    Install plugin :-


    The plugin .so and .cfg to /usr/lib/tuxbox/plugins (for openembedded) or /var/tuxbox/plugins (for others) and chmod 755 for the .so.


    The .xml file to /etc/tuxbox/config (for openembedded) or /var/tuxbox/config (for others). Edit to insert the pc-ip.


    Configure vlc 1.0 :-


    Settings - Preferences - Interface - Main interface - select HTTP. (Pic1)
    Settings - Preferences - Interface - Main interface - HTTP - Advanced options - insert in Host address :8080.(Pic2)


    Preferences - Stream output - select (tick) all boxes except 'display while streaming'.


    Close vlc.


    Open program folder VideoLAN (default install C:\Program Files\VideoLAN). In \VideoLAN\VLC\http find file .hosts. In this file find the line like :


    #192.168.0.0/16


    Delete # and insert the pc-ip (vlc server-ip).


    Operation of plugin :-


    Start vlc and select Open Network Stream.


    Add the media and select Stream from the bottom.(Pic3)


    Select Next and Next on the next two windows.


    In the next window - insert the sout command :- (Pic4)


    :sout=#transcode{vcodec=mp2v,vb=1000,venc=ffmpeg{s trict-rc=1},width=352,hei
    ght=288,fps=25,scale=1,acodec=mp2a,ab=128,channels =2,samplerate=0}:std{acce
    ss=http,mux=ts{pid-video=68,pid-audio=69},dst=:9090/dboxstream} :sout-all :sout-keep


    If the streaming is not good - you may try with other vlc parameters in this line.


    Finally, select Stream and streaming should start.


    At the dreambox - start plugin.


    Regards, pcd.