DSPRelated.com
Forums

MPEG movies with sound

Started by Rune Allnor August 10, 2004
Hi all. 

I have used MPGWRITE with some success to make small MPEG movies from 
data I manipulate and plot with matlab. 

Now I want to put a sound track with the movie, but have a very vague 
recollection of having seen somewhere (I can't find any mention of it 
now) that MPGWRITE does not handle sound tracks at all. 

So my question is if there is any code available anywhere to generate 
MPEG movies from sequences of matlab plots, that also can handle sound 
tracks.

Rune
Hi Rune,

The new Video and Image Processing Blockset (Simulink product) has a "To
Multimedia File" block that accepts video, audio, or video and audio
together, and saves to an AVI file.  You can also use various compression
codecs to make the file smaller...

It's the only way that I know of to take audio and video data in
MATLAB/Simulink and save it to a portable file format.

HTH,

Brian

"Rune Allnor" <allnor@tele.ntnu.no> wrote in message
news:f56893ae.0408092018.357d034@posting.google.com...
> Hi all. > > I have used MPGWRITE with some success to make small MPEG movies from > data I manipulate and plot with matlab. > > Now I want to put a sound track with the movie, but have a very vague > recollection of having seen somewhere (I can't find any mention of it > now) that MPGWRITE does not handle sound tracks at all. > > So my question is if there is any code available anywhere to generate > MPEG movies from sequences of matlab plots, that also can handle sound > tracks. > > Rune
"Rune Allnor" <allnor@tele.ntnu.no> wrote in message
news:f56893ae.0408092018.357d034@posting.google.com...
> > I have used MPGWRITE with some success to make small MPEG movies from > data I manipulate and plot with matlab. > > Now I want to put a sound track with the movie, but have a very vague > recollection of having seen somewhere (I can't find any mention of it > now) that MPGWRITE does not handle sound tracks at all. > > So my question is if there is any code available anywhere to generate > MPEG movies from sequences of matlab plots, that also can handle sound > tracks.
I don't know about software to create the movie with sound directly, but I do know of freeware software to take MPEG movie files and add sound tracks: http://www.tmpgenc.net/ http://www.virtualdub.com