문제

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.

도움이 되었습니까?

해결책

use this for audio:

video.MultimediaFileReader(videofilename,'AudioOutputPort',true,'VideoOutputPort',false);

and use this for video:

video.MultimediaFileReader(videofilename,'AudioOutputPort',false,'VideoOutputPort',true);
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top