Compressed .avi file with both audio and video

3 vues (au cours des 30 derniers jours)
Andreas
Andreas le 28 Mai 2014
Commenté : Image Analyst le 29 Mai 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 commentaires
Andreas
Andreas le 28 Mai 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 le 29 Mai 2014
I've never added audio to my movies so I can't help you. I'd like to know for future reference though.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by