Compressed .avi file with both audio and video

3 visualizaciones (últimos 30 días)
Andreas
Andreas el 28 de Mayo de 2014
Comentada: Image Analyst el 29 de Mayo de 2014
Hello
I have tried creating a compressed .avi file with both audio and video, using videowriter and vision.videofilewriter, but it seems impossible.
I'm using MATLAB 2014a on Mac OS X Lion.
Any help would be appreciated
  3 comentarios
Andreas
Andreas el 28 de Mayo de 2014
You can use either VideoWriter with getframe and writeVideo, or vision.VideoFileWriter with getframe and step.
The compression method can be set from the property VideoCompressionMethod. When the method is not 'None (uncompressed)' no sound can be added in the case of Vision.VideoFileWriter. In the case of VideoWriter I don't see in the beginning any possibility of sound at all...
Image Analyst
Image Analyst el 29 de Mayo de 2014
I've never added audio to my movies so I can't help you. I'd like to know for future reference though.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by