Adds ability to force-select specific audio and subtitle streams for the anime converter
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good
This commit is contained in:
@ -33,7 +33,7 @@ public class AudioConverter extends AbstractConverter {
|
||||
}
|
||||
|
||||
//Gets the first audio stream from the file and adds it to the output file
|
||||
AudioStream audioStream = getFirstAudioSteam(streams);
|
||||
AudioStream audioStream = getNthAudioSteam(streams, 0);
|
||||
FFMpegHelper.addAudioStream(command, audioStream, false);
|
||||
command.add(outFile);
|
||||
|
||||
@ -44,4 +44,5 @@ public class AudioConverter extends AbstractConverter {
|
||||
public String[] getValidFormats() {
|
||||
return audioFormats;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user