VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. I have numerous AVI files that have 2 audio tracks, I want to remove 1 of the audio tracks, save it as MP4 and correct the 500ms audio offset. Usually I use Handbrake and thats the only program I really know well. However for some reason you can't batch remove audio tracks with Handbrake, it will do the first one properly then default for the rest. Apparently it's a known issue, or "feature".... but I digress.

    My point is I'm coming as a total n00b to Avidemux. I'm trying to figure out how to make the changes I described to all the files in a folder in one quick batch. I've got so far as to generate the below Project Script, but I don't understand how to run it. Can anyone with experience assist?

    PHP Code:
    #PY  <- Needed to identify #
    #--automatically built--

    adm Avidemux()
    adm.loadVideo("/Users/Me/Desktop/ATHF_S1/ATHF-S01E01.avi")
    adm.clearSegments()
    adm.addSegment(001290872916)
    adm.markerA 0
    adm
    .markerB 1290872916
    adm
    .videoCodec("Copy")
    adm.audioClearTracks()
    adm.setSourceTrackLanguage(0,"unknown")
    adm.setSourceTrackLanguage(1,"und")
    adm.audioAddTrack(1)
    adm.audioCodec(0"copy");
    adm.audioSetDrc(00)
    adm.audioSetShift(01,500)
    adm.setContainer("MP4V2""optimize=0""add_itunes_metadata=0"
    information wants to be free
    Quote Quote  
  2. I pieced it together from the below video, good luck to everyone else attempting to do the same.

    https://youtu.be/pxMeIU-ghXY
    information wants to be free
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!