Truncated VideoReader width value when reading .mov files

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
DGM
DGM il 12 Set 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?
Alexandra Crawford
Alexandra Crawford il 13 Set 2024
not sure to be honest. If i take a look at the file information for the video on my new computer in finder, the correct pixel dimensions show up. Its the return from the matlab function that provides the incorrect width dimension.

Accedi per commentare.

Risposte (1)

Samay Sagar
Samay Sagar il 17 Set 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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by