title: videoFileReader errors with Matlab+Ubuntu
body: <p>I'm using Matlab R2013a, Ubuntu 64 12.04</p>
  
  <p>I am trying to read a video file like this:</p>
  
  <p><code>ipVidObj = vision.VideoFileReader(fullFileName);</code></p>
  
  <p>where fullFileName is a path+filename to a .mp4 file</p>
  
  <p>NOTE: On Windows, the above line works fine. </p>
  
  <p>But on Ubuntu, the following happens:
  The above line works sometimes and fails most of the times. 
  The first 2 lines of error thats given on the matlab console is this:</p>
  
  <pre><code>Error using coder.internal.errorIf (line 9)
  Unable to read video from the file. Use dsp.AudioFileReader to read audio content.
  </code></pre>
  
  <p>(Its a long error. Let me know if you want me to paste the whole thing)</p>
  
  <p>I searched around and it looks like this occurs because I might not have gstreamer. But, I do... I have gstreamer1.0 installed. If I install gstreamer0.10, then the same line failes ALWAYS and crashes matlab with the following error:</p>
  
  <pre><code>      DtsGetHWFeatures: Create File Failed
        DtsGetHWFeatures: Create File Failed
        Running DIL (3.22.0) Version
        DtsDeviceOpen: Opening HW in mode 0
        DtsDeviceOpen: Create File Failed
        DtsGetHWFeatures: Create File Failed
        Running DIL (3.22.0) Version
        DtsDeviceOpen: Opening HW in mode 0
        DtsDeviceOpen: Create File Failed
        libva: VA-API version 0.32.0
        Xlib:  extension "XFree86-DRI" missing on display ":0".
        libva: va_getDriverName() returns 0
        libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
        libva: va_openDriver() returns -1
        Killed
  </code></pre>
  
  <p>I hope some1 has come across this earlier... </p>