New topic: [QT..MBS] Adding Audio Track ?
<http://forums.realsoftware.com/viewtopic.php?t=46920> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message grabiller Post subject: [QT..MBS] Adding Audio Track ?Posted: Tue Feb 12, 2013 9:01 am Joined: Sun Nov 15, 2009 10:56 am Posts: 110 Location: Rogny-Les-Sept-Ecluses (89), FRANCE Hello, So far I'm able to create a Quicktime Movie from scratch, add an image sequence to it and encode/save it by choosing the right codec. I'm using something as simple as: Dim oPic As Picture Dim oQTMov As EditableMovie = oQT.CreateMovie() Dim oQTTrack As New QTPictureMovieTrackMBS() oQTTrack.CompressionCodec = "rle " ' or jpeg, etc.. oQTTrack.FrameDuration = 1.0/24.0 ' 24 fps; oQTTrack.Depth = 24 ' no alpha If oQTTrack.CreateTrack( oQTMov, 1280, 720 ) Then ' I'm loading a sequence of images and for each image I do: oQTTrack.AddPicture( oPic ) ' Once all images have been added: oQTTrack.CloseTrack() End If This is working perfectly well. But now I have to add audio to my movie files. I have *.wav files each with the exact same length of each image sequence. Could someone be kind enough to explain to me, from the code above, how could I add the audio to each image sequence track. Also, how then do I add several image sequences with audio into one movie file ? Thanks a lot in advance. Cheers, Guy. _________________ guy rabiller | raa.tel | radfac founder/ceo Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
