Avidemux Forum

Avidemux => Windows => Topic started by: nekomaru anegawa on April 11, 2022, 10:33:32 PM

Title: avidemux 2.7.8 Bug report
Post by: nekomaru anegawa on April 11, 2022, 10:33:32 PM
Import settings and save.
(Output Format) is set to (MP4 Muxer), it will be saved.
(Audio) is set to (Outoput), it is not saved.
Why?
Title: Re: avidemux 2.7.8 Bug report
Post by: szlldm on April 11, 2022, 10:38:46 PM
You have to manually edit defaultSettings.py.
Set your preferences, then close the program. Check lastEdit.py, and copy adm.audio* lines into  defaultSettings.py
Before these line put
if adm.audioTotalTracksCount() > 0:
then indent the following adm.audio* lines.
Example:
if adm.audioTotalTracksCount() > 0:
    adm.audioClearTracks()
    adm.audioAddTrack(0)
    adm.audioCodec(0, "LavAC3", "bitrate=160")
    adm.audioSetMixer(0, "STEREO");

It will onyl work, if you do a "Load saved settings" (Ctrl+R) AFTER you loaded a video.
Title: Re: avidemux 2.7.8 Bug report
Post by: eumagga0x2a on April 11, 2022, 10:52:31 PM
Audio encoder selected for the first audio track was (and still is) not saved as default configuration on purpose as Avidemux' audio configuration is tied to availability of an audio track (the application would crash if it is missing).

"Load saved settings" would help only if you have added commands to configure a particular audio encoder manually, knowing that your changes will be overwritten the next time you use "save settings as default" menu action. I would instead recommend to use the "custom" subdirectory of Avidemux profile for such purposes.