Avidemux Forum

Participate => Patch gallery => Topic started by: hinterwaeldler on August 26, 2014, 10:28:46 PM

Title: Append/Replace a sound track + Setting the language via command line
Post by: hinterwaeldler on August 26, 2014, 10:28:46 PM
Hi,

attached two patches, which allows to set or append an audio track via command line and modify the assigned name.

The first allows to replace a given Index (1..4) or append, if the index is larger than the amount of assigned audio streams.
In case that an additional video is appended later on, the audio assignments get lost. So the same behaviour as within the GUI.

The second allows to modify the assigned language using the short code. Same index values are used
To avoid forgetting the language, it is possible to list all known languages and the short version of them

Note: this patch changes the way, how the options are taken into account, as the argument needs two parameters.
Title: Re: Append/Replace a sound track + Setting the language via command line
Post by: mean on August 28, 2014, 04:56:14 AM
committed, thanks
Title: Re: Append/Replace a sound track + Setting the language via command line
Post by: Jan Gruuthuse on August 28, 2014, 03:15:25 PM
Commit is not showing up @ https://www.gitorious.org/avidemux2-6. Latest showing here 2014-08-12 06:34:30 UTC.
Title: Re: Append/Replace a sound track + Setting the language via command line
Post by: mean on August 29, 2014, 01:10:30 PM
i had problem with gitorious
now i'm using
https://github.com/mean00/avidemux2
Title: Re: Append/Replace a sound track + Setting the language via command line
Post by: Jan Gruuthuse on August 29, 2014, 06:41:26 PM
OK