Change frame rate of video file
335 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Katrina German
el 10 de Mayo de 2021
Comentada: Reinhold Erwin Suchowitzky Toba
el 27 de Mzo. de 2023
I have a video file but videoReader doesn't allow frame rate change. I think i have to rewrite each of the frames in a loop to change the rate but don't know how to do that. if anyone has any suggestions thanks in advance
0 comentarios
Respuestas (1)
Stephan
el 10 de Mayo de 2021
Editada: Stephan
el 10 de Mayo de 2021
You are fully right. First read all the frames using the read command for VideoReader. Then make a VideoWriter object and use the FrameRate property to set the frame rate you need and then write the video file using writeVideo. If you read the documentation and follow the examples given there it is quite easy to do this.
1 comentario
Ver también
Categorías
Más información sobre Audio and Video Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!