News:

--

Main Menu

Command line for this

Started by sampokong, September 14, 2016, 09:16:12 AM

Previous topic - Next topic

sampokong


How the comand line code for this?

Jan Gruuthuse

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")