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

B. Rosenstock barry253 at gmail.com
Tue Dec 8 23:21:39 UTC 2009


On Tue, Dec 8, 2009 at 6:18 PM, Joe Wilson <wilson.joe at gmail.com> wrote:
>> 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?

As no one replied to my post for over a day, I thought no one else but
myself was trying to play/download mkv files through mythweb.

However, I'll put together the patch for this and other missing filetypes.

Barry


More information about the mythtv-users mailing list