Uses of Class
ws.schild.jave.encode.EncodingAttributes
Packages that use EncodingAttributes
-
Uses of EncodingAttributes in ws.schild.jave
Methods in ws.schild.jave with parameters of type EncodingAttributesModifier and TypeMethodDescriptionvoidEncoder.encode(List<MultimediaObject> multimediaObjects, File target, EncodingAttributes attributes) voidEncoder.encode(List<MultimediaObject> multimediaObjects, File target, EncodingAttributes attributes, EncoderProgressListener listener) Re-encode a multimedia file(s).voidEncoder.encode(List<MultimediaObject> multimediaObjects, File target, EncodingAttributes attributes, EncoderProgressListener listener, List<EncodingArgument> currOptions) Re-encode a multimedia file(s).voidEncoder.encode(MultimediaObject multimediaObject, File target, EncodingAttributes attributes) Re-encode a multimedia file(s).voidEncoder.encode(MultimediaObject multimediaObject, File target, EncodingAttributes attributes, EncoderProgressListener listener) Re-encode a multimedia file. -
Uses of EncodingAttributes in ws.schild.jave.encode
Methods in ws.schild.jave.encode that return EncodingAttributesModifier and TypeMethodDescriptionEncodingAttributes.setAudioAttributes(AudioAttributes audioAttributes) Sets the attributes for the encoding of the audio stream in the target multimedia file.EncodingAttributes.setDecodingThreads(int decodingThreads) Number of threads to use for decoding (if supported by codec) -1 means use default of ffmpegEncodingAttributes.setDuration(Float duration) Sets the duration (seconds) of the re-encoded stream.EncodingAttributes.setEncodingThreads(Integer encodingThreads) Number of threads to use for encoding (if supported by codec) null means use default of ffmpegEncodingAttributes.setExtraContext(Map<String, String> context) Adds all key/value pairs from context to the extraContext private variable.Meant to be used in conjunction withEncoder.addOptionAtIndex(EncodingArgument, Integer).Add context here and retrieve the context via an EncodingArgument.EncodingAttributes.setFilterThreads(int filterThreads) ffmpeg uses multiple cores for filteringEncodingAttributes.setInputFormat(String inputFormat) Sets the format name for the source multimedia file.EncodingAttributes.setLoop(boolean loop) Sets if the inputs will be looped or not.EncodingAttributes.setMapMetaData(boolean mapMetaData) Copy over meta data from original file to new output if possibleSets the start offset time (seconds).EncodingAttributes.setOutputFormat(String format) Sets the format name for the encoded target multimedia file.Are the file paths considered "safe": A file path is considered safe if it does not contain a protocol specification and is relative and all components only contain characters from the portable character set (letters, digits, period, underscore and hyphen) and have no period at the beginning of a component.EncodingAttributes.setVideoAttributes(VideoAttributes videoAttributes) Sets the attributes for the encoding of the video stream in the target multimedia file.Methods in ws.schild.jave.encode with parameters of type EncodingAttributesModifier and TypeMethodDescriptionEncodingArgument.getArguments(EncodingAttributes context) Gets the Stream of arguments given the EncodingAttributes as context.PredicateArgument.getArguments(EncodingAttributes context) SimpleArgument.getArguments(EncodingAttributes context) ValueArgument.getArguments(EncodingAttributes context) VideoFilterArgument.getArguments(EncodingAttributes context) protected BooleanValueArgument.isPresent(EncodingAttributes context) Constructor parameters in ws.schild.jave.encode with type arguments of type EncodingAttributesModifierConstructorDescriptionPredicateArgument(ArgType argType, String argument1, String argument2, Predicate<EncodingAttributes> predicate) PredicateArgument(ArgType argType, String argument, Predicate<EncodingAttributes> predicate) SimpleArgument(ArgType argumentType, Function<EncodingAttributes, Stream<String>> getArguments) ValueArgument(ArgType argType, String argumentName, Function<EncodingAttributes, Optional<String>> valueGetter) VideoFilterArgument(ArgType argumentType, Function<EncodingAttributes, Stream<String>> getArguments)