Normalement le streaming fonctionne sur Mythtv cependant sous myth 0.19 + ubuntu dapper je n'étais pas arrivé à configurer mon ordinateur (les vidéos étaient téléchargé entièrement avant d'être jouée). J'avais donc réalisé ce petit script php qui créer une playliste m3u. Le navigateur la télécharge (quelques ko) puis le lecteur associé au m3u se lance et joue la vidéo en streaming.
Créer dans “/var/www” un dossier “mythscript”
cd /var/www sudo mkdir mythscript sudo chmod 777 mythscript
Dans se dossier créer un fichier “myth_m3u.php”
cd mythscript
gedit myth_m3u.php
Et copier coller ce script à l'intérieur (en changement IP_MYTHWEB
par l'ip de votre backend)
<?php /* ***** - CRÉATEUR DE PLAYLIST *.M3U POUR MYTHWEB - ****** Auteur : Jonas Fourquier Licence : Créative Commons by-nc (http://creativecommons.org/licenses/by-nc/2.0/fr/) Description & installation : http://jonas.tuxfamily.org */ //Création du fichier M3U $fichier = fopen('myth.m3u',"w"); fwrite($fichier,' #EXTM3U #EXTINF:-1, MythTV http://IP_MYTHWEB/mythweb/data/recordings/'.$_GET['video'] ); fclose($fichier)