GNOME Bugzilla – Bug 332550
video/x-msvideo not supported
Last modified: 2007-03-05 18:03:49 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/totem/+bug/32452 "video/x-msvideo is a common MIME type for AVIs, and the plugin doesn't support it .. > Thanks for your bug. Do you have any example of page with a such video? What version of Ubuntu do you use? Do you have gstreamer(0.10)-ffmpeg installed? ... Example page is http://www.chipx86.com/blog/?p=155 with the mpeg4 item linked there (http://david.navi.cx/tmp/tagging-ui-mpeg4.avi). I'm using a horrifically mixed up system, but the package in question is from dapper (version: 1.3.91-0ubuntu1). I didn't have gstreamer0.10-ffmpeg installed, but I do now, and it doesn't appear to have changed anything. ... It works for me with newest totem and gstreamer0.10-ffmpeg installed so it's only a missing mimetype in the plugin or something... ... Just downloaded the source to the totem package, and the file src/totem-mozilla-plugin.cpp has a mime_types array defined at line 622. I think it just needs to add a line to that. Notably, video/x-msvideo is already listed as the backup description for the application/x-mplayer2 type, but this doesn't actually help things...."
The mozilla plugin aims to only support embedded media, not stand-alone ones (see bug 314370). If you can give me an example of an embedded media that uses video/x-msvideo, I'll make sure to add it, otherwise, well, not.
(Reporter of the original bug on launchpad) I'm wondering why video/mpeg is listed, but not video/x-msvideo. For some of the other mime types (application/x-google-vlc-plugin for example) they are definately plugin types, but for most video mime types, they are probably being used as both browser displayable *and* download types, and the use of such will vary from website to website. Maybe there needs to be some easy way in the plugin interface to save a file, or possibly to allow a configuration interface somewhere so that users can say if they want to default to saving or displaying?
The problem you're mentioning is bug #314370. We don't want people to use the Totem plugin when they should be downloading the file, or playing it in Totem itself. video/mpeg is listed because there are embedded videos with this type on the web. Unless you have an example of usage of video/x-msvideo as an embedded type, I'll close this bug, and refer you to bug #314370.
In gallery2 (http://gallery.menalto.com/) you can add movies to an album, it generates thumbnails with ffmpeg and i think it is supposed that you can watch the videos in your browser too. Gallery2 generates a page with <div class="gallery-photo"> <object classid="CLSID:05589FA1-C356-11CE-BF01-00AA0055595A" width="320" height="290" id="movie"> <param name="ShowDisplay" value="0"/> <param name="ShowControls" value="1"/> <param name="AutoStart" value="1"/> <param name="AutoRewind" value="-1"/> <param name="Volume" value="0"/> <param name="FileName" value="http://192.168.0.254/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=23431&g2_serialNumber=1"/> <embed src="http://192.168.0.254/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=23431&g2_serialNumber=1" width="320" height="290" type="video/x-msvideo" controller="true" autoplay="true" loop="false"/> <noembed><a href="http://192.168.0.254/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=23431"> Film herunterladen </a></noembed> </object> </div>
Maybe you can assign a bug to mozilla, to display the link inside <noembed> if no plugin can handle this MIME, but right now it displays "Click here to download the plugin" - Button.
2006-08-12 Bastien Nocera <hadess@hadess.net> * browser-plugin/totemGMPPlugin.cpp: Add video/x-msvideo as a supported mime-type for the GMP plugin, and break people's setups some more (Closes: #332550)
Just FYI, I think <noembed> support is covered by https://bugzilla.mozilla.org/show_bug.cgi?id=309528