#10 Project configuration data is lost on save

open
nobody
None
5
2012-10-04
2009-11-10
Anonymous
No

Project configuration data is lost when doing:

File -> Save Proyect

and on

File -> Add to joblist

How to reproduce it? Esay, follow theese steps:
-Open avidemux (any version)
-Open a video (with or without audio streams)
-Set Video codec -> COPY
-Set Audio codec -> COPY
-Set Format -> AVI, dual audio
-Go to Audio -> Main Track and select the first audio stream (any one, from original avi or external)
-Go to Audio -> Secondary Track and select the second audio stream (any one, from original avi or external)
-Now go to File -> Add to joblist

If you see joblist file (second audio stream configuration is lost), so when job runs makes an AVI with only one audio stream, while if instead of adding it to joblist it is runned inmediatly it creates an avi with dual audio (two audio streams).

Same happens if instead of adding to joblist it is selected File -> Save Proyect, just to do it at a later time... On saved file second audio is lost, so when File -> Load/Run proyect is selected, the loaded proyect only has one audio stream.

With all this it results in impossible to make a batch job that remux a lot of videos (without audio) with their own two audio streams per video,... i have tried to add first the first audio stream, and then the second, but all times the second audio stream is not added...

Why i consider a BUG? Easy: Save a project and at a later time reload it must let all configurations as where when project was saved, and it is not; secondary audio stream is lost.

Just an example:
On ~/WorkDir/ have about 60 video files, all called like this: S##E##.onlyvideo.avi; where ## are numbers from 00 with an incrementally by one. This files only contains video stream.
On ~/WorkDir/ also have about 60 audio files, all called like this: S##E##_ENG.ac3; where ## are numbers from 00 with an incrementally by one. This files only contains one audio stream, for example English.
On ~/WorkDir/ also have about 60 audio files, all called like this: S##E##_ESP.ac3; where ## are numbers from 00 with incrementally by one. This files only contains one audio stream, for example Spanish.
Wanted to mux all S##E##.onlyvideo.avi + S##E##_ENG.ac3 + S##E##_ESP.ac3 to S##E##.avi, so get 60 videos each with Dual Audio, if i do it manually one by one executing it i can do it, but i want to do it in some sort of batch proccess... for the example i said 60 videos, but really i have a lot more, about 89*35=3115, so manually is not an option.

So i tried to create a job, and copy such job modifing it, but what was my surprise i do not see on it the second audio stream! so i tested: run such job and as i supposed the resulting video has only one audio stream... same with project, i see project file with gedit and also second audio is missing... also reopen a previously saved project makes it to loose second audio stream configuration.

For all this i consider such a BUG.

Hope get repaired soon.

Note: I have tested such on both Gtk+ and Qt, not on cli since i do not see anywhere the script command to load secondary audio stream!!!

Discussion