Shift in lines when creating videos using VideoWriter

조회 수: 6 (최근 30일)
Zheng
Zheng 2024년 3월 13일
댓글: Walter Roberson 2024년 3월 16일
I'm using VideoReader to read a mp4 video, insert a few shapes and annotations, then use VideoWriter to write a new video file. The script was working fine with matlab 2023a on an intel macbook pro. After I switch to matlab 2023b on a macbook with m3 chip, the script stop working. The video geneerated shows weird shift in lines below:
I did notice if I change the file type for VideoWriter from 'MPEG-4' to 'Uncompressed AVI", it can work. But the file size is gigantic.
Can someone help please? Thank you so much!

답변 (1개)

Walter Roberson
Walter Roberson 2024년 3월 13일
This is a known problem in R2023b for the Apple Silicon
Possibly it only happens when you only write a single frame to the movie; I am not sure about that.
  댓글 수: 2
Zheng
Zheng 2024년 3월 16일
Thanks for the answer. Any chance you might know when this known problem will be solved?
Walter Roberson
Walter Roberson 2024년 3월 16일
Sorry, I have no information as to when the problem will be solved.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by