How can I add new codecs for matlab?

折月煮酒 提交于 2019-12-10 14:44:22

问题


Is there any way to load new codecs for matlab? It only supports basic codecs and filters. I need to use uncompperessed videos in matlab


回答1:


On Linux, you can use all GStreamer plugins.

On Windows, you can use DirectShow codecs, including ffdshow. Alternatively, you can use ffmpeg to transcode video or write the frames of a video into a series of images.




回答2:


The short answer is NO, you cannot add new codecs. I presume you wish to use these codecs with the Matlab functions avifile and addframe etc. Matlab only supports a very limited and outdated set of codecs.

To get MPEG encoding you could try mpgwrite and mpgread on The Mathworks file exchange. Or for further information see this support link.



来源:https://stackoverflow.com/questions/9002573/how-can-i-add-new-codecs-for-matlab

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!