When I try to read a video with the VideoReader
object it gives the following error
Error using VideoReader/init (line 429)
The file requires the following codec(s) to be installed on your system:
video/x-h264
Has anyone seen this problem before?
By the way, I installed all the Gstream libraries and codes as well as the x-h264 codec.
If you can play the videos with VLC player, then the following worked for me:
As a workaround you can run MATLAB on the version of libstdc++ installed on your system:
cd to (matlabroot)/sys/os/glnxa64/
Rename libstdc++.so.6 to backuplibstdc++.so.6
Rename libstdc++.so.6.0.10 to backuplibstdc++.so.6.0.10
Restart MATLAB and execute the code again.
The steps are from this link: http://uk.mathworks.com/matlabcentral/answers/94531-why-do-i-receive-an-error-when-creating-a-videoreader-object-on-linux-in-matlab-r2010b-7-11