Author Topic: MTS to mp4 batch file problem  (Read 2082 times)

bca

  • Newbie
  • *
  • Posts: 1
MTS to mp4 batch file problem
« on: February 24, 2014, 03:39:50 PM »
Hi
Bit new to avidemux.
Can anyone see a problem with this batch file?
It runs ok but the audio of the new file remains the same as the original file(ac3) - as though audiocodec was set to copy.
Using 2.6.7

set avidemux="C:\Program Files\Avidemux 2.6\avidemux.exe"
set videocodec=Copy
set audiocodec=Faac
set audiobitrate=384
set audioSetMixer=STEREO

for %%f in (*.MTS) do %avidemux% --video-codec %videocodec% --audio-codec %audiocodec% --audio-bitrate %audiobitrate% --audio-setmixer %audioSetMixer% --force-alt-h264 --load "%%f" --save "%%f.mp4" --quit
« Last Edit: February 24, 2014, 03:41:53 PM by bca »