Compressed .avi file with both audio and video

1 次查看(过去 30 天)
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 个评论
Andreas
Andreas 2014-5-28
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 2014-5-29
I've never added audio to my movies so I can't help you. I'd like to know for future reference though.

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by