[mythtv-users] Mythweb "Unknown video type requested" - MKV only

Joe Wilson wilson.joe at gmail.com
Tue Dec 8 23:18:04 UTC 2009


>
> Solved this - recording below for future reference:
>
> Turned out to be two problems:
> 1)  The only filetypes allowed for direct download in Mythweb 0.22 are
> .mpg, .mpeg, .mpeg2, and .nuv .
> To allow for mkv (and others) to be directly downloaded, edit
> /usr/share/mythtv/mythweb/modules/stream/stream_raw.pl and add the
> filetype under "# File Type" (line 26).
>
> For example, mkv files can be added under the .nuv section with the
> following:
>
>  elsif ($basename =~ /\.mkv$/) {
>         $type   = 'video/x-matroska';
>         $suffix = '.mkv';
>     }
>
>
> 2) I had characters in my filenames that did not get parsed correctly
> by Mythweb, and hence never got converted to flv for streaming. After
> removing all ampersands, commas, apostrophes, and parenthesis,
> streaming worked on all files.
>
> Hope this helps someone in the future.
>
> Barry
> _______________________________________________rs.
>

now is one going to need to make a patch.. or that file not going to be
written over every few days with updates?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20091208/c1c5754a/attachment.htm>


More information about the mythtv-users mailing list