use this for audio:
video.MultimediaFileReader(videofilename,'AudioOutputPort',true,'VideoOutputPort',false);
and use this for video:
video.MultimediaFileReader(videofilename,'AudioOutputPort',false,'VideoOutputPort',true);
Question
Can anyone tell me how I can read audio and video parts of video file as separate file ? I need to have sampling rate and audio sample from a video file. Thanks.
La solution
use this for audio:
video.MultimediaFileReader(videofilename,'AudioOutputPort',true,'VideoOutputPort',false);
and use this for video:
video.MultimediaFileReader(videofilename,'AudioOutputPort',false,'VideoOutputPort',true);