Getting Streaming to work with Mythbuntu 14.04.2 (Mythweb)

I was setting up a new Mythbuntu server today and ran into a problem getting streaming to work again. These are the steps I had to go through to get it to work again.

MythWeb uses Flowplayer to stream files converted from recordings with FFmpeg. The current version of Mythbuntu 14.04.2 has FFmpeg replaced by Libav. The easiest way to overcome this is to add FFmpeg back.

A nice person named “mc3man” created a repository for us.
$ sudo add-apt-repository ppa:mc3man/trusty-media

There are a few more up-to-date libraries in this repository, so we should also update/upgrade.
$ sudo apt-get update
$ sudo apt-get dist-upgrade

Once the upgrade has happened, you can then install FFmpeg.
$ sudo apt-get install ffmpeg

Now you can go into the MythWeb settings and select “MythWeb” on the left side. You will then see a “Enable Video Playback:” check-box. Prior to installing FFmpeg, this was greyed out with an error message.

Next, we have to fix MythWeb downloads.
$ sudo ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled/cgi.load

Uncomment AddHandler cgi-script .cgi and add .pl to the end of the line in:
$ sudo nano /etc/apache2/mods-available/mime.conf
AddHandler cgi-script .cgi .pl

Restart Apache2
$ sudo /etc/init.d/apache2 restart

You should not be able to stream recorded videos from your Mythbuntu server using MythWeb.

1 thought on “Getting Streaming to work with Mythbuntu 14.04.2 (Mythweb)

  • This might be easier to try first:

    sudo nano /usr/share/mythtv/mythweb/modules/mythweb/tmpl/default/set_flvplayer.php

    control+w to search for "split(", without the quotes.

    Change “split(” to “explode(“.

    control+x to close, answer "y" to save.

    sudo ln -s /usr/bin/mythffmpeg /usr/bin/ffmpeg

    Go back to the page to enable the flow plugin and it should allow it.

Leave a Reply

Your email address will not be published. Required fields are marked *