(https://avidemux.org/smif/proxy.php?request=http%3A%2F%2Fcdn.imgpaste.net%2F2016%2F09%2F14%2Fd45c5f88f95693910cf472c66d69d802.jpg&hash=368c0eb9d9c1b607307d4e4ef8d9fffdd248e26a)
How the comand line code for this?
Command line: --run script filename.
Download attached ac3-mkv.py, place in folder with videos.
Add this to command line
--run ac3-mkv.py
ac3-mkv.py:
#PY <- Needed to identify #
#--automatically built--
adm = Avidemux()
adm.videoCodec("Copy")
adm.audioClearTracks()
adm.setSourceTrackLanguage(0,"und")
adm.audioAddTrack(0)
adm.audioCodec(0, "LavAC3");
adm.audioSetDrc(0, 0)
adm.audioSetShift(0, 0,0)
adm.setContainer("MKV", "forceDisplayWidth=False", "displayWidth=1280")