How to open H.264/AVC format in matlab

Hello everybody! I am running a program on Matlab 2014a(8.3.0.532) 64 bit on windows 8.1. I am using H.264/AVC QCIF format with .y4m extention. when I read this video using vision.videoReader it gives me error as
videoFReader = vision.VideoFileReader('container_qcif.y4m');
Error using dspmmfileinfo>tryVideoReader (line 278) Unable to determine the codec required. The specified file is: C:\Users\Dhananjay\Documents\MATLAB\container_qcif.y4m Error in dspmmfileinfo>getFileInfo (line 137) [hasAudio,hasVideo,videoFPSComputed,videoFramesPerSecond, ... Error in dspmmfileinfo (line 40) cache.fileInfo(index) = {getFileInfo(filename)}; Error in vision.VideoFileReader/setFileInfoProps (line 349) Error in vision.VideoFileReader/set.Filename (line 150) Error in matlab.system.SystemProp/parseInputs (line 871) Error in matlab.system.SystemProp/sysObjSetProperties (line 294) Error in vision.VideoFileReader (line 133)

Answers (0)

Asked:

on 15 Dec 2014

Community Treasure Hunt

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

Start Hunting!