Author Topic: Append/Replace a sound track + Setting the language via command line  (Read 3155 times)

hinterwaeldler

  • Newbie
  • *
  • Posts: 31
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.

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10919
Re: Append/Replace a sound track + Setting the language via command line
« Reply #1 on: August 28, 2014, 04:56:14 AM »
committed, thanks

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5423
Re: Append/Replace a sound track + Setting the language via command line
« Reply #2 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.

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10919
Re: Append/Replace a sound track + Setting the language via command line
« Reply #3 on: August 29, 2014, 01:10:30 PM »
i had problem with gitorious
now i'm using
https://github.com/mean00/avidemux2

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5423
Re: Append/Replace a sound track + Setting the language via command line
« Reply #4 on: August 29, 2014, 06:41:26 PM »
OK