QuickTime Pro Scripting - Audio Channel Mapping

Does anyone know if there is a way to script audio channel mapping and renaming in QuickTime Pro 7? I deal with a lot of 5.1 audio that needs to be channel mapped and renamed to its specific channel  for iTunes uploading. I'm currently doing this task manually in QuickTime Pro, but I'd love to know if there is a possibility to automate this task. I'm new to scripting, and its been very helpful with a lot of my day to day tasks, but I can't seem to figure this one out. Any suggestions would be awesome! Thanks!

Hello
A QT file contains sound tracks and a sound track contains audio channels.
If you mean your QT file has 4 sound tracks each of which contains one audio channel marked as "Mono", you may try the following script. Please make sure you have complete backup of files in advance, for this script will overwrite the files.
Script is basically the same as the one posted in the following thread except for the channel_layouts_map definition.
Quicktime Pro Applescript - Assign audio channels
https://discussions.apple.com/thread/6055790
Notes.
* You need to have QuickTime Player 7 Pro. QuickTime X Player is useless for this.
* You need to enable GUI scripting.
cf.
OS X: Using AppleScript with Accessibility and Security features in Mavericks
http://support.apple.com/kb/HT5914
Briefly tested with QuickTime Player Pro 7.6.6 (1710) (QuickTime version 7.6.6 (1800)) under OS X 10.6.8.
Good luck,
H
on run
    open (choose file with prompt ("Choose movie file(s)") ¬
        of type {"com.apple.quicktime-movie", "public.mpeg-4"} ¬
        with multiple selections allowed)
end run
on open aa
    set channel_layouts_map1 to {¬
        {1, 1, {"Unused"}}, ¬
        {2, 2, {"Unused"}}, ¬
        {3, 3, {"Mono"}}, ¬
        {4, 4, {"Mono"}} ¬
    set channel_layouts_map1 to {¬
        {1, 1, {"Unused"}}, ¬
        {2, 2, {"Unused"}} ¬
    repeat with a in aa
        set f to a's POSIX path
        set k to count_sound_tracks(f, {_close:false})
        if k = 4 then
            remap_audio_channels(f, channel_layouts_map1)
        else
            -- ignore it (just close it)
            close_document(f, {_save:false})
        end if
    end repeat
end open
on count_sound_tracks(f, {_close:_close})
        string f : POSIX path of QT movie
        boolean _close: true to close document, false othewise
    tell application id "com.apple.quicktimeplayer" -- QuickTime Player 7 Pro
        open (f as POSIX file)
        tell (document 1 whose path = f)
            repeat until exists
                delay 0.2
            end repeat
            set k to count (tracks whose audio channel count > 0)
            if _close then close
        end tell
    end tell
    return k
end count_sound_tracks
on close_document(f, {_save:_save})
        string f : POSIX path of QT movie
        boolean _save: true to save document (if modified), false othewise
    tell application id "com.apple.quicktimeplayer" -- QuickTime Player 7 Pro
        tell (document 1 whose path = f)
            if exists then
                if _save and modified then save
                close
            end if
        end tell
    end tell
end close_document
on remap_audio_channels(f, channel_layouts_map)
        string f : POSIX path of source movie
        list channel_layouts_map : list of {trk, trk_new, layouts}
            trk = (string or integer) name or index of source sound track
            trk_new = (string or integer) new name for source track (integer i denotes original name of sound track i)
            layouts = list of audio layout for channel(s) in source sound track
                Mono
                Left
                Right
                Center
                LFE Screen
                Left Surround
                Right Surround
                Left Center
                Right Center
                Center Surround
                Rear Surround Left
                Rear Surround Right
                Left Total
                Right Total
                Discrete-0
                Discrete-1
                Unused
            e.g. 1
               {{"Sound Track 1", "Left", {"Left"}}, ¬
                {"Sound Track 2", "Right", {"Right"}}, ¬
                {"Sound Track 3", "Center", {"Center"}}, ¬
                {"Sound Track 4", "LFE Screen", {"LFE Screen"}}, ¬
                {"Sound Track 5", "Left Surround", {"Left Surround"}}, ¬
                {"Sound Track 6", "Right Surround", {"Right Surround"}}, ¬
                {"Sound Track 7", "Left Total", {"Left Total"}}, ¬
                {"Sound Track 8", "Right Total", {"Right Total"}}}
            e.g. 2
               {{1, 1, {"Left", "Right"}}, ¬
                {2, 2, {"Center", "LFE, Screen"}}, ¬
                {3, 3, {"Left Surround", "Right Surround"}}, ¬
                {4, 4, {"Left Total", "Right Total"}}}
        * this handler behaves as follows:
            1) open f
            2) scan sound tracks of document 1 for each trk and remap the track's audio channel layouts as specified
            3) scan sound tracks of document 1 for each trk and rename the track as specified
            4) save and close document 1
            * if specified trk is not found, it is ignored and no remapping is performed on the track.
            * if specified layout is not found, it is ignored and no remapping is performed on the layout.
            * if specified layout count is greater than channel count of the target track, excessive layouts are ignored.
            * if specified layout count is smaller than channel count of target track, excessive channels are ignored.
            * if trk and trk_new denotes the same track, renaming is not performed on the track.
    script o
        property map : channel_layouts_map
        property pp : {}
        property qq : {}
        -- get name and id of sound tracks
        tell application id "com.apple.quicktimeplayer" -- QuickTime Player 7 Pro
            activate
            open (f as POSIX file)
            tell (document 1 whose path = f)
                repeat until exists
                    delay 0.2
                end repeat
                tell (tracks whose audio channel count > 0)
                    set {pp, qq} to {name, id} -- name and id of sound tracks
                end tell
            end tell
        end tell
        -- remap audio channel layouts as specified
        tell application "System Events"
            tell (process 1 whose bundle identifier = "com.apple.quicktimeplayer")
                -- open movie properties window
                keystroke "j" using {command down}
                tell (window 1 whose subrole = "AXDialog") -- properties for movie
                    repeat until exists
                        delay 0.2
                    end repeat
                    repeat with m in my map
                        set {trk, undef, layouts} to m
                        -- [TRK:
                        repeat 1 times
                            if trk's class = integer then
                                if trk < 1 or trk > (count my pp) then exit repeat -- TRK:
                                set trk to my pp's item trk
                            end if
                            tell scroll area 1
                                tell table 1
                                    tell (row 1 whose text field 1's value = trk) -- target sound track whose name = trk
                                        if not (exists) then exit repeat -- TRK:
                                        select
                                    end tell
                                end tell
                            end tell
                            tell tab group 1
                                click radio button 3 -- audio settings
                                tell scroll area 1
                                    tell table 1 -- channel assignment table
                                        set ix to count layouts
                                        repeat with i from 1 to count rows
                                            if i > ix then exit repeat
                                            tell row i -- channel i
                                                tell pop up button 1
                                                    click
                                                    tell menu 1 -- channel assignment menu
                                                        tell (menu item 1 whose title = layouts's item i)
                                                            if exists then click
                                                        end tell
                                                    end tell
                                                end tell
                                            end tell
                                        end repeat
                                    end tell
                                end tell
                            end tell
                        end repeat
                        -- /TRK:]
                    end repeat
                    -- close movie properties window
                    click (button 1 whose subrole = "AXCloseButton")
                end tell
            end tell
        end tell
        -- rename sound tracks as specified
        tell application id "com.apple.quicktimeplayer"
            tell document 1
                repeat with m in my map
                    -- [RENAME:
                    repeat 1 times
                        set {x, y} to m's items 1 thru 2 -- {old name or index, new name or index}
                        if x's class = integer then
                            if x < 1 or x > (count my pp) then exit repeat -- RENAME:
                        else
                            set x to my _index_of(pp, x)
                            if x = 0 then exit repeat -- RENAME:
                        end if
                        if y's class = integer then
                            if y < 1 or y > (count my pp) then exit repeat -- RENAME:
                            set y to my pp's item y
                        end if
                        set p to my pp's item x
                        set q to my qq's item x
                        if p ≠ y then set track id q's name to y
                    end repeat
                    -- /RENAME:]
                end repeat
                if modified then save
                close
            end tell
        end tell
    end script
    --tell o to run
    run script o
end remap_audio_channels
on _index_of(xx, x)
        list xx : source list
        anything x : item to be searched in xx
        return integer : the first index of x in xx if {x} is in xx, or 0 if not.
    script o
        property aa : xx
        local i, j, k
        if {x} is not in my aa then return 0
        set i to 1
        set j to count my aa
        repeat while j > i
            set k to (i + j) div 2
            if {x} is in my aa's items i thru k then
                set j to k
            else
                set i to k + 1
            end if
        end repeat
        return i
    end script
    tell o to run
end _index_of

Similar Messages

  • Audio Channel Mapping problems

    Hi Everyone,
    I can't seem to find a solution to my problem.
    I use Audition in two situations.
    Firstly, with the internal soundcard (Mac Book Pro) when I'm out and secondly, when I'm at home with my focusrite scarlett.
    When I'm out, Audition won't play as it can't find the focusrite.
    Question: How do I use Audition in both situations?
    My work around is to start up Audition with the shift key when I don't have the focusrite with me.
    Any solutions that anyone can suggest?
    With Logic, it just shows up a message saying my Focusrite isn't available.
    Many thanks!

    Thanks, ryclark for your reply!
    When I'm not using the Focusrite:
    The "Device Class" only shows "CoreAudio."
    "Default Output" only shows "Built-in Output."
    On the "Audio Channel Mapping" page, it has 
    "Output":Device: Scarlett 2i2 USB" and
    on "File Channels":  "1[L] Unknown-Device query failed."
    So, it's remembering the Focusrite Scarlett, but then can't find it, so stops.
    Weird!
    Surely there's a workaround?
    Thanks!

  • Exported file sounds different inside Audition CS6 - audio channel mapping problem?

    Hi guys. I've been working on some voice reels today, and for some reason my finished and exported files sound different to how they sound in Audition - basically, the music tracks increase in volume whenever the voice actor isn't speaking. As mentioned, this isn't happening in the Multitrack session, just when playing back the exported track in a third-party app, and has only been happening today. I've tried messing around with the Audio Channel Mapping and Audio Hardware settings in the Preferences, without any joy. I'm suspecting something's got messed up on the sound card, but just wanted to check that I haven't missed something painfully obvious inside of Audition!
    Specs:
    Windows 7 Home Premium, SP1, 64-bit
    AMD Phenom II X64 2.8 GHz, 8GB RAM
    Adobe Creative Suite 6 Production Premium
    M-Audio Delta Audiophile 2496
    NVIDIA GeForce GTX650Ti 2GB

    Can't answer that without quite a bit more information about the third-party apps, what exactly you're exporting, workflow, etc. It won't be a mapping issue though - that will only affect the output of Audition to a hardware device.
    But if you are exporting a single file with everything on, and it plays okay in Windows Media Player, for instance, then whatever is happening isn't with Audition, but whatever you are putting it back into. It sounds as though some sort of auto-leveling system is at work - and Audition wouldn't do that unless set up very specifically to do so.

  • Audio Channel Mapping in Premiere Pro CS6

    I am using Premiere Pro CS6 6.0.5. Double clicking on an imported 5.1 ac3 file in my bin brings up the 6 channels in waveform in Source panel. The channels are mapped L,R,Ls,Rs,C,LFE. This does not conform to Dolby Digital standard L,R,C,LFE,LS,RS. I have tried to set the channles this way in Audio Output Mapping in Preferences to no avail.
    Question 1.-Is there a way to change the mapping to conform to Dolby Digital?
    Question 2.- I use the Surcode plug-in. Will Surcode automatically map the channels properly upon export?
    Thanks!

    Hi DAC1x,
    Have you tried to modify the audio channels from the project panel. If not, please try the steps and check if it helps
    In the Project panel, select the clip or clips you want to map.
    Select Clip > Modify > Audio Channels.
    Under Track Format, click 5.1
    Regards,
    Vinay

  • Quicktime Pro Scripting

    Hello,
    I'm using Quicktime Pro to convert video files to hinted mp4 files that that can be streaming using Darwin Streaming Server. Right now I'm manually converting everything- what I'd like is a way (jscript?) to have the server convert uploaded movies for streaming. Is this possible?
    Thanks,
    Nick

    That sort of thing's beyond my technical abilities I'm afraid, Nick.
    If you don't get any more-helpful replies here, it might be worth checking in at the QuickTime-users mailing list to see if someone there has some advice:
    http://lists.apple.com/mailman/listinfo/quicktime-users

  • Device query in Channel Mapping failed - no playback

    Hello Forum! 
    I'm struggling to figure out why playback won't work in Audition.  A dialogue box pops up at opening that says that "Audio Hardware preferences have changed".  I check them and the default input and output are still set as Built-in Input and Output (which I usually use).  However, under Audio Channel Mapping settings, Device Channels are "Unknown - device query failed".  How do I get the device query to not fail? 
    Oh and playback works fine in all other programs and I'm running it on a Mac OS 10.10.2. 
    Thanks!

    Sometimes if Audition loses contact with the requested audio device for some reason it may have difficulty reconnecting. You may need to kick start it to re-find the audio drivers by changing the Audio Hardware preferences in Audition. Close Audition, re-open and set audio hardware back to your norm. Even changing the Master Clock setting might get it going again.

  • Goal: Burn iDVD w/Chapters & 2 Audio Channels

    I have 10 songs each with video and two audio channels. I want the dvd to go from one song to the next, but also want to have chapters so that I can quickly get to #8 from #4 (for example). What I've tried:
    1) Export individual songs via QuickTime - the two audio channels flattened into one. Gotta have 2 discreet that can be controlled via mixer.
    2) Exported all 10 as one sequence with a chapter marker for each song via QuickTime Conversion - got 2 stereo channels - poifect - but only one long 'chapter', the only way I can move thru is via FastForward - not good.
    Manuals say just add chapter markers (not at beginning, >1 second apart from each other, only 99, etc), but I can't get them to function in iDVD.
    SHOULD QuickTime keep two audio channels, if so, how do I do it?
    SHOULD I be using QuickTime Conversion - does it toss the markers?
    Help and Thanx

    I've found the articles on Ken Stone's site about chapter markers and preparing Final Cut materials for iDVD extremely helpful. I would suggest you check them out and try the suggested workflows. The site address is www.kenstone.net
    Best of luck.

  • ... audio channel to both speakers?

    Is it possible to mix QuickTime's left audio channel to both speakers? Accordingly, QuickTime's right audio channel to both speakers?
    I want to do so through Objective C in Xcode, controlling QuickTime through its API.
    Thanks, John

    Is it possible to mix QuickTime's left audio channel
    to both speakers? Accordingly, QuickTime's right
    audio channel to both speakers?
    I want to do so through Objective C in Xcode,
    controlling QuickTime through its API.
    Thanks, John
    Sorry about the double post. Please replies to this thread.
    I didn't know how to edit the previous to change IDE to API.
    John

  • Quicktime Pro Applescript - Assign audio channels

    Hi, I have been trying to find an applescript which would open a Quicktime Prores file which has multiple audio tracks in, either 8 mono tracks or 6 mono and one strereo track, currently all audio tracks by default have the 'Channels' assigned to mono. I currently have to go in and manually assign every track, using the dropdown menu to Left, Right, Center, LFE, Left Surround, Right Surround, Left Total, Right Total, but was wondering if this could be done with an Applescript as I have lots of these files to do regually. Another post I saw was able to change the 'name' of the tracks but not the 'Channels'.
    I am on Mavericks with Quicktime 7 Pro.
    Kind regards.

    Hello
    If I understand it correctly, the script listed below will do the job.
    Please edit the channel_layouts_map1 and channel_layouts_map2 as you see fit. The former is for 8 mono tracks and the latter is 6 mono tracks and 1 stereo track. Each entry in the map consists of a list of three items such that -
    item 1 = (string or int) name of index of target sound track
    item 2 = (string or int) new name for target track (int i denotes original name of sound track i)
    item 3 = (list) list of audio channel layout(s) in the target sound track
    Currently, script will remap the audio channel layouts and rename the sound track as specified. If you don't want to rename the tracks, specify the same value for item 1 and item 2.
    If the script is run in AppleScript Editor, it will ask you to choose movie file(s). If it is saved as applet (droplet), you may drag-and-drop movie file(s) onto it. It uses GUI scripting to reassign audio channel layouts, so you need to enable GUI scripting, that is a bit complicated under 10.9.
    cf.
    OS X: Using AppleScript with Accessibility and Security features in Mavericks
    http://support.apple.com/kb/HT5914
    Briefly tested with QuickTime Player Pro 7.6.6 (1710) (QuickTime version 7.6.6 (1800)) under OS X 10.6.8.
    * Script will override the original files. Please make sure you have backups of original files.
    Hope this may help,
    H
        remap audio channel layouts.applescript
        v0.1
    on run
        open (choose file with prompt ("Choose movie file(s)") ¬
            of type {"com.apple.quicktime-movie", "public.mpeg-4"} ¬
            with multiple selections allowed)
    end run
    on open aa
        set channel_layouts_map1 to {¬
            {"Sound Track 1", "Left", {"Left"}}, ¬
            {"Sound Track 2", "Right", {"Right"}}, ¬
            {"Sound Track 3", "Center", {"Center"}}, ¬
            {"Sound Track 4", "LFE Screen", {"LFE Screen"}}, ¬
            {"Sound Track 5", "Left Surround", {"Left Surround"}}, ¬
            {"Sound Track 6", "Right Surround", {"Right Surround"}}, ¬
            {"Sound Track 7", "Left Total", {"Left Total"}}, ¬
            {"Sound Track 8", "Right Total", {"Right Total"}} ¬
        set channel_layouts_map2 to {¬
            {"Sound Track 1", "Left", {"Left"}}, ¬
            {"Sound Track 2", "Right", {"Right"}}, ¬
            {"Sound Track 3", "Center", {"Center"}}, ¬
            {"Sound Track 4", "LFE Screen", {"LFE Screen"}}, ¬
            {"Sound Track 5", "Left Surround", {"Left Surround"}}, ¬
            {"Sound Track 6", "Right Surround", {"Right Surround"}}, ¬
            {"Sound Track 7", "Left Total + Right Total", {"Left Total", "Right Total"}} ¬
        repeat with a in aa
            set f to a's POSIX path
            set k to count_sound_tracks(f, {_close:false})
            if k = 8 then
                remap_audio_channels(f, channel_layouts_map1)
            else if k = 7 then
                remap_audio_channels(f, channel_layouts_map2)
            else
                -- ignore it (just close it)
                close_document(f, {_save:false})
            end if
        end repeat
    end open
    on count_sound_tracks(f, {_close:_close})
            string f : POSIX path of QT movie
            boolean _close: true to close document, false othewise
        tell application id "com.apple.quicktimeplayer" -- QuickTime Player 7 Pro
            open (f as POSIX file)
            tell (document 1 whose path = f)
                repeat until exists
                    delay 0.2
                end repeat
                set k to count (tracks whose audio channel count > 0)
                if _close then close
            end tell
        end tell
        return k
    end count_sound_tracks
    on close_document(f, {_save:_save})
            string f : POSIX path of QT movie
            boolean _save: true to save document (if modified), false othewise
        tell application id "com.apple.quicktimeplayer" -- QuickTime Player 7 Pro
            tell (document 1 whose path = f)
                if exists then
                    if _save and modified then save
                    close
                end if
            end tell
        end tell
    end close_document
    on remap_audio_channels(f, channel_layouts_map)
            string f : POSIX path of source movie
            list channel_layouts_map : list of {trk, trk_new, layouts}
                trk = (string or integer) name or index of source sound track
                trk_new = (string or integer) new name for source track (integer i denotes original name of sound track i)
                layouts = list of audio channel layout for channel(s) in source sound track
                    Mono
                    Left
                    Right
                    Center
                    LFE Screen
                    Left Surround
                    Right Surround
                    Left Center
                    Right Center
                    Center Surround
                    Rear Surround Left
                    Rear Surround Right
                    Left Total
                    Right Total
                    Discrete-0
                    Discrete-1
                    Unused
                e.g. 1
                   {{"Sound Track 1", "Left", {"Left"}}, ¬
                    {"Sound Track 2", "Right", {"Right"}}, ¬
                    {"Sound Track 3", "Center", {"Center"}}, ¬
                    {"Sound Track 4", "LFE Screen", {"LFE Screen"}}, ¬
                    {"Sound Track 5", "Left Surround", {"Left Surround"}}, ¬
                    {"Sound Track 6", "Right Surround", {"Right Surround"}}, ¬
                    {"Sound Track 7", "Left Total", {"Left Total"}}, ¬
                    {"Sound Track 8", "Right Total", {"Right Total"}}}
                e.g. 2
                   {{1, 1, {"Left", "Right"}}, ¬
                    {2, 2, {"Center", "LFE, Screen"}}, ¬
                    {3, 3, {"Left Surround", "Right Surround"}}, ¬
                    {4, 4, {"Left Total", "Right Total"}}}
            * this handler behaves as follows:
                1) open f
                2) scan sound tracks of document 1 for each trk and remap the track's audio channel layouts as specified
                3) scan sound tracks of document 1 for each trk and rename the track as specified
                4) save and close document 1
                * if specified trk is not found, it is ignored and no remapping is performed on the track.
                * if specified layout is not found, it is ignored and no remapping is performed on the layout.
                * if specified layout count is greater than channel count of the target track, excessive layouts are ignored.
                * if specified layout count is smaller than channel count of target track, excessive channels are ignored.
                * if trk and trk_new denotes the same track, renaming is not performed on the track.
        script o
            property map : channel_layouts_map
            property pp : {}
            property qq : {}
            -- get name and id of sound tracks
            tell application id "com.apple.quicktimeplayer" -- QuickTime Player 7 Pro
                activate
                open (f as POSIX file)
                tell (document 1 whose path = f)
                    repeat until exists
                        delay 0.2
                    end repeat
                    tell (tracks whose audio channel count > 0)
                        set {pp, qq} to {name, id} -- name and id of sound tracks
                    end tell
                end tell
            end tell
            -- remap audio channel layouts as specified
            tell application "System Events"
                tell (process 1 whose bundle identifier = "com.apple.quicktimeplayer")
                    -- open movie properties window
                    keystroke "j" using {command down}
                    tell (window 1 whose subrole = "AXDialog") -- properties for movie
                        repeat until exists
                            delay 0.2
                        end repeat
                        repeat with m in my map
                            set {trk, undef, layouts} to m
                            -- [TRK:
                            repeat 1 times
                                if trk's class = integer then
                                    if trk < 1 or trk > (count my pp) then exit repeat -- TRK:
                                    set trk to my pp's item trk
                                end if
                                tell scroll area 1
                                    tell table 1
                                        tell (row 1 whose text field 1's value = trk) -- target sound track whose name = trk
                                            if not (exists) then exit repeat -- TRK:
                                            select
                                        end tell
                                    end tell
                                end tell
                                tell tab group 1
                                    click radio button 3 -- audio settings
                                    tell scroll area 1
                                        tell table 1 -- channel assignment table
                                            set ix to count layouts
                                            repeat with i from 1 to count rows
                                                if i > ix then exit repeat
                                                tell row i -- channel i
                                                    tell pop up button 1
                                                        click
                                                        tell menu 1 -- channel assignment menu
                                                            tell (menu item 1 whose title = layouts's item i)
                                                                if exists then click
                                                            end tell
                                                        end tell
                                                    end tell
                                                end tell
                                            end repeat
                                        end tell
                                    end tell
                                end tell
                            end repeat
                            -- /TRK:]
                        end repeat
                        -- close movie properties window
                        click (button 1 whose subrole = "AXCloseButton")
                    end tell
                end tell
            end tell
            -- rename sound tracks as specified
            tell application id "com.apple.quicktimeplayer"
                tell document 1
                    repeat with m in my map
                        -- [RENAME:
                        repeat 1 times
                            set {x, y} to m's items 1 thru 2 -- {old name or index, new name or index}
                            if x's class = integer then
                                if x < 1 or x > (count my pp) then exit repeat -- RENAME:
                            else
                                set x to my _index_of(pp, x)
                                if x = 0 then exit repeat -- RENAME:
                            end if
                            if y's class = integer then
                                if y < 1 or y > (count my pp) then exit repeat -- RENAME:
                                set y to my pp's item y
                            end if
                            set p to my pp's item x
                            set q to my qq's item x
                            if p ≠ y then set track id q's name to y
                        end repeat
                        -- /RENAME:]
                    end repeat
                    if modified then save
                    close
                end tell
            end tell
        end script
        tell o to run
    end remap_audio_channels
    on _index_of(xx, x) -- renamed _bsearch() v0.1
            list xx : source list
            anything x : item to be searched in xx
            return integer : the first index of x in xx if {x} is in xx, or 0 if not.
        script o
            property aa : xx
            local i, j, k
            if {x} is not in my aa then return 0
            set i to 1
            set j to count my aa
            repeat while j > i
                set k to (i + j) div 2
                if {x} is in my aa's items i thru k then
                    set j to k
                else
                    set i to k + 1
                end if
            end repeat
            return i
        end script
        tell o to run
    end _index_of

  • Windows AVI hd files with 4 channels of audio with quicktime PRO ?????

    I wish to convert Windows AVI hd files with 4 channels of adio to Quicktime mov, retaining the four tracks of audio, will quicktime pro do this

    It depends on what the audio and video codecs used in the video. AVI is just a container format and make use any number of codecs, some of which QuickTime for Windows can support but many it cannot. If you can post information on the codecs, someone here can probably give more direct advice.
    Regards.

  • Audio upsampling in Quicktime Pro: Best export settings for Final Cut?

    I'm using Quicktime Pro to convert audio from 32 kHz to 48 kHz, for use in FCE/FCP. Quicktime gives me several options for export settings. I want to make the conversion lossless, without increasing the size of the audio file too much.
    These are the settings I'm using so far:
    Format: Linear PCM
    Channels: Stereo (L R)
    Rate: 48 kHz
    Sample Rate Converter Settings: Quality: Best
    Linear PCM Settings: Sample size: 16 bits
    Are these settings the best choices? Does anyone have experience doing this kind of upsampling?
    Here are the other options in Quicktime:
    Format: Linear PCM, A-Law 2:1, IMA 4:1, MACE 3:1, MACE 6:1, QDesign Music 2, Qualcomm PureVoice, and mu-Law 2:1
    Channels: 2 Discrete Channels, Mono, Stereo (L R)
    Rate: there are other choices, but I know 48 kHz is what I want
    Advanced Settings:
    Sample Rate Converter Settings: Faster, Fast, Normal, Better, Best
    Linear PCM Settings (when Linear PCM is the format): 8 bit, 16 bit, 24 bit, 32 bit (floating point checked), 32 bit (floating point unchecked).
    The file size grows quickly as you increase the Linear PCM bit settings.

    You can't create something that is not in the file.
    Moving from 32kHz to 48 will only make the file size
    larger and can't improve the audio.
    Doesn't FCP or FCE import your file at 32. Or does it
    change it to 48 after import?
    I am aware that increasing the audio from 32 kHz to 48 kHz will not improve the quality of the audio. And yes, Final Cut Pro and Express will both capture and allow you to work witih 32 kHz audio.
    I have several hours of video shot with 32 kHz audio settings that I'd prefer to have stored on disk with 48 kHz audio, because (a) some applications like iMovie have demonstrated problems with 32 kHz audio in the past, and (b) the majority of my video is shot with 48 kHz audio, so my 32 kHz video will eventually end up in a 48 kHz project, leaving the upsampling to Final Cut. Yes, I do eventually plan to burn my projects to DVD as well, but this isn't an immediate concern.
    The problem with doing the conversion in Final Cut is this: Some of the people knowledgeable about Final Cut Pro and Express recommend doing the upsampling using Quicktime or another application, instead of using Final Cut, because Final Cut may not do as good a job as Quicktime. So my intention is to upsample the audio now in preparation for later projects. I don't completely understand why Final Cut wouldn't do as good of a job at upsampling, but a couple of experienced users in the FCP and FCE forums have independently corroborrated this.
    Thanks to everyone for their helpful posts and responsiveness.
    PowerMac G5 Quad 2.5 GHz 3GB RAM   Mac OS X (10.4.5)   NVIDIA GeForce 7800GT
    Message was edited by: Anthony M Kassir MD

  • Sample rate/quicktime pro audio/video

    Hi all:
    Have a few questions related to Quicktime pro on mac related to sample rate of audio and video...any help understanding much appreciated...
    I am a music composer using logic pro and recently started working with filmakers who send me quicktime files of the video to score to...
    regarding sample rate of audio as played back in quicktime...I'm a bit confused....
    When playing back either an MP3,wave,Aiff at 44.1k or 48k
    seems that quicktime plays at the right speed and pitch of audio...Does Quicktime use it's own audio processor to convert sample rates in real time at playback?
    When I play a video track with audio recorded at 44.1k or even an MP3...and playback on my soundcard set at 48k...it does play at correct pitch...even though theory of audio tells me that the sample rate is very inportant especially when playing back...sample rate needs to be the same on both the soundcard audio clock and the software...
    Is this part of the magic of quicktime or am I missing something.
    Even a bit more confused when I got a dialog file from a filmaker attached to his quicktime file that he thougnt was in 44.1k...was actually 48k...so when taken out of quicktime and put in another enviornment for editing that became really important and avident that the samplerate audio rules outside of quicktime applied...
    Am I correct then in my understanding that when working only in the quicktime enviornment that the rules of audio sample rate do not apply?
    Thanks for thoughts...
    regards
    vibes

    All you may ever want to know about QT, audio and OS X:
    http://developer.apple.com/documentation/MusicAudio/Reference/CoreAudio/index.ht ml
    QuickTime 7 is a major re-write and it now has many more options for audio. Multiple channel support (up to 24) and sample rates of double DV Stream settings.
    Magic is how it works.

  • Help with Automator Script for QuickTime Pro Movie Conversion from Vado

    All my videos from my Creative Vado do not show up in iMovie 09 initially on import. By trial and error, I have discovered that the old version of QuickTime Pro 7 ($29.95) will convert them to .mov files that can be seen by iMovie 09 once the converted videos are imported back into iPhoto.
    I am (very) new to mac things, and it looks like in theory I could use Automator to handle to conversion process, and perhaps even the re-import into iPhoto. Does anyone have any suggestions on how to go about this? Where would be a good site to post this as a project that I could pay some one to help me, provide an automator script/workflow?
    Are any other solutions available? Buy Final Cut etc?
    PS (Rant): One of the reasons I bought a MacBook Pro and iLife was to take advantage of what I thought was supposed to be Apple's superior multimedia handling. It seems ludicrous to me that with a MacBook Pro running the latest software (10.6.4), and using the latest versions of iLife, I'd have to buy an old version of QuickTime to convert my videos so that I could manipulate them in iMovie. Sigh.

    MPeg Stram clip will export files which are compatible with iMovie '09. It (iMovie )can import the following.
    DV
    AIC
    Motion-JPEG
    Photo-JPEG
    MPEG-4 (Supported profiles)
    H.264 (Supported profiles)
    Apple Animation (Movie '09 only)
    Apple Video (iMovie '09 only)
    iMovie '08/'09 will not accept files containing extraneous data tracks such as:
    'Tween
    Text
    Chapter
    Closed Caption
    Secondary audio such as AC3
    etc.
    iMovie '08/'09 Will not accept files that rely on proprietary/third-party components such as
    DivX
    WMV
    XviD
    etc.

  • How do I export from FCP to a QuickTime file with multiple audio channels?

    I'm delivering a project where the first step is to generate an HD Cam SR master, which I will be doing at a post-production lab. They will then do a QC check for me. To generate this HD Cam SR master, they need to me to bring in my 98-minute long movie on a firewire hard drive, in five equal parts -- QuickTime files. From these five QT files, the lab will then be creating an HD Cam SR master that will have...
    dialogue on tracks 1 and 2
    effects on tracks 3 and 4
    music on tracks 5 and 6
    MY QUESTION
    a) I don't see any way to separate these audio tracks accordingly in the FCP menu for QuickTime export. Does anyone have any experience doing this?
    b) And does anyone know the most efficient way to combine timeline audio tracks for this purpose? I have my dialogue sitting on the first FOUR audio tracks, actually. To deliver this film, I'll need to crush these four audio tracks to two, as listed above. I could generate an AIFF file, I suppose, import it back onto the timeline, sync it up, and then re-export along with the visuals to make the final QT file, but this seems like a generation loss.
    thanks,
    Shanked
    PS the movie is made up of footage from a Sony PMW EX1. I used the codec "XDCAM 1080 24p 35mbs VBR" for editing in FCP. I'll either export to QT using this same codec or switch to "Apple ProRes" if my machine can somehow maintain the sync.

    The following will answer both your questions a) and b).
    Click on your master timeline and press cmd+0 (zero) to bring up Sequence Settings, then click on the Audio Outputs tab on the right. Click on the Outputs option and change it to 6. You can leave them as Stereo pairs.
    Now, back on your timeline, you need to make sure all your audio is organised so each track. A1, A2, A3, A4 etc has all the relevant media on it.
    Then, on the left of the timeline you see the Destination toggle buttons, then you see the Padlocks to lock tracks, then you have the Toggle Auto Select squares. If you right-click on the Toggle Auto Select squares you bring up a little sub-menu, at the top of this list you'll see Audio Outputs, which will show the stereo channels for that particular track. As you've changed the number of Audio Outputs in the Sequence Settings, the list will show: 1&2, 3&4, 5&6. You just tick whichever channels you want.
    In your case, you have dialogue on the first 4 tracks, no problem, just go down through tracks 1,2,3 and 4 as described above and assign these to Audio Outputs 1&2.
    Then just go down through your music and effects audio tracks and assign them accordingly.
    Now, when you export your timeline as a self-contained media file, it will have different audio channels.
    I hope that makes sense. When you change the number of audio outputs as described in the first step, I believe the rest of it is fairly self explanatory, once you know where the settings are.

  • While importing clip getting error "The file contains too many audio channels" in premiere pro cs5

    Hey,
    I  am using video clips from sony digital hi8 camera and trying to import  video clips (.mov) 720*480  fps 29.97 .But unable to get into premiere  pro cs5.System configuration:
    MAC 10.6.4
    2.66ghz intel core i7
    4gb ram
    nvidia geforce gt 330 mn.
    Error :
    Actually ,i have checked the inspector panel and i found same infomation in
    in this panel for both clips .please check these clips screen shoots seprately .
    Actually i have a long video clip and i have scatterred this clip into 6 diffrent portions
    where i am not able to import the last video clip.It is giving me same error "file contain too many audio channels"".
    Regards
    Manoj

    I too am getting this error in Premiere CS5.  I was digitizing a Broadcast VHS and since I did not have a breakout box, I hooked it up to a Sony DV deck so I could connect via firewire and capture inside Premiere.  I was able to capture and import 1 of the 3 clips and it did have 4 audio channels attached to it.  However, upon closer inspection only 2 channels had a waveform.  I captured the other 2 clips the same way, but this time, Premiere give the error "The file contains too many audio channels." 
    Any ideas?

Maybe you are looking for

  • Funny issue while making calls in my lumia 900

    So a strange issue popped up after the 7.8 upgrade to my Lumia 900 (I waited till all issues seemed to be resolved before applying it). Anytime I try calling a number that is not in my contacts- I just get a call ended message. The call just doesnot

  • DLL for LOB operations

    Hi I am trying to use the createTemporary() method provided by the Oracle OCI Driver to insert a BLOB into the database. I have the oracle client installed in my PC. While executing the above said method an "UnsatisfiedLinkError" is reported. It says

  • Everything about CATS

    < MODERATOR:  All points have been UNASSIGNED and the message locked.  Please do not share email addresses, documents, or links to copyrighted or company confidential information on these forums. > Can you please explain me everything related to CATS

  • Error in extractor

    I am getting a error  : " Could not determine BW release for the logical system " when i run a particular extractor . Any help with this one , please. Thanks.

  • About bdc for aiab transaction,urgent plzzzzzzzz

    hi all, i m doing BDC for tcode AIAB. here the table control is coming in to picture and i don know how to handle table control, so if anybody can help me to come over this issue?? my wrk is still pending,plzz try it n giv me reply,my problm is in 2n