5.1 AC3 Audio Channels - Remapping

Greetings,
Does anyone know if it is possible in Encore to remap audio channels from a 5.1 AC3 file?  For example, if I wanted the right channel from the source audio file to map to the left channel of a burned Blu-ray disc for playback- is this somehow possible, or will the mapping always be native to the configuration of the source audio file?
Thanks,
Mtbakerstu

This has been an argument, discussed since at least PrPro 2.0.
Going back to about that point (when Minnetonka Audio offered a discount for PrPro users), Minnetonka Audio basically opened up their books to me, when I inquired about volume licensing. I do not recall the exact prices, or even the discount, but the Dolby Labs' charge was most of the cost, and Minnetonka Audio only made about US $50 per SurCode plug-in.
Now, with the Minnetonka Audio SurCode, one CAN use the DD logo, when certain criteria have been met. With most other 5.1 SS Encoders, they are NOT certified DD, so cannot legally display that logo. Sony, with their Vegas NLE's, seems to be an exception to that restriction. I am not sure what the legal issues are, but Sony does (or did) create DD 5.1 SS, with some of their programs. Perhaps some sort of "brother-in-law deal" with Dolby Labs?
To some editors, having fully legal DD logos is not important to them, or to their clients. In those cases, there are a few other methods (though somewhat convoluted), to Export 5.1 SS AC3's, just not DD-certified.
I used the DD 5.1 SS enough, that I bought a license for each computer, and felt that my $ was well-spent. As you, and others mention, paying the licensing fee to Dolby and Minnetonka Audio, if one never uses the SurCode plug-in alters the price-point of the program, and all users will be paying more, whether they derive any value, or not. To me, it has more than paid for itself.
It would akin to Adobe including the full Red Giant Magic Bullet Looks suite in their program. Price would go up, and many users would never need that, or want it.
If asked, my vote would be to keep things, as they are, and those who want/need the SurCode plug-in can buy it.
Hunt

Similar Messages

  • Accessing center channel in Sony AVCHD video AC3 audio (5.1 surround)

    I have tons of video shot on Sony HDR-CX7 and HDR-CX12 camcorders (AVCHD) in 5.1 stereo. iMovie '09 and Final Cut Express import the audio as two channel stereo, which is normally fine for a consumer app.
    I use a Sony wireless microphone to record interviews, and I normally set the camera to record only the monophonic microphone audio. But, there is also a setting to let the camera record 5.1 stereo from it's built-in microphone, and use the wireless mic as the center channel audio.
    I have footage recorded this way, and I find that when I play it back in stereo, I get a slight delay/echo caused by the wireless mic recording voices, and the camera recording voices (slightly offset). I cannot use the audio this way.
    I want to extract the center channel audio from the AVCHD .mts files. I can then line that audio up with the video in Final Cut Express (or even overlay it in iMovie '09).
    Does anyone know of a free utility that can strip out audio from AVCHD files?
    It looked like Handbrake might work, but it errors out when it tries to convert more than two channel audio.
    I believe the AVCHD audio is AC3 format, so if I can strip that out, Quicktime is able to mute the other surround channels.
    Any tips?

    Here is my current status, and a work-around method to accomplish this.
    First, using "ffmpeg" it is possible to extract just the .AC3 audio stream from a .MTS AVCHD camcorder file. I have tried to do this with the Mac OS X GUI version, ffmpegX, but it errors out. It looks like it is sending the wrong parameter to ffmpeg internally (or perhaps it is using a different ffmpeg command I have on my machine). Anyway, the command looks like this:
    ffmpeg -i 00000.MTS -acodec copy audio.ac3
    That will extract just the audio stream from within the MTS file (which is an AC3 file). By default, you cannot play .AC3 files in QuickTime. It turns out, I had "Perian" installed, which is an extension for QuickTime that allows it to play a bunch of other files. One of the settings was a Stereo mode, which was causing anything I tried to play mix down to stereo. Aha! So, I could toggle that off and actually get to the audio track I wanted.
    BUT, since native Mac OS X does not read .ac3, my workaround is to again use ffmpeg to convert the .ac3 file to a .aac:
    ffmpeg -i audio.ac3 -acodec ac3 -ab 512k audio.aac
    Since the source AC3 file was 448kb/s, I just manually chose 512k as the conversion rate, so it shouldn't lose too much quality. That value can be changed to decrease file size.
    The end result, "audio.aac", is now a 6 channel 5.1 audio file. You can open it in QuickTime, and go to Window->Show Movie Properties then select the "Sound Track" track, and the "Audio Settings" tab of that track, and you will see tracks 1-6 (Left, Center, Right, etc.). You can toggle the tracks off to get to the one you want (in my case, just Center).
    From there you could export this out to a file with just the track you selected, or drag the .aac file in to Final Cut Express.
    If you drag in to Final Cut Express, you will see it takes up five audio tracks. I drug this under the original imported video track, and was able to mute the ones I did not need. I also found I could unlock the audio from the video, and then delete the ones I didn't want, just to clean up the edit window a bit.
    The end result is now I can import the AVCHD file in to Final Cut Express, and bring in this converted AAC under the video to access just the center audio I wanted.
    When I have time to streamline this process a bit more, I will update this topic.

  • Help using multiple audio channels for one video

    Hi,
    I have a video file with 3 audio files (stereo (.wav), 5.1 surround (.AC3), and commentary (.wav).
    I have placed these on the time line of the video track, but now I need to have buttons to target each of them from a menu. However, when is choose a buttons target, is doesn't give me the option of which audio channel to play (A1/A2/A3 etc).
    Is this possible with just one track, or do I need 3 (each with a different audio file as A1)?
    Hope you can help! cheers.
    Tim

    There is a tutorial on setting this up here;
    http://www.kenstone.net/fcphomepage/dvd_languagenattress.html
    BTW I would very strongly suggest to compress your WAV files to stereo AC3 files. It will reduce your overall bandwidth, and you will have a disc that will less problems in playing.
    http://www.kenstone.net/fcphomepage/a_packwarmouth.html

  • Exporting 5.1 ac3 audio from Premiere Pro CS4

    Hi there,
    I wonder if anybody can help me out with exporting 5.1 ac3 audio from Premiere CS4 version 4.1.0?
    I have a 3min long HD 5.1 clip that I need to cut down to 60seconds and add fade transitions to. The final clip will be used in a media player with very specific spec - the clip needs to remain HD 1080p with a frame rate of 29.97 and a maximum CBR of 38. The audio must be 5.1 aac. The format can be mpeg 2 or h.264. The overall quality loss needs to be minimal.
    Up to now I have been cutting up footage that only needs to be stereo and I found the best way to to this while keeping quality was to use Prem Pro and export as mpeg 2 1080p 29.97, quality:5, bitratre: CBR 38, audio as mpeg layer 2 (as these clips were stereo only). These clips played back fine and looked great so I wanted to keep the 5.1 clip process as close to this as possible.
    So far all I have been able to get from Premiere Pro is an audio codec called DVD_LPCM which the media player will not recognise. I'm a bit of a novice when it comes to 5.1 audio so I may be doing something obviously wrong...
    - I have purchased the 5.1 surcode codec and its activated.
    - I have started a new AVCHD (I need 1920x1080) 1080p 29.97  project with a 5.1 audio master
    - The orignal file is an mpeg which I have pulled into PPro and selected Clip > Audio > Breakout to mono
    - I take the 6 mono channels in the project panel and put them into thier own mono tracks in the sequence.
    - the video I use is the original mpeg with the 5.1audio muted in the sequence.
    - When i select each track in the project panel and go to Clip > Audio > Source channel mappings, I see that track has already been allocated a source channel. So I go to the Audio Mixer panel and adjust the 5.1 panners for each tyrack according to what the Source Channel Mapping window has told me - Audio 1 is is L, audio 2 is R, audio 3 is LS, 4 -  Rs, 5- C and 6- LFE
    - I cut the video and all the mono track to the 60seconds I need and export using these settings:
    Video - exactly as before
    Audio -
    Format - Dolby Digital, Codec - SurCode, Audio Coding Mode: 3/1 (L, R, C, LFE, Ls, Rs - 5.1 Surround), LFE: on.
    The clip exports with DVD_LPCM 5.1 audio. Is it to do with the AVCHD preset? Could anyone help me get aac? Any help would be appreciated.
    Thanks in advance

    Using AME and the SurCode Plug-in, here's how the dialog screen looks for the Audio Tab in PrPro 2.0. It should be similar in CS4:
    You do have the Minnetonka SurCode DD 5.1 SS plug-in, right?
    Good luck, and hope that this is helpful.
    Hunt
    PS - note that in the screen-cap, I have composited the dialog box, as though it fully displayed, with no need to scroll it. Depending on your display, you may need to scroll, and your scroll bars will look different from what you see here - just ignore that part of it.
    Message was edited by: the_wine_snob - Added PS

  • 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

  • How can I export a Video while keeping separate Audio Channels?

    I'm trying to export some AVCHD footage and convert to ProRes.  However, I do not want to mix the left and right channels together so that they both end up playing the same audio in the ProRes file.  I have audio from one mic on Channel 1 and audio from another mic on Channel 2, and I would like to keep that once the video files is exported.  I'm new to Premiere Pro so instead of spending an hour trying to figure it out myself I was hoping someone could help me out.
    Thanks,
    Mike

    Right on. Now, the technical explanation, so you know what's going on:
    Your footage imported with dual mono tracks--whether it was recorded that way or mapped that way on import, only you can say. When you dropped it into a sequence (or on the New Item button), the source audio tracks were placed in mono sequence tracks, but the sequence has a stereo master track. When the audio from these tracks is routed from the sequence tracks to the master tracks, since it's mono and by default panned center, it outputs to both output channels equally. By panning the mono tracks hard left and hard right, respectively, you're essentially isolating each of those tracks to a particular output channel.
    Had your audio been shot as stereo or if you had remapped the dual mono tracks (right-click the clip in the bin before using it in a sequence and go to Modify > Audio Channels) to function as the two channels of a stereo clip, you could have dropped the clip into a stereo sequence track, and the separation would have maintained (assuming the sequence was using a stereo master track). This is a viable solution, too, but may limit your editing a bit more since instead of two separate mono audio tracks, you're working with one stereo audio track.
    Either way will work; experiment to decide which will work best for your workflow.

  • AC3 Audio and Quicktime 7.6 Problem

    I was wondering if anyone else is having a problem with opening an audio file with the .ac3 extension in the updated Quicktime 7.6?
    What I have been doing, for a couple of years now, is that I capture a TV program from my DVR using the firewire port. Once the file is loaded on my Mac, I then open MPEG Streamclip, trim out the commercials, Export to Quicktime using H264 and 2 channel AAC audio, after the export is done, I would then do a Demux to AC3 to get a separate audio only file containing the 5.1 surround sound.
    I would open the .ac3 audio only file, open the .mov video file (both in Quicktime). I would then copy the 5.1 audio track from the .ac3 file, Go to the .mov file, perform Edit/Add to Movie. This way I would have 2 audio tracks, AAC a 2 channel track and AC3 a 6 channel track.
    But now with Quicktime 7.6, I cannot open the .ac3 file at all, I get "The file is not a movie file." error message with no error code.
    Any suggestions?
    Thanks,
    Bill

    POSSIBLE SOLUTION
    I think I have discovered a way to workaround the AC3 5.1 sound problem.
    I found an old 20GB drive and installed Tiger 10.4 onto the drive. I then downloaded the "MacOSXUpdCombo10.4.11PPC.dmg" file and updated the system to Tiger 10.4.11. I performed all of the updates (System Security updates and the Java updates) through Software Update except for iTunes and QuickTime.
    I then downloaded the "QuickTime755_Tiger.dmg" file from Apple and updated to QuickTime 7.5.5
    DO NOT UPGRADE TO 7.6
    I then opened the TV show in QuickTime 7.5.5, I extracted the audio file from the program and saved as a separate audio file (it saves as a .mov file).
    I opened this audio file in QuickTime 7.5.5 and then exported the audio
    selecting Export Movie to QuickTime movie,
    clicked on the options button,
    the sound box should already be checked,
    clicked on the settings button,
    under the Format drop down I clicked on AAC,
    Channels: I clicked on 5.1,
    then Rate:48.000,
    checked on Show Advanced Settings,
    Quality: Normal,
    Encoding Strategy: Constant Bit Rate,
    Target Bit Rate: 384
    (used MediaInfo Mac to gate this information),
    clicked OK,
    Clicked OK,
    then named the file, saved it and then waited for audio to be converted from AC3 5.1 to ACC 5.1.
    If you now open up this file in QuickTime 7.5.5 it is an ACC format with 5.1 and plays fine.
    I then restarted to my regular drive with QuickTime 7.6 loaded and it plays the audio file without any problems.
    I'm sure that there must be a way to repackage the AC3 audio file in an AAC container that will work better and faster, but for now this seems to work, so I am going to try some other shows that I have.
    Let me know if this works for others.
    Bill
    Message was edited by: Boliver
    Message was edited by: Boliver

  • Silent Audio Channels in Compressed Output Files ...

    Has anyone experienced dead silent audio channels in exported MP3 or Podcast/AAC files?
    This is included in the application release notes:
    Exporting to Compressed Formats
    " If you export to compressed formats (MP3 or AAC) using devices that do not use class-compliant Core Audio drivers built into Mac OS X on Intel-based Macintosh computers, the audio track of the exported file may be silent. To avoid this issue, use the Audio MIDI Setup utility to change your default output audio device to Built-in or to a device that uses the class-compliant Core Audio drivers before exporting files."
    I'm on a Dual PPC G5, and my Motu interface is compliant. All exported compressed files [with or without video in AAC exports] have silent audio channels.
    Any news on this?
    -ptfigg.
    Power Mac G5 Dual 2.0 gHz    
    Power Mac G5 Dual 2.0 gHz    

    All the pods are set to master. I've never set any sub-mix tracks in the
    past, and, yes, these are set to zero (but I didn't do it). I set the submix
    to 3 for each Stereo & Mono in project settings, default sequence.
    Made no difference.
    Original audio is standard from a Sony professional camera. Same
    camera I've used on a number of occasions.
    What baffles me is that I just don't understand the error message
    language. In other words: what is it saying?
    Cheers,
    Bill in Toronto
    Date sent:     Thu, 20 May 2010 10:37:47 -0600
    From:     Bill Hunt <[email protected]>
    Send reply to:     [email protected]
    To:     William McQueen <[email protected]>
    Subject:      CS3 Error Message The number of audio channels in
         the output need....
    OK, the Master is Stereo, and you have 3 Mono Tracks, that should
    mix-down to that Stereo Master, which will not be a problem.
    Now, it appears that you have no Sub-mix Tracks. Is that correct?
    Check to see what the Track Mapping is set to for each of those Mono
    Tracks. They should be set to Master.
    Having the Track Mapping set improperly could possibly result in this
    type of issue, as DVD's can only have a limited number of Audio
    streams and these are well-defined.
    Maybe someone else will have more ideas for you.
    Good luck,
    Hunt
    PS - as a note, one cannot use ADL to Encore, if the Master is DD 5.1
    SS, as that must go through the Minnetonka Audio SurCode DD 5.1 SS
    encoder plug-in to get a DD 5.1 SS AC3. That does not seem to be
    your case though.

  • AC3 Audio in QuickTime

    I have one question. It is a very simple question. But first, an intro: I have done a huge amount of research into this, and I am absolutely sick of it, because I have found no solution. All I want to do is convert AC3 Audio into AAC format with QuickTime, but of all the apparent solutions I have found, none of them seem to work. I have a work-around for this (first convert to wav with other software), but I'd prefer to keep it in one step because when I convert it to wav, the channel information is discarded.
    So, here goes - *is it possible, by any means whatsoever, to play AC3 audio in QuickTime?*
    At the moment my only option seems to be that I buy a mac and install Perian.
    Message was edited by: LonestarOrison

    Actually, never mind. I found a solution. There's a program called eac3to which can split ac3 files into six separate WAVs, one for each channel, which you can then merge in QuickTime and export as a 5.1 channel AAC file.

  • Map audio channels of items in sequence?

    I'm fairly new to Premiere CS4 (FCP guy). I have rough cut a piece with interviews recorded on ch.1 and b-roll. I've used Fill Left which works, but I was hoping to use Map Audio Channels to avoid chasing filters all over the place.
    I found that I could remap the channels of items that were not yet edited into a sequence, yet, when I opened clips that were edited into my sequence, the controls to change mapping were grayed out.
    Is there a way to do this?

    In this case, though, I don't see how remapping my audio would do anything but exactly what I want to do.
    Well, the reason is that Premiere treats audio differently than FCP does. In FCP, every audio track in a sequence is a mono track, period. You have no other options. Even if you import or capture a stereo audio clip (let's say a CD audio track, for instance), the two channels of the source clip are mapped to mono tracks: the left channel would go to to A1, and the right channel would go to A2, for example. You can create "stereo pairs" in FCP by selecting two clips on adjacent tracks and pairing them (which I believe automatically applies stereo panning, ie. hard left and hard right), but at their base level they are still mono tracks.
    Premiere is different, however, in that you can have mono tracks, stereo tracks, and 5.1 tracks in a sequence, or any combination thereof. As such, a source clip can only go to a matching track in a sequence; for example, a stereo source clip can only go into a stereo track in your sequence. This is where source channel mapping comes into play. You can instruct Premiere to treat the stereo audio track of a clip as two mono tracks, for example, with the end result being that those tracks WON'T go onto a stereo track in a sequence. They will ONLY go onto mono tracks (two of, to be exact) in a destination sequence.
    So if you've already used a stereo clip in a sequence, it has to be on a stereo track. Premiere will then prevent you from remapping those audio channels because of the identity of the destination track in the sequence, meaning that remapping from stereo to two monos won't work once the clip is in use. If you remap the channels before using the clip, you're golden. Hope that helps; it's simply a matter of the differences in the way the two programs work.
    Regarding titles: this is another case of the way two programs work. In FCP, titles are an effect, and so have no reference to any sort of "source," which is why you can copy and paste and change and the original stays the way it was. In Premiere, a title is a "synthetic" clip and therefore has a "source" so if you change the parent all of the children change as well. However, you can work around this by copying and pasting your title, double-click the copy to open the editor, and then click the "New Title Based on Current Title" button (looks like a film frame with a capital T in it). Name your new title and edit it. When you close the titler, you'll have a new title in your bin. Drag it from the bin and while holding the Alt key, drop it on the copy already in the timeline--this will replace the content of that clip instance in the timeline and maintain any effects or transitions you'd placed on the clip.

  • 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

  • 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

  • Get 4 audio channels out through SDI whit BlackMagic UltraStudio Express

    Hi,
    We have some issues with the Blackmagic UltraStudio Express and Premiere Pro.
    We need to get out 4 audio channels through SDI for different broadcast and news feeds. We can't do that with the UltraStudio Express on different Mac Book Pro (one on OS 10.9 and one on 10.8.5) with Premiere pro CC and Premiere pro CS6. (We have try with the driver 9.9.3 and 9.6.8). The only thing we manage to monitor out of the UltraStudio is 2 audio channels.
    We know it "could" work as :
    - We are able with the same setup to get 4 audio channels via FCP 7.0
    - We are able with a Mac Pro OS10.8.5 + Blackmagic Decklink HD Extreme 2 (driver 9.6.8) to get 4 audio channels with Adobe Premiere CC
    Do you have maybe a solution for this ?
    Have a nice day !
    Best regards
    Yann-David Urbanowicz

    You might ask in the Premiere Pro forum http://forums.adobe.com/community/premiere?view=discussions

  • My ipod's music quality is inferior. It doesnt have the surround sound/ left and right audio channel unlike my brothers ipod? is there a problem with the chip?

    I have an ipod touch 4g (8GB), I got this about 2.5 months ago, the same time my brother get his. My problem is that I noticed that audio quality is better on his device than mine. I have been listening to music and had different music devices before (non-Apple product and mobile phone) and the quality of music is better when I used to listen to those devices as well as my brother's ipod touch. Im referring to the left and right audio channels. Im not so good about the technical stuff but the best explanation I can give you is in a music or a movie, there's an effect wherein you can here a sound only at the left ear phone/speaker that you cant hear at the right earphone/speaker. I mean for example in a song, a guitar intro can be heared only at the left
    ear while the background music plays on the other ear. Or when theres and echo effect on the song that alternates sound on the left and right ear. I hope youre getting what Im trying to say. Im bothered that my ipod is fake or has an internal problem on the chips or something because I didnt bought this at an Apple Center/Mac Center. I bought it on a retailer. I am not able to visit any store or Genius Bar  or contact an apple specialist through phone because of my work schedule and work load.  I have contacted the retailer before when I tried to return it for replacement or repair but he told me that it is under Apple's warranty, not theirs. I do hope that I can get a help from you because I want to really enjoy my device. Thank you and Im looking forward for the responce/assistance form you.

    I suggest you don't apply pressure to the screen - it's a Touch - you touch the screen not push it.
    Phil

  • 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.

Maybe you are looking for

  • RE: Profit Center

    Hi experts, I want to create Profit center through LSMW, in profit center master recard one field is there, profit center group, that one i know (KCH1)i have created, Where should i create, that profit center group, i am not familir on that, is there

  • Difficulty with pdf form trying to "choose" one of two paragraphs of text

    I am creating a PDF form and trying to find a way to choose one of two groups of text that are about paragraph long. and only having the the one I choose be visible on my pdf.  I tried using a dropdown list, but it would not accmodate the amount of t

  • GRC 5.3 | CUP | Specific Interesting Workflow

    Can anyone tell me if the following is possible: Use as a stage CAD the web service 'Role Approver' in a AE workflow (while this is more a CAD for a RE workflow) Risk owners have been defined in RAR. It is possible to enforce Risk Analysis before apr

  • I need to replace my keyboard about once per year.  What gives?

    I purchase an Apple brand keyboard and it works fine for what I think is about one year, perhaps a bit less. Eventually, one or more keys fail. Right now I have to trigger the caps lock in order to get caps on specific letter keys; the shift key does

  • HT5550 When I try to update my events and projects, the application crashes - why?

    Hi - I haven't been using FCPX for over a year (when it was working fine) and since then I have upgraded my OSX from Snow Leopard to Mountain Lion (10.8.4). I have also just updated FCPX to version 10.0.9. Now when I start the program I am prompted t