I'm using the VideoReader function on matlab and was wondering why changing the Current Time takes so much time?

2 次查看(过去 30 天)
I'm creating a code that starts off by reading in a video, asking the user the number of frames they would like, and creating a vector frametime = linspace(0, V.Duration, N+1). In a for loop with index 1:N, I make V.CurrentTime=frametime(k). This process, however, takes a lot more time than I thought it would. Why does it take so long? What exactly is happening when you write in a new current time?

回答(1 个)

Mathieu
Mathieu 2024-12-4
I have the same question ! Sometime it's quick, sometime not...
I'm working with 2024b on Apple M3 ... since using Apple chip Matlab is very wrong...

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by