DIVX/AVI Playback ON DM500 Tutorial

    • Official Post

    1. First you need to install VLC on your PC, use the latest version here


    HERE


    2. Start the install of VLC but make sure you install it under the Full install option.



    3. After the VLC install has complete we need to add some extra info for this to work.


    4. Right click the VLC icon on your PC desktop and select properties. Now in the target field add this --intf wxwin --extraintf=http to the end of the line you already have. It should look like this


    "C:\Program Files\VideoLAN\VLC\vlc.exe" --intf wxwin --extraintf=http



    Apply this!


    5. Now on your PC start the VLC Player, i do this via the PC start menu. Just minimise VLC to the task bar.


    This is the pc end ready now to setup the dm500


    First we need to get a plugin called VLC FrontEnd installed on the dreambox, it might already be there; check under blue panel - plugins. If it is not there, install it by doing the following.


    How to install VLCf (VLC Frontend or movieplayer if using pli images)
    - Press Blue button
    - Choose Addons(2)
    - Search for Plugins
    - Install VLCF (currently is VLC-Final RC15 23.09.2k7)



    Now, the front end is installed and almost ready to use. We still have nothing that can feed the frontend, so first we must create an xml file for the frontend to use:



    Use a unix compatible editor, like UltraEdit, edit lines 4 and 5. The server ip to fit the IP-address of the backend PC. Startdir and cddrive to fit correspondingly the movie folder and the cddrive on the backend pc. Save it to a file called movieplayer_My_Server.xml to your dreambox's /var/etc folder. (save the file locally and FTP it to your dreambox, log in to your dreambox with default username root and password dreambox, or set up UltraEdit to save directly using FTP; your choice).


    Update for latest version of VLC Frontend VLCF-Final
    This new VLC Frontend works slightly different. It is downloaded and installed in the same way as the earlier versions, but configuring it is a bit more easy.
    There is now a file called vlcf_original.xml in /var/tuxbox/config/. It opens the possibility to configure more than one streaming server (up to 4) using only this one config file as opposed to changing config-files on earlier versions of VLCF.
    Now, open the file through a Unix compatible editor like UltraEdit or similar editor(Notepad is no good). I modified the following lines:


    Line 4: Inserting the correct IP of my streaming server.
    Line 8: Setting the correct Startdir and cddrive.


    Once editing has been done, save the file to your dreambox' /var/tuxbox/config as vlcf.xml.


    As you can see, the config file is put together by 4 config sets. set1, set2, set3 and set4. These will be reflected in the VLCF application on the dreambox as you can configure the frontend to use either of these 4 sets.



    Now that the xml file has been made and transferred to the dreambox it is time to set up the backend VLC to feed the frontend.


    VLC for Windows:
    Start VLC on the PC.
    Select File - Open Network Stream (Ctrl-N)
    Click Advanced Options
    - check Stream/Save and click Settings
    - check HTTP
    - check Video codec and select mp2v from the dropdown list.
    - check Audio codec and select mpga from the dropdown list.
    - click Ok
    - click Ok


    Now, activate the WebInterface (WEBIF) by selecting Settings - Add Interface - Web Interface from the VLC menu.



    VLC for Linux (ubuntu):
    First, install vlc by running this command:

    Code
    apt-get install vlc


    This will in general install a ****load of stuff, codecs and other things needed. As I learnt, it is also required to install something called the avahi-daemon. This is done by running this command:

    Code
    apt-get install avahi-daemon


    If you are having trouble finding these packages, you might want to run:

    Code
    apt-get update


    Now that all this has been installed, you need to launch VLC using the following command-line:

    Code
    vlc -d -I http --sout="#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=:9090}}"


    This specifies that the web interface is to be used, together with some transcoding stuff ;-)


    At the time of writing this, I am still trying to tune the vlc backend a bit. It is currently using 50%+ cpu when streaming...


    Now it is time to start the VLC frontend on the dreambox and set it up to use the correct xml file. Start VLC frontend plugin by starting blue panel (blue button on the remote) and selecting Plugins. VLC Frontend will show up as a plugin, select it and press Ok.


    VLC frontend is now started, select settings (blue button).
    In the dropdown list, select the xml file you created earlier, movieplayer_My_Server.xml.
    Then select Switch.
    You will now be told to restart VLC Frontend; do this by using the exit button until you are back at the plugins page.
    Now start VLC Frontend again.
    Use the red button (File).
    You will now be able to see the movie files that is in the folder specified as startdir in the xml file.
    Select the file you'd like to watch and press Ok.
    Then wait for the buffering to complete, sit back and enjoy the movie...


    Tested & working on my own dm500 using
    Nemesis 5 of amendments and Fixed web-x-tv

  • master G

    Added the Label Article

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!