Convert Video to lower quality file
조회 수: 7 (최근 30일)
이전 댓글 표시
I would like to convert a videofile to a lower quality format. Would VideoWriter() work? Would I use VideoReader() first to point to the correct file, then use VideoReader() to write it in a different quality?
댓글 수: 0
답변 (2개)
Benjamin Thompson
2022년 8월 15일
You use VideoWriter to write out to an output video, like in this example:
https://www.mathworks.com/help/matlab/import_export/convert-between-image-sequences-and-video.html
VideoWriter accepts parameters to change the output file type and other qualify parameters.
댓글 수: 0
Image Analyst
2022년 8월 15일
See attached demo where I change the pixel resolution of the displayed video and save it as a new, lower resolution video.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!