Package tv.hd3g.fflauncher.acm
Class AudioChannelManipulation
java.lang.Object
tv.hd3g.fflauncher.acm.AudioChannelManipulation
0 is always the first !
One by setup and source file (OutputAudioStream is relative to input stream, retative to sources files).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFilterChains(boolean useJoinInsteadOfMerge) Only add -map "-map stream_ref"...getMapParameters(BiFunction<Integer, OutputAudioStream, Parameters> parametersMapper) You should add yourself "-map stream_ref"getMapParameters(List<String> prependToMapList) getMapParameters(List<FFprobeJAXB> sourceFiles, BiPredicate<Integer, StreamType> addNonAudioStreamFromSources) toString()
-
Constructor Details
-
AudioChannelManipulation
-
-
Method Details
-
toString
-
getMapParameters
public List<Parameters> getMapParameters(BiFunction<Integer, OutputAudioStream, Parameters> parametersMapper) You should add yourself "-map stream_ref"- Parameters:
parametersMapper- (OutputAudioStream absolute index, OutputAudioStream) -> Parameters to appends- Returns:
- one item by output file
-
getMapParameters
Only add -map "-map stream_ref"...- Returns:
- one item by output file
-
getMapParameters
-
getMapParameters
public List<Parameters> getMapParameters(List<FFprobeJAXB> sourceFiles, BiPredicate<Integer, StreamType> addNonAudioStreamFromSources) - Parameters:
sourceFiles- original file analysingaddNonAudioStreamFromSources- : File index in sourceFiles, non-audio stream in file -> add to map list- Returns:
- add non-audio sources (video, data) + getMapParameters
-
getFilterChains
-