E2 Plugin Media2ts - CIFS streaming aid for mpeg, divx, dvd etc

  • Media2ts

    An Enigma2 plugin for assisting cifs streaming of video (e.g. mpeg, divx, dvd) from pc to dreambox.


    Procedure :-


    (1) VLC :- Download and install VLC mediaplayer 0.8.6 from http://www.videolan.org/. Configure VLC by Settings > Preferences > Interface > Main Interfaces > Advanced options > select 'Extra interface modules' HTTP. Next expand Main Interfaces and in HTTP Host Address insert :8080. Close VLC.


    (2) Cifs :- Ftp to dreambox and make a new folder /media/hdd/movie. Next edit file /etc/init.d/bootup to insert, after the line "mount -at nfs,smbfs,cpfs 2>/dev/null", this line:


    mount -t cifs -o ro,soft,username=user,password=pass123 //pc-ip/dream /media/hdd/movie.


    Insert the pc-ip and the share folder name (e.g. dream) where you should save the temporary .ts file (see later).
    This will automount cifs after every reboot.


    (3) Plugin :- Unzip the attached and Ftp the folder Media2ts to folder /usr/lib/enigma2/python/Plugins/Extensions and the file Media2ts.conf to folder /etc. Insert the pc-ip and other items including the destination folder for the .ts file required in Media2ts.conf.


    (4) Operation :- The plugin converts remotely using VLC any video file or dvd to a temporary .ts file which can be streamed to the dreambox and watched 'on the fly'. Reboot dreambox. Restart VLC. Put the files to be streamed in the stream source folder named in Media2ts.conf. The divx file type should be named as .divx . Start the plugin and you will see the list. Select file and exit from the window. On the remote, press 'video' and you should see the saved .ts file. Select it to view. To close press 'tv' button on the remote.


    More Info :-


    As the playback is through cifs, it is not necessary to keep VLC running once the .ts file is made. The resulting .ts file can also be kept for future viewing.


    Regards, pcd.