codec error when using Matlab in Linux

1 次查看(过去 30 天)
Dear all, I am using Matlab on Linux. I am getting the following error:
ErrorMessage : The file requires the following codec(s) to be installed on your system: video/x-xvid
Any idea,and help regarding solving this issue is really appreciated.
  1 个评论
Hao Yang
Hao Yang 2016-3-11
编辑:Hao Yang 2016-3-11
Hi, saharsahar : I have encountered this problem same as you. Then I install the ffmpeg as well xvid video decoder, and the ffmpeg can decode videos using command line, but the matlab still reports the same error like before.How can you solver your problem. Thanks for any clue! My email is yanghao2014@ia.ac.cn

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2012-2-29
You need an Xvid compatible program. This is something outside the control of MathWorks.
There might already be a program available for your Linux distribution. You can also look at http://www.xvid.org/Downloads.15.0.html which has links to Debian and SuSE configured versions.
Warning: Xvid uses technology that is patented by software patents, and so in some countries use of Xvid could be a legal violation. USA is one country that recognizes the concept of Software Patents. (Canada wavers on the matter.)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by