I have some .mp4 files that I would like to play using Matlab-the video plays fine but the sound is not extracted from the file using VideoReader-is there any way to do this?
29 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Stephen Forczyk
el 3 de Jul. de 2018
Comentada: Walter Roberson
el 21 de En. de 2019
I have some video files created using a camcorder and an iPhone that I would like to use in Matlab itself. I can extract the video just fine using the VideoReader and VideoWriter functions and playback using the built in movie function. However the VideoReader does not get the sound from the file so I can not playback sound. Is there anyway to retrieve and playback both the video and sound in today's versions of Matlab
0 comentarios
Respuesta aceptada
Walter Roberson
el 3 de Jul. de 2018
https://www.mathworks.com/help/vision/ref/vision.videofilereader-system-object.html vision.VideoFileReader() is the only Mathworks routine that can do that.
2 comentarios
Brett Shoelson
el 20 de En. de 2019
Please try AVPlay, on the File Exchange:
Cheers,
Brett
Más respuestas (0)
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!