Discussion:
Edit avi files (keep audio)
(too old to reply)
Bert
2010-04-11 08:46:03 UTC
Permalink
Hello,

I have a question about editing an avi file in matlab. I managed to read in the avi-file (the video data), edit it, and write it back to another avi-file. The problem is, the audio data is lost...
So my question is, how can I extract the audio data from an avi, and how to store it with the video data when writing it back to an avi-file after editing.

I hope someone can help me with this!

Bert
w***@mathworks.com
2010-04-12 11:52:21 UTC
Permalink
Hi Bert,

System objects from the Video and Image Processing blockset are capable of reading and writing AVI files
including the audio.

See the following pages:

http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/video.multimediafilereaderclass.html
http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/video.multimediafilewriterclass.html

HTH,

Witek
Post by Bert
Hello,
I have a question about editing an avi file in matlab. I managed to read in the avi-file (the video data), edit it, and write it back to another avi-file. The problem is, the audio data is lost...
So my question is, how can I extract the audio data from an avi, and how to store it with the video data when writing it back to an avi-file after editing.
I hope someone can help me with this!
Bert
Estelle Back
2015-04-29 14:38:32 UTC
Permalink
Post by Bert
Hello,
I have a question about editing an avi file in matlab. I managed to read in the avi-file (the video data), edit it, and write it back to another avi-file. The problem is, the audio data is lost...
So my question is, how can I extract the audio data from an avi, and how to store it with the video data when writing it back to an avi-file after editing.
I hope someone can help me with this!
Bert
I know another way to edit AVI file at: http://www.faasoft.com/articles/avi-editor-mac-and-windows.html

It can help you extract audio data from AVI file and afer editing AVI, it also supports adding the extracted audio data to AVI file.

It also applies to edit AVI file in many aspects like cut, crop, rotate, compress, merge, split, etc.
Bruce Lee
2016-01-08 10:40:02 UTC
Permalink
Post by Bert
Hello,
I have a question about editing an avi file in matlab. I managed to read in the avi-file (the video data), edit it, and write it back to another avi-file. The problem is, the audio data is lost...
So my question is, how can I extract the audio data from an avi, and how to store it with the video data when writing it back to an avi-file after editing.
I hope someone can help me with this!
Bert
Indeed, it is easy to extract audio from videos. There has too many ways to do it. But for the normal computer user like us, I introduce some easy ways according to my own experience.

1. Windows Media Player - If your OS is Windows, then you should have Windows Media Player. This one is not just a media player. It supports to convert audio files out while users are playing some video. Even the supported video formats are limited (ASF, AVI,MPEG-1,MPEG-2), it still facilitate users a lot. So, get familiar with the affiliated tools of your OS, you can easy to extract audio files.

2. Video to Audio Converter - The other way is to use some conversion software. After you download the video, you can use video to audio converter to extracting audio from the video. I think this way is widely used. Then I will introduce how to extracting audio with conversion software.

Learn more here: http://www.videoconverterfactory.com/tips/how-to-extracting-audio-from-video.html
s***@gmail.com
2020-08-14 10:08:29 UTC
Permalink
You might as well try Joyoshare Media Cutter. Available for both Windows and Mac, it's a professional video editor, which not only helps you to edit your AVI files without any hassle but also extract audio from AVI without quality loss.
Learn from https://www.joyoshare.com/video-cutting/extract-audio-from-avi.html
Loading...