3

Is it possible to watch imm4 codec encoded videos in Ubuntu?

Jorge Castro
  • 73,717

1 Answers1

2

The imm4 codec is a restricted codec - covered by patents, so for some countries you should check if you are covered to run this decoder.

note I've tested this on 11.10

Install the restricted Medibuntu repository:

sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

Now install mplayer and w32codecs

sudo apt-get install mplayer w32codecs

Now the important part - mplayer is coded to look for the windows DLL VCMIMM4.dll, however, medibuntu installs a lowercase version that mplayer would not recognised out-of-the-box. Thus to fix this, create a VCMIMM4.dll file in the codecs folder.

sudo ln -s /usr/lib/codecs/vcmimm4.dll /usr/lib/codecs/VCMIMM4.dll

Now play your video - e.g.

mplayer http://samples.mplayerhq.hu/V-codecs/IMM4/200707170736151.avi

enter image description here

fossfreedom
  • 174,526