Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: loop200 on January 10, 2017, 11:18:42 AM

Title: Audio options not remembered in 2.6.17-18
Post by: loop200 on January 10, 2017, 11:18:42 AM
1. Load video
2. Set audio to AAC (FDK)
3. Save video

Now audio codec is showing still AAC (FDK), but:

4. Load another video
5. Save video

Output file has original audio track.
In Avidemux audio codec show AAC (FDK), but in menu Audio/Select Track is clearly Copy option.
Title: Re: Audio options not remembered in 2.6.17-18
Post by: Jan Gruuthuse on January 10, 2017, 02:32:21 PM
Looks like the Avidemux GUI is not refreshed, after a new video is loaded into it.
When you save video it is using copy.
Title: Re: Audio options not remembered in 2.6.17-18
Post by: eumagga0x2a on January 10, 2017, 03:24:47 PM
My bug, should be fixed once https://github.com/mean00/avidemux2/pull/69 (https://github.com/mean00/avidemux2/pull/69) or a better version thereof gets checked in.
Title: Re: Audio options not remembered in 2.6.17-18
Post by: loop200 on January 10, 2017, 07:33:05 PM
"The audio codec reverts to "copy" upon loading a new video if "load default settings" is checked."

For clarify, i have "load default settings" option unchecked. I don't want change default settings. Just need set codec once for all next videos.

Title: Re: Audio options not remembered in 2.6.17-18
Post by: eumagga0x2a on January 10, 2017, 10:52:24 PM
Quote from: loop200 on January 10, 2017, 07:33:05 PM
"The audio codec reverts to "copy" upon loading a new video if "load default settings" is checked."

For clarify, i have "load default settings" option unchecked. I don't want change default settings.

These settings are not application-supplied default settings. They are user-defined saved default settings as a convenience for those who mostly use just one video codec configuration and would like it to be automatically reloaded after they had to switch to a different codec for a single video. Neither video filters nor audio codecs or filters can be saved as default, only video codec and config.

QuoteJust need set codec once for all next videos.

Unless you close Avidemux, the selected audio codec will be retained across videos as of now (the code to reapply the codec selected in the GUI on video load was missing). Try out the latest nightly build or compile Avidemux from source.
Title: Re: Audio options not remembered in 2.6.17-18
Post by: loop200 on January 11, 2017, 09:59:51 AM
Quote from: eumagga0x2a
Neither video filters nor audio codecs or filters can be saved as default, only video codec and config.

Thanks for info.
Too bad that is not recorded video+audio+config. I always use one audio codec with same parameters.
Title: Re: Audio options not remembered in 2.6.17-18
Post by: Jan Gruuthuse on January 11, 2017, 10:06:05 AM
You could use similar method as in: 2.6 audio track switching in job.py (http://avidemux.org/smif/index.php/topic,10499.0.html)
and place the project.py in to the avidemux "custom" folder
This would then become available in Avidemux Menu: Custom with the name you gave the file.