Movie Playing multiple audio tracks & echoing

I have a movie that is in a symbol that i want to play after a set amount of time by using setInterval. The function works - but when it shows the symbol and plays - it plays multiple audio tracks at the same time - sounding like an echo and or a 1-2 second delay on the same audio track. It also seems the audio starts playing on the main root without actually triggering the playhead of the video symbol.
Following is the code i am using for both timer and the video. Any pointers?
// interval
         var timer = setInterval(onTimer,10000);
         var mysymbol = sym.getSymbol("btn1_video");
         // function
         function onTimer() {
            // clear last interval
            clearInterval(timer);
            // action
            sym.$("btn1_video").show();
//and on on the movie symbol timeline trigger:
var vid = $("<video width='818' height='460' autoplay='autoplay' preload='auto' controls='controls' id='videoID'>" +
"<source src='video/testvideo.m4v' type='video/mp4' />" +
    "<source src='video/testvideo.webm' type='video/webm' />" +
   "<source src='video/testvideo.ogg' type='video/ogg' />" +
   "This browser is not compatible with HTML 5" +
"</video>");
sym.$("btn1_video").append(vid);

You identified the problem. I thought that you had to highlight the first song to get the playlist going, but all that does is make the first song repeat itself. Thanks for the guidance.

Similar Messages

  • How to play multiple audio tracks simultaneously?

    Hi there,
    I am having problem with playing multiple audio tracks. I want to play 2 or more audio tracks at exact time (without delay) - is it possible? how can it be done?

    So, essentially, you're trying to take a recording of say, a singer and a guitar player, and end up with the singer in one file and the guitar in the other. Got it.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/Merge.html]
    That sample will merge multiple input files into a single file. Because you want to play the files together rather than save them, just take the sample and strip out all of the DataSink stuff, and add the following line right after the Processor "outputProcessor" is realized...
    outputProcessor.setContentDescriptor(null);
    So, it'll make the following revision to the code:
         // Create the output processor
         ProcessorModel outputPM = new MyPMOut(merger);
         try {
             outputProcessor = Manager.createRealizedProcessor(outputPM);
                        outputProcessor.setContentDescriptor(null);
             outputDataSource = outputProcessor.getDataOutput();
         } catch (Exception exc) {
             System.err.println("Failed to create output processor: " + exc);
             System.exit(-1);
         }That'll make the outputProcessor play the file, as if it was a Player object. You won't have any visual controls, but if you need visual controls, then don't do that, and just create a Player object to play the outputDataSource.

  • Can AppleTV play multiple audio tracks in a movie?

    I recently discovered (pretty much by accident) that iTunes and the iPhone supports multiple audio tracks in a single m4v video file. So I've started ripping my DVDs using Handbrake with both the main audio and the commentary track.
    In iTunes and my iPhone I can swop between the two at will, but I cannot find any information on how or if it's possible to switch audio tracks on the AppleTV. Does anybody know?
    I'm using an AppleTV 2 with up to date software and iTunes 7.6.2 set up to sync.

    this same question was asked in the last 2 days (and may even be still listed on page 1).
    http://discussions.apple.com/thread.jspa?threadID=1541440&tstart=15
    however, the answer is no.

  • MPEG-4  ( H.264 ) Movies play ALL audio tracks simultaneously

    In i-Tunes , when I try to play MPEG4's with multiple audio tracks (such as 1-english 2-director comment)both audio tracks play at the same time.
    The files are MPEG-4's created by Nero Recode (AVC – HDTV profile).
    There is no issue with any similar files with one audio track.
    There is no issue playing these in VLC , WMP Mplayer, etc.
    Is there an option to enable i-Tunes to allow me to select only one track?
    Vista Ultimate 64-bit installed on a Core 2 Duo E6600 2.4GHz dual core CPU

    Or, could someone explain how I might be able to view the file information in Terminal?

  • Multiple audio tracks playing at the same time?

    Does the Adobe Elements 12 allow us to have mulitple audio tracks playing at the same time? Is there a limit to the number of tracks?
    Thanks!

    Hi Jennifer3211,
    Yes you can play multiple audio tracks simultaneously. The maximum no. of audio tracks can be 99.
    Thanks

  • Multiple Audio Tracks

    Hey guys,
    My main profession is a composer, although I'm quite comfortable with various video tools as well and have done video production and post professionally for some time.
    often when I compose a piece for a trailer or something, I might have a couple of different versions, or at least a couple of different mixes to A-B on various systems, and show the client.
    Is there a way to have a quick time movie with multiple audio tracks? so that I would be able to switch from track A, to B, to C , etc...?
    I know how to do this for DVD authoring, but I was wondering if there is a way to do this for web and/or other formats, so that I can put the video on my iphone, or ipad and be able to plug it in and show the client option A, B, C, etc... or at least upload a video online and the client can choose the various audio tracks.
    any help would be much appreciated.
    thanks
    David

    Whilst FCP can create QuickTime movies with up to 24 audio tracks (so you could easily have a single video with 12 different stereo mixes) I don't know of any way to actually handle choosing which tracks to monitor other than by doing so directly in the Movie Properties window inside of the QuickTime Player app or similar ... but I'm not a web code monkey so it may possible nonetheless, hopefully some clever clogs will pop by and educate us
    Best
    Andy

  • Multiclips and multiple audio tracks playing at the same time

    I've only just taken delivery of my first ever mac (only ever used PC) with FCP, and I'm loving it already! Done lots of reading and viewing of video etc etc, and it's not as daunting as I thought it might be. I have one question the books don't seem to answer, and I can only find one reference to this on this site, with no definitive response. FCP5 probably doesn't work this way, but just in case someone knows different......
    I film and edit motorsport (karting) programmes for television in the UK, using multiple cameras. I usually lay all the video and audio tracks on the timeline, (synched) lock the audio for each (as it is engine noise, and I want it playing without abrupt changes at cuts as each kart passes each camera, whether in shot or not) then cut the video tracks and delete those video segments not required.
    The most exciting aspect of FCP5 for me is the multiclip editing facility, which I have found very easy to learn and is going to save me hours of work! However, I want to know if there is a way of having each audio track from each camera used in the multiclip laid down on the timeline when you import the multiclip to the timeline from the viewer, in order that I can play each audio track from each of the cameras at the same time.
    I know how to cut from angle to angle, leaving the audio from the selected angle as the one audio track playing, but I want all of the tracks to appear in the timeline and play at the same time. I know there's a bit of a workaround by locking the video and importing each audio track from each clip independently, but if you do have to re-synch one of the multiclips, this means the audio is not then synched with the original clip, which will have had an in point set before being imported in as part of a multiclip.
    I can understand why you might want to keep audio from one camera only playing over the whole multiclip, or to switch between audio from each, but in my case I prefer all audio to play at the same time. The workaround is still do-able for me as I'm only talking about engine notes, which if they are a few frames out is not very noticeable at all, but I would like to know if I'm right in thinking I cannot do it the way I would like to?
    Wish I'd used FCP from the start, but glad I've got it now.....especially with the 30 inch screen! It's 4.40am, been going over 19 hours straight and I'm still making comments like...."WOW, that's brilliant"...every half hour!
    G5   Mac OS X (10.4.3)   Quad, 8gb ram, 2 x G-Media GRaid 500gb Raids, 30 + 20 inch Cinema screens

    ...

  • Snow Leopard iTunes 10.5 will not play multiple video tracks in QuickTime .MOV files

    I recently discovered that Snow Leopard iTunes version 10.5 won't play multiple video tracks in a QuickTime .MOV file.
    Both video tracks appear and play correctly when playing the file in:
    - QuickTime Player 10 or QuickTime Player 7.7 on the same Snow Leopard machine
    - iTunes 10.3.1 on another Snow Leopard machine
    - iTunes 10.5 on Leopard or Windows 7
    So I think the problem is iTunes 10.5 on Snow Leopard (although I haven't been able to test iTunes 10.4).
    First test file is two 640x480 video tracks side-by-side (total dimensions 1280x480):
    http://160.94.17.23/demo/two-video-tracks-1280x480.mov
    All I see is the first (left) video track, and not the right one.  iTunes "Get Info" command incorrectly reports the video dimensions of the file as 640x480.
    Second test file is two 640x480 video tracks played one after another (duration of 10 seconds each):
    http://160.94.17.23/demo/two-video-tracks-640x480.mov
    All I see is the first video track, and although it reports the correct file duration (20 seconds), the second video track never appears -- it simply freezes on the final frame of the first video track for the last 10 seconds.
    Anyone else see similar behavior?  Unless I'm missing something, I suppose I should submit this as a bug to Apple.

    I have the same problem, i tried re-installing, converting it to AVC H264 but none seems to work so far

  • Movies - Multiple audio tracks strange problem

    This is a strange problem.
    I have a .mov with 2 audio tracks. One italian (the first and active) and one english. The movie is compatible with ATV.
    Using QuickTime Pro I can choose the language while watching the movie.
    Using iTunes I see the movie with the first language selected on preferences (cmd+j on QuicTime Pro).
    On ATV the same movie plays just English, the second language, and this is quite strange.
    Does anyone have the same problem?
    Greetings
      Mac OS X (10.4.9)  

    Hmm, I don't really know. I have converted the DVD with 128 kbps for the two audio traks (stereo).Sounds like I need to go back and run additional tests. For my first attempt, I used two stereo tracks -- each 128 Kbps @ 44.1 KHz. For latest test used two mono tracks with the first 64 Kbps @ 44.1 KHz (keyed to English) and the second 32 Kbps @ 32 KHz (keyed to Italian).
    I create a m4v video, I open with QuickTime Pro and work on the preferences for audio traks, than I save with mov extension.Had assumed we were both using similar strategies to create alternate audio movies here. Basically I create the movie with two audio tracks and then open the "Properties" window, select the first audio track (which is already set for English), set the alternate audio track pop-up for Audio Track 2, select the second audio track, set the language pop-up to Italian for this one, and use the Save As... menu option to create a Fast Sart, Standalone movie in the MOV container.
    In this way I have a perfect double-language movie that, as I told, works perfectly on QuickTime and iTunes.Did have one question though. When you say you have a "perfect double-language movie that ... works perfect on QuickTime and iTunes," are you saying you can change the language in iTunes while the movie is playing? While I have no problem changing language using the "Choose language" menu command in the QT player, I have yet to be able to find a way to do this while playing in iTunes.
    UPDATE: to temporally solve the problem I have changed the infos on movie properties. Calling the English audio track "Holland" (or any other language that is listed after Italian) I have solved the problem. On Tv, iTunes and Quicktime I can hear the "default" language (italian) and, just changing again the properties, I cand hear the second language.I think we are doing the same thing only I did not bother/have to use and additial language setting to get this to work.
    In this case Audio Track 2 (Italian) is the default.
    In this case Audio Track 1 (English) is the default.
    Thus, for my test, I created two separate movies with each defaulted differently and played them back in each program/device to see which audio track played. In each case it was the "checked" default audio track and changing the "Language" setting for TV to Italian had no effect.

  • Quicktime movie with 3 audio tracks. Can't select audio track!

    I have a movie containing 3 audio tracks (3 different languages):
    Format: H.264, 720x304, 16,7 Mio
    AAC, Stereo (L R), 48.000 kHz
    AAC, Stereo (L R), 48.000 kHz
    AAC, Stereo (L R), 48.000 kHz
    When I play this movie with Apple Quicktime I hear a mix of all 3 languages at the same time. How can I select each audio track separately. With VLC player (freeware) it works fine.
    Is the selection of the audio tracks a feature of Quicktime Pro or is this a bug in Quicktime?!

    Hello lildog, hello QuickTimeKirk,
    Thank you for your answer. In the meantime I solved this problem. It is caused by the program ”MP4Box” which I used to create the video with the 3 audio tracks. Apple Quicktime and iTunes needs ”very special” header settings inside the mp4 container. A new version of MP4Box with special switches for this case solves the problem. For more details see this thread on the gpac/MP4Box project homepage: http://sourceforge.net/forum/forum.php?threadid=2345177&forumid=287547
    The VLC Player is much more docile with multiple audio tracks.

  • Identifying multiple audio tracks on Apple TV

    I like to add the director's commentary tracks to TV shows and movies I encode for my iTunes library. Until recently, usually I've been able to identify them through my Apple TV by holding down "select" on the remote, going into "audio" and then seeing things like:
    English (Stereo)
    English (Surround)
    English (Commentary)
    but now the same file would show something like:
    English
    English (Surround)
    English
    iTunes still shows the audio track descriptions and I noticed that there is some change in the whether anything at all appears in brackets after the language name when you play around with the Dolby Digital setting in the Options pane on Apple TV, so I'm wondering if I've somehow changed a setting? Can anyone help me out here?

    I've been able to do this by changing the language on the second track to something other than English. I use Quicktime Pro to open the file with multiple audio tracks and hit cmd+J. The screen that comes up shows each of the tracks in the Quicktime file. Click on the 2nd audio track and under one of the property tabs ("other" or "presentation" or something like that)you can choose a different language. Just pick one and save. Add the video to iTunes again and re-sync. Now you should be able to choose "french" (or whatever you designated your second audio to be) when you hold play.
    If that doesn't work, there is one other step but I can't remember if it is necessary: In QT Pro, in addition to changing the language, you may need to assign the 2nd audio track as an "alternate track" to the video. You do that in the "cmd+J" screen as well

  • MP4 - anamorph flag and multiple audio tracks

    So far Quicktime simply ignores the anamorph flag in mp4 video files, making it impossible to backup dvds and converting them for appletv without a very significant loss in resolution and quality. Will there be an update for this issue soon or is it simply not wanted to allow best possible backups? I know the workarround with the quicktime reference movie, but why not implement the mp4 specs correctly and make it all easier for us?
    What about MP4 videos with multiple audio tracks. I'd like to keep english and german audio tracks of my DVDs when converting to appletv. As far as i know appletv doesn't allow a selection of the audio track. Workarround with Quicktime Reference Movie works here es well, saving two Reference Movies with only one audio track enabled, but why not make it easy for us consumers and allow audio track selection on appletv. Will there be an Update?
    Hope to get some answers.

    modelone,
    Thanks for your post. I have been experiencing the same problem of not being able to pass-through export an MP4 file that was encoded with CE-Quicktime profile.
    Your post helped me to discover a workaround that will allow you to set the proper width of an MP4 file that is encoded with CE-Quicktime profile. This method does not require Quicktime Pro, and the corrected file plays properly in Quicktime and Apple TV.
    First, encode the MP4 file using CE-Quicktime profile. Then, open Dumpster and drag the MP4 file into it. Navigate to 'moov', then 'trak', then 'tkhd', then select 'Matrix [a b u]'. There are 3 hexadecimal values for this key. The first number is the transformation matrix that Quicktime and Apple TV uses to determine the correct display aspect. This is the value that is multiplied to the encoded horizontal resolution to derive the horizontal display resolution. For e.g. if the encoded resolution is 720 x 576 and you want it to play back in 1024 x 576, the matrix value is 1024/720 = 1.4222. Change that first number to this correct hexadecimal fractional value and click 'Apply'.
    The patched MP4 file will now play back in correct aspect ratio in Quicktime and Apple TV.
    Hope this helps!

  • Is there a way to get an iPod touch to play one audio track and stop.

    Is there a way to get an iPad to play one audio track and stop.
    I work in education and particularly music. Teachers are looking to create a playlist of selected track but only want the selected track to play then stop.
    This allows them to talk to the class during presentation and not worry about having to stop playback mid discussion.
    I've been successful doing this from appleTVs homeshared to a library by unchecking songs in the playlist. But It would be useful to instructors who have there own media on their device.

    Thanks for a cognative answer TXMark.
    For what its worth to any readers that work in education and would like this play once and stop 'feature'
    I had great success in homeshareing a iTunes library of teaching material and creating topic specific playlist and used apple remote app to control an appletv connected to that homeshared library. As TXMark suggests, uncheck the songs in iTunes and the media will not automatically play the tracks in sequence.
    note: if you have video media that you would like to have in the playlist, be sure its listed as a music video in the options of get info of track. otherwise the apple tv will not see the media in the playlist and will put it in the movies section of the library.

  • Is it possible to retain multiple audio tracks when exporting?

    While ripping my DVD collection, I've wanted to add a purchased RiffTrax (see www.riftrax.com) to the movie as another audio track. I've been successful, but it took the following steps:
    1. Encode the movie using Handbrake, open the resulting m4v file in Quicktime Pro
    2. Also in Quicktime Pro, open the Rifftrax aac file I created and add it as another audio track in the m4v
    3. Save the m4v as a Quicktime mov file
    4. Use Handbrake again to encode the mov file into an m4v file, including my added audio track
    The reason I have to do step 4 is because if I were to export an m4v file directly from Quicktime Pro, it would compress all of the audio tracks into a single audio track. It would save a lot of time if Quicktime could export multiple audio tracks, at least when exporting to formats that can handle them. Does anyone know if this is possible?
    BTW, if anyone wants more details into how I create the RiffTrax aac, just ask.
    - Jake

    I've answered my own question, it was a lot easier than I thought. After the first encoding by Handbrake, there's really no difference between calling it a mov file or m4v file. I can change the file extension at will and there's no need to do an export that mashes the audio tracks. It's only AppleTV that needs to see the m4v file extension, Quicktime and iTunes doesn't seem to care one way or the other.
    Thanks for letting me think out loud.
    Jake

  • Premiere pro: multiple audio tracks in a single take. (Workflow for audio mixing outside premiere)

    Hi I am an editor from Finland.
    I need to sync multiple audio tracks (like 2 stereo and 4 mono) to different takes before i start to edit. You see, after the editing I will create an OMF file for the sound editor who needs all the audio tracks to work with. I have noticed however by just nesting (puttin video and audio clips in a single sequence) the resulting sequence placed on in the main sequence is flattened into stereo (not multichannel). You see my problem here? I am surprised, because i have always taught that this is a very normal workflow and so far i haven't found a single tutorial or a guide for this problem.
    Just to make sure we're on the same page: I know how to sync video and audio, just not so that the 6different audio tracks in all my 120 different takes that i edit into a single sequence will have the 6different audio tracks in the audio post production (which is done in protools, maybe...)
    Oh yeah, Premiere Pro CS5

    Hi!
    This is the case when i get a master clip with all the audio tracks in it. I however got separate files, a bunch of different video files (with stereo track), for every take a boom mic audio track, and a few tracks for all the microphones on the actors. Now after i import these into premiere, how will i proceed so that after i have synced all the audioclips to all the video clips (by nesting?) I will still have all the audio clips intact in the OMF file I will create.
    Last time i created omf, all the clips had turned into stereo because of nesting. Is the only way to avoid this by joining the video and audio clips into multichannel audio clips with another program before importing into premiere?
    I am not very good at explaining... Problem: I get a video and 10 audio tracks. I join them by putting them into a sequence. I repeat this about a hundred times (for every take). Now i start to edit. I create the main sequence in which i clip pieces from all the hundred takes. In the main sequence the clips have only one stereo track. When the movie is finished I create an OMF for the sound guy. The sound guy asks me why are there only 2 tracks per clip? Where are all the 10 separate audio tracks?

Maybe you are looking for

  • External display no longer detected

    I was prompted to install the iMacEFIUpdate1.7 & ThunderboltSoftwareUpdate1.1 automatically this evening and after the update my external display is no longer being detected, before the update everything was working fine.  Its connected from one of t

  • Photo Browser in Mail does not show iPhoto after migration

    I've posted in this in the iPhoto '08 thread but I'm thinking this is a Mail issue. After using the Migration Assistant to move files from my MacBook to my iMac, when in Mail, the "Photo Browser" shows photos from Photo Booth but no longer from iPhot

  • Count of updated rows

    Hi there, I would like to be able to count updated rows after submitting a page. I'm aware that #MRU_COUNT# does that in success messages, but I don't know how to (or is it even possible) assign that value to a page item, for instance. (The number of

  • My top and under folder does not list any images

    Suddenly, my top and under folder does not list any images ? For exemple : lightrom 0 /2013 0 /2013-05-11 126 LR5 ; I run windows 8 64bits Thanks for your help. Best regard Regis

  • HT4053 how do i send via bluetooth pictures taken by my iphone 4s to other celphones?

    help no idea how to share pics via bluetooth to other cellphones