How can i read mjpeg video?
이전 댓글 표시
Hello, I'm struggling with reading mp4 files.
I firstly had an error using VideoReader to read my video file(.mp4). After i downloaded Windows Media Codec, I don't get the error message. But the Numframe is empty.
Filename = 'world.mp4';
vid = VideoReader(Filename)
vid =
VideoReader - 속성 있음:
일반 속성(general):
Name: 'world.mp4'
Path: 'C:\Users\Lee\Desktop\Content\VD\code'
Duration: 180.3010
CurrentTime: 180.3010
NumFrames: <계산 중(calculating)...> 자세히 알아보기
비디오 속성(video):
Width: 1280
Height: 720
FrameRate: 59.9402
BitsPerPixel: 24
VideoFormat: 'RGB24'
So I used
info = mmfileinfo('world.mp4')
and it says that the video format is 'mp4v' and i haven't heared of this.(I guess that this video is Motion JPEG, but i am not sure)
Which code should i use to decode mjpeg video? ( or if i have to use ffmpeg, can you please tell me what should i do?)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Video Formats and Interfaces에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!