podla tohto prikladu by som potreboval prekonvertovat len audio do aac..
set avidemux="c:\Program Files\Avidemux 2.7 VC++ 64bits\avidemux.exe"
set videocodec("Copy")
set audiocodec("copy")
set setContainer("MP4", "muxerType=0", "optimize=1", "forceAspectRatio=True", "aspectRatio=1", "rotation=0")
for %%f in (*.ts) do %avidemux% --video-codec %videocodec% --audio-codec %audiocodec% --load "%%f" --save "%%f.mp4" --quit
takze som skusil toto, ale samozrejme nefunguje...co tam treba doplnit?
set avidemux="c:\Program Files\Avidemux 2.7 VC++ 64bits\avidemux.exe"
set videocodec=Copy
set audiocodec=FDK_AAC
for %%f in (*.avi) do %avidemux% --video-codec %videocodec% --audio-codec %audiocodec% --load "%%f" --save "%%f.mkv" --quit