Hi again,
I see you edited src/backup/k9mp4enc.cpp, which is another thing I've been playing with yesterday, because in the FFMpeg documentation (see
http://ffmpeg.org/ffmpeg.html#Advanced-options) I read
‘-async samples_per_second’
Audio sync method. "Stretches/squeezes" the audio stream to match the timestamps, the parameter is the maximum samples per second by which the audio is changed. -async 1 is a special case where only the start of the audio stream is corrected without any later correction. This option has been deprecated. Use the asyncts audio filter instead.
which means that in src/backup/k9mp4enc.cpp
cmd << "-async" << "1" ;
should be replaced with something like
cmd << "-af" << "asyncts=..." ;
but I assume you tested your patch, which replaces "-async 1" with "-async 44100", and it worked, which is quite confusing, really.
Now, let's take the instruction that follows, i.e.
cmd << slNewAudio;
this instruction causes k9copy to append the "-newaudio" option as the last argument of the command, like so
/usr/bin/ffmpeg -i /dev/stdin -vcodec copy -acodec copy -f avi -async 1 -y /home/roberto/MYDVD.avi -newaudio
when trying to encode to Mpeg-4 a DVD selecting more that one audio track; in this case the command fails with error
"Missing argument for option 'newaudio'"
and in fact in the FFMPeg ChangeLog for version 0.9 (see
https://raw.github.com/FFmpeg/FFmpeg/master/Changelog) they state
* -newvideo/-newaudio/-newsubtitle options were removed. Not only were they irregular and highly confusing, they were also redundant. In avconv the -map option will create new streams in the output file and map input streams to them. E.g. avconv -i INPUT -map 0 OUTPUT will create an output stream for each stream in the first input file.
once again I haven't got the faintest idea how to fix this; definitely, without a new maintainer who knows what they're doing (and with a moving target like FFMpeg), I'm afraid k9copy won't last long, no matter how hard we try to patch it in the SlackBuild.
As for the README note, it's fine for me, but I would also add that default FFmpeg options might be deprecated/obsolete and should be review/changed in the Encoders configuration section.
Cheers
Roberto