using addtrack message with jit.qt.movie

Jan 10, 2013 at 10:15pm

using addtrack message with jit.qt.movie

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!

#66001
Jan 10, 2013 at 11:36pm

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?

#237646
Jan 11, 2013 at 1:49am

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.

#237647

You must be logged in to reply to this topic.