Newer versions of some gstreamer plugins require a later version of libstdc++ than the one which is shipped with MATLAB.
As a workaround you can run MATLAB on the version of libstdc++ installed on your system:
1. cd to (matlabroot)/sys/os/glnxa64/
2. Rename libstdc++.so.6 to backuplibstdc++.so.6
3. Rename libstdc++.so.6.0.10 to backuplibstdc++.so.6.0.10
4. Restart MATLAB and execute the code again.