26

I have tried vlc, Banshee and Totem but none of them recognize the webm format. Even the system does not recognize its mime-type. How do I play it ?

Lincity
  • 25,371

5 Answers5

21

You will have add the PPA ppa:gstreamer-developers/ppa

To do that

  • Open Update Manager.
  • Click on Settings.
  • Go to 'Other Software' Tab.
  • Click 'Add'
  • Paste ppa:gstreamer-developers/ppa and click add source.
  • Click close , Reload when asked.
  • Install Updates.

Now you can view webm in the default media player(totem) .

Additionally if you want to make it automatically open in totem,right click and select open with other application and select Movie Player and tick 'Remember this application for webm documents'

Source


Same via the command line:

sudo add-apt-repository ppa:gstreamer-developers/ppa
sudo apt-get update && sudo apt-get upgrade
# fixing a weird gstreamer installation error
sudo apt-get -f install

# now "totem <your .webm file>" will do the right thing )

Source

omnidan
  • 2,045
6

Firefox 4 and Chromium will play it.

daithib8
  • 3,351
  • 1
    only if you have the codecs for webm installed. Firefox and Chromium don't play it out of the box on some versions of ubuntu . For example ubuntu powerpc and I think in ubuntu for arm , firefox does not play webm videos – Joshua Robison Apr 11 '13 at 10:50
2

VLC

sudo add-apt-repository ppa:n-muench/vlc
sudo apt-get update
sudo apt-get install vlc 

It runs almost every format, haven't used a format that it could not use.

From VLC 1.1.0 release log:

Support for WebM decoding and encoding

jaorizabal
  • 3,748
2

This is not a real solution i guess, but you can rename it to .mkv as it is based on matroska and most media players should be able to play it "as is" provided that you have all the necessary decoders, demuxers etc. for the included media streams already installed.

There used to be occasions where a player didn't recognize or accept the file extension, while it could open it and play back the content after it was renamed to .mkv though.

-2

I simply right clicked on the icon, selected "open with" and found msplayer. Clicked on Msplayer and the video went on like a charm

Rick
  • 1