Forums > Jitter

using addtrack message with jit.qt.movie

January 10, 2013 | 10:15 pm

I’m attempting to add an audio track to a video using the addtrack message but am not having any luck. Thus far I’ve tried "addtrack x.mp4", "addtrack sound x.mp4", "addtrack music x.mp4" and "addtrack mpeg x.mp4". This seems like it should be relatively easy, am I missing something here? Thanks!


January 10, 2013 | 11:36 pm

I realized that I was using the incorrect syntax – that "addtrack sound" seems to be the correct first step (when I use "gettrackinfo" message I then see the empty track), but how would I insert the audio from here? I’ve been trying the insert message, however no luck yet. Any pointers?


January 11, 2013 | 1:49 am

OK I think I’ve got it sorted – instead of "addtrack" I’m now using "paste" w/ -1 as the destination track (which adds a new track) but unfortunately it only works if I include time/duration indicators (ex. "paste 1.aiff track 1 0 11071 track -1 0 11132") – wish these were optional.


Viewing 3 posts - 1 through 3 (of 3 total)