Error using VideoReader/init (line 450) - matlab

I tried this:
http://in.mathworks.com/help/matlab/ref/videoreader.html
after following this:
Matlab: Error using VideoFileReader/setup
I am still getting the error:
"Error using VideoReader/init (line 450)
The file requires the following codec(s)
to be installed on your system:
video/x-msmpeg
Error in VideoReader (line 147)
obj.init(fileName);"
So, I did this:
sudo apt-get install libav-tools
but, I am still getting the same error
please help me in resolving either of the errors

The MIME type video/x-msmpeg stands for Microsoft MPEG. If you are running Linux, I highly doubt these codecs are installed on your computer out of the box. However, you can try using the ubuntu-restricted-extras package through apt-get.
In the terminal and assuming you are using Ubuntu, type in the following:
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg gstreamer0.10-ffmpeg libavcodec-extra-53 libavcodec53
sudo apt-get ubuntu-restricted-extras
This should hopefully install what you need. See here for more details: https://askubuntu.com/questions/214421/how-to-install-the-mpeg-4-aac-decoder-and-the-h-264-decoder

Related

OSM vector map error while installing osm localization extention

When setting up vector OSM map extension and used this command,
sudo apt-get -y install ./postgresql--osml10n__amd64.deb,
I got following error
E: Unsupported file ../postgresqlosmll0namd64.deb given on commandline
Please help to resolve this error

Error encountered while processing debian mongo packages

I uninstalled mongo from my ubuntu and tried to install it again but getting below error now
Errors were encountered while processing:
/var/cache/apt/archives/mongodb-org-server_4.2.7_amd64.deb
/var/cache/apt/archives/mongodb-org-mongos_4.2.7_amd64.deb
/var/cache/apt/archives/mongodb-org-tools_4.2.7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I follwed below mentioned link to install mongo again-
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
Can anybody help me out with this?
You can force the installation package and resume it again.
sudo dpkg -i --force-all /var/cache/apt/archives/mongodb-org-tools_4.2.7_amd64.deb
sudo apt-get install -f

unable to install jd-gui on ubuntu 16.04,64 bit machine

Getting following error:
error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Already tried installing using below cmd:
sudo apt-get install ia32-libs-gtk
Getting error for this too:E: Unable to locate package ia32-libs-gtk
Seems you need to install x86 version:
sudo apt-get install libgtk2.0-0:i386

Unable to install libgtk2.0-dev on Raspberry Pi

After I type and enter the following code it will give an error saying "Unable to fetch some archives, maybe run apt-get update or try with --fix-mixing?"
$ sudo apt-get install libgtk2.0-dev
Please tell me a solution to solve this problem.
Thanks
Solved it by entering the command below in the terminal:
sudo apt-get

Compiling Sphinx with iPython doc error "AttributeError: 'str' object has no attribute 'worksheets'"

When compiling documentation using Sphinx, I got the error AttributeError: 'str' object has no attribute 'worksheets'. How do I fix this?
You're getting the error because you don't have the most recent iPython installed. You probably installed it with sudo apt-get install ipython, but you should upgrade using sudo pip install ipython --upgrade and then making sure that the previous installation was removed by running sudo apt-get remove ipython.