How to convert captured frames from webcam into avi format with 20fps.
조회 수: 1 (최근 30일)
이전 댓글 표시
I've tried a lot of things but got some error in anyway. Can you please guide me through?
댓글 수: 0
채택된 답변
YT
2019년 2월 6일
편집: YT
2019년 2월 6일
Well you stated that you've tried a lot of things, but you didn't provide any code with it so that's not really helpfull. I suggest taking a look at how to acquire images from your webcam and after that it should not be that hard to create a video using VideoWriter. Hint: create a for-loop/while statement to continuously capture images from your webcam.
댓글 수: 4
YT
2019년 2월 6일
Well I suggest to use VideoWriter instead of movie2avi because according to the release notes it was removed after R2016b. If you still insist on using movie2avi, please read itsdocumentation. There's an example given and explanation on how to set the framerate.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!