doclivingston
May 2nd, 2005, 09:00 AM
Recently I discovered a library called Pitfdll (http://ronald.bitfreak.net/pitfdll.php) which lets GStreamer use .dll files for codecs. This will let you use (some of) the codecs found in the w32codecs package, without having to install totem-xine.
Currently it only supports Windows Media Video 9 (wmv3), QDesign Music 2 (qdm2) and Intel Indeo 5 (iv50), but hopefully it will support more inthe future. I've tested some random WMV clips I had around as well as the Serenity Trailer (http://www.apple.com/trailers/universal/serenity/) (which uses qdm2) - and all worked very well.
Currently I don't know of any .debs around which you can install, so you will have to compile it yourself. On to the instructions:
First you will need to have the dependencies installed, the GStreamer development packages, and w32codecs.
sudo apt-get install libgstreamer0.8-dev w32codecs
Next download the source tarball(http://prdownloads.sourceforge.net/pitfdll/pitfdll-0.8.1.tar.bz2?download), and extract it somewhere. The do the usual ./configure --prefix=/usr && make && sudo make install
Repeating - you *must* have already install w32codecs _before_ you compile it. It will compile and install successfully if you don't, but none of the codecs will work.
Once that has been done you need to run gst-register-0.8 and then you should be able to view movies with totem-gstreamer that you couldn't before.
Currently it only supports Windows Media Video 9 (wmv3), QDesign Music 2 (qdm2) and Intel Indeo 5 (iv50), but hopefully it will support more inthe future. I've tested some random WMV clips I had around as well as the Serenity Trailer (http://www.apple.com/trailers/universal/serenity/) (which uses qdm2) - and all worked very well.
Currently I don't know of any .debs around which you can install, so you will have to compile it yourself. On to the instructions:
First you will need to have the dependencies installed, the GStreamer development packages, and w32codecs.
sudo apt-get install libgstreamer0.8-dev w32codecs
Next download the source tarball(http://prdownloads.sourceforge.net/pitfdll/pitfdll-0.8.1.tar.bz2?download), and extract it somewhere. The do the usual ./configure --prefix=/usr && make && sudo make install
Repeating - you *must* have already install w32codecs _before_ you compile it. It will compile and install successfully if you don't, but none of the codecs will work.
Once that has been done you need to run gst-register-0.8 and then you should be able to view movies with totem-gstreamer that you couldn't before.