Page 1 of 1

Batch encode - variable number of audio tracks in the source

Posted: Mon Dec 05, 2011 6:03 am
by ofueckert
Hi,

When batch encoding different source material, the individual source files might have multiple audio and subtitle tracks.

using cli:
... -a 1,2,3 -E copy,copy,copy -s 1,2,3,4,5,6,7,8,9,10

Subtitels scan fine. If a subtitle track does not exists a warning is printed and handbrake-cli skips that track but proceeds properly
"Warning: Could not find subtitle track 2, skipped"

However, if there are less audio tracks than specified on the CLI (e.g. -a 1,2,3) but track 3 does not exist and error is thrown and handbrake quits:
"ERROR: Invalid audio input track '3', exiting."
This behaviour was introduced in changeset 1681 (https://trac.handbrake.fr/changeset/1681).

This prevents from batch encoding files while passing through multiple variable audiotracks.
I was wondering about the reason for the changeset 1681. Can it be reversed to allow for the same behaviour as for the subtitles (auto-skip)?

best regards,

Oliver.

Re: Batch encode - variable number of audio tracks in the so

Posted: Wed Dec 07, 2011 4:08 pm
by Deleted User 11865
Audio should work like subtitles in that regard. I might look into it if I have the time.

Re: Batch encode - variable number of audio tracks in the so

Posted: Wed Dec 07, 2011 8:57 pm
by jamiemlaw
I posted a potential solution in this thread:

viewtopic.php?f=13&t=22024&p=101199

Re: Batch encode - variable number of audio tracks in the so

Posted: Wed Feb 15, 2012 9:45 pm
by Deleted User 11865
I'm getting started on this: https://reviews.handbrake.fr/r/271/

Re: Batch encode - variable number of audio tracks in the so

Posted: Sat Feb 25, 2012 12:00 am
by ScooterComputer
THANKS RODEO!!!!!

(I eagerly await! This is my #1 most anticipated feature; will make batching show DVDs a whole heck of a lot easier.)

Re: Batch encode - variable number of audio tracks in the so

Posted: Sat Feb 25, 2012 12:04 am
by Deleted User 11865
This patch (or a variation of it) will land in the nightlies at some point, but only after the 0.9.6 release.

Re: Batch encode - variable number of audio tracks in the so

Posted: Wed Mar 14, 2012 3:45 pm
by cayars
Any update on this yet Rodeo?

Re: Batch encode - variable number of audio tracks in the so

Posted: Wed Mar 14, 2012 4:08 pm
by Deleted User 11865
No one has reviewed my patch yet. I won't commit until at least another dev considers my patch to be OK and ready.

Re: Batch encode - variable number of audio tracks in the so

Posted: Thu May 03, 2012 3:39 pm
by Deleted User 11865

Re: Batch encode - variable number of audio tracks in the so

Posted: Mon Oct 08, 2012 11:19 pm
by fiaskogaul
I'm really looking for an solution on this.
Has your patch made it to a released version or is there some workaround?

thanks,

Re: Batch encode - variable number of audio tracks in the so

Posted: Tue Oct 09, 2012 8:40 am
by Smithcraft
I would believe that would be the post that is right above yours.

SC

Re: Batch encode - variable number of audio tracks in the so

Posted: Sat Nov 24, 2012 10:16 am
by comzine
First: nice software!!!

But I'm missing this feature in handbrake-cli 0.9.8 from official ppa.

Re: Batch encode - variable number of audio tracks in the so

Posted: Tue Nov 27, 2012 7:19 pm
by Deleted User 11865
comzine wrote:I'm missing this feature in handbrake-cli 0.9.8 from official ppa.
It's only in the nightlies. Next version will have it.

Re: Batch encode - variable number of audio tracks in the so

Posted: Sat Dec 22, 2012 3:48 pm
by Lebenita
Thanks Rodeo! As a new user to HandBrake CLI, this was the first problem that tripped up my batch processing. It's great to see the problem has been resolved. Will check out the nightlies.