Truncated VideoReader width value when reading .mov files
4 views (last 30 days)
Show older comments
I am getting a consistently truncated video pixel width value when reading in my .mov files into my script using VideoReader(). This is a new issue that showed up when i started using a macbook with M3 chip (this was not an issue on my intel chip mac). The video file info description says that the dimensions are 720x480, however the return dimensions from VideoReader() say the dimensions are 640x480. Displaying a video frame confirms that part of my image is cut off on the right side.
Any help or explanation is appreciated, thanks!
2 Comments
DGM
on 12 Sep 2024
Is this a change in how your new computer decodes the same files, or is this a change in how your new computer is encoding new files?
Answers (1)
Samay Sagar
on 17 Sep 2024
I have also faced a similar issue in the past when reading videos using "VideoReader" on MacOS 14. A possible cause of this problem is the codec used by the video file. However, I have verified that the issue no longer occurs in MATLAB R2024b. You can consider upgrading to the latest version of MATLAB to resolve this issue.
If the issue persists, you can reach out to the MathWorks support team at https://www.mathworks.com/support/contact_us.html
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!