Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: sundansx on August 01, 2016, 03:14:06 AM

Title: append resets audio codec
Post by: sundansx on August 01, 2016, 03:14:06 AM
I have a python project that I load that sets the audio codec to FAAC (aac).  It automatically loads the video in the project.  I then select "append video" and it appends the second video.  The videos are from the same camera and are the exact same a/v format and the original audio track is AC3.  The UI shows FAAC (aac) for the audio codec, but when I press save the video produced (and the report in the detailed section on the encode) contains AC3.  If I do the same thing again and then reselect AAC from the pulldown, the video produced (and the detailed report) is properly saved as AAC.  It almost seems as if the underlying setting get reset to "copy" when the append function is used.  Please fix.

edit:  I see this in the Windows 64bit 2.6 release and the 2.6 nightly (avidemux_2.6.12_r160730_win64) under Windows 10 pro
Title: Re: append resets audio codec
Post by: Jan Gruuthuse on August 01, 2016, 05:03:49 AM
Workflow:
Load video, append video then set audio track(s) afterwards.
Title: Re: append resets audio codec
Post by: sundansx on August 01, 2016, 05:41:51 AM
In my particular workflow, I load the project with the initial video upon startup (video, audio, and muxer) then the user appends further videos if needed.  I am using if for a wife-friendly family video editing tool.  I massage the proj file before I launch with some perl to pass in the video.  So, I don't think that workflow will work for me.  Thanks for the suggestion, tho.
Title: Re: append resets audio codec
Post by: Jan Gruuthuse on August 01, 2016, 06:43:16 AM
Before saving set the audio: appending video changes audio settings!
Title: Re: append resets audio codec
Post by: Jan Gruuthuse on August 01, 2016, 06:47:44 AM
you can apply py script to change audio only, see: 2.6 audio track switching in job.py (http://avidemux.org/smif/index.php/topic,10499.0.html)
Title: Re: append resets audio codec
Post by: sundansx on August 01, 2016, 05:50:26 PM
I already have a workaround that is more simple.  I just have the wife reselect AAC from the pulldown on the left and it will work correctly.  I am worried that any extra step like this would be missed and she would end up with a bunch of videos that will have the wrong sound and won't play in flash  I wanted to submit this problem so that it will be put in as a bug to be fixed in the future.  Where does one do a bugsub for this project?  If I can get some time, I will try to debug the problem and submit a patch, as I am a software dev.
Title: Re: append resets audio codec
Post by: mean on August 01, 2016, 07:11:03 PM
It is a minor bug, it will be fixed soon
Title: Re: append resets audio codec
Post by: sundansx on August 01, 2016, 07:37:03 PM
Great, Ill look out for the fix.  Thanks, Jan, for the suggestions.  Thanks to the AviDemux team for sharing their excellent application with the community.