Uses of Class
ws.schild.jave.encode.EncodingAttributes
-
Packages that use EncodingAttributes Package Description ws.schild.jave ws.schild.jave.encode -
-
Uses of EncodingAttributes in ws.schild.jave
Methods in ws.schild.jave with parameters of type EncodingAttributes Modifier and Type Method Description voidEncoder. encode(java.util.List<MultimediaObject> multimediaObjects, java.io.File target, EncodingAttributes attributes)voidEncoder. encode(java.util.List<MultimediaObject> multimediaObjects, java.io.File target, EncodingAttributes attributes, EncoderProgressListener listener)Re-encode a multimedia file(s).voidEncoder. encode(java.util.List<MultimediaObject> multimediaObjects, java.io.File target, EncodingAttributes attributes, EncoderProgressListener listener, java.util.List<EncodingArgument> currOptions)Re-encode a multimedia file(s).voidEncoder. encode(MultimediaObject multimediaObject, java.io.File target, EncodingAttributes attributes)Re-encode a multimedia file(s).voidEncoder. encode(MultimediaObject multimediaObject, java.io.File target, EncodingAttributes attributes, EncoderProgressListener listener)Re-encode a multimedia file. -
Uses of EncodingAttributes in ws.schild.jave.encode
Fields in ws.schild.jave.encode with type parameters of type EncodingAttributes Modifier and Type Field Description private java.util.function.Function<EncodingAttributes,java.util.stream.Stream<java.lang.String>>SimpleArgument. getArgumentsprivate java.util.function.Function<EncodingAttributes,java.util.stream.Stream<java.lang.String>>VideoFilterArgument. getArgumentsprivate java.util.function.Predicate<EncodingAttributes>PredicateArgument. predicateprivate java.util.function.Function<EncodingAttributes,java.util.Optional<java.lang.String>>ValueArgument. valueGetterMethods in ws.schild.jave.encode that return EncodingAttributes Modifier and Type Method Description EncodingAttributesEncodingAttributes. setAudioAttributes(AudioAttributes audioAttributes)Sets the attributes for the encoding of the audio stream in the target multimedia file.EncodingAttributesEncodingAttributes. setDecodingThreads(int decodingThreads)Number of threads to use for decoding (if supported by codec) -1 means use default of ffmpegEncodingAttributesEncodingAttributes. setDuration(java.lang.Float duration)Sets the duration (seconds) of the re-encoded stream.EncodingAttributesEncodingAttributes. setEncodingThreads(java.lang.Integer encodingThreads)Number of threads to use for encoding (if supported by codec) null means use default of ffmpegEncodingAttributesEncodingAttributes. setExtraContext(java.util.Map<java.lang.String,java.lang.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.EncodingAttributesEncodingAttributes. setFilterThreads(int filterThreads)ffmpeg uses multiple cores for filteringEncodingAttributesEncodingAttributes. setInputFormat(java.lang.String inputFormat)Sets the format name for the source multimedia file.EncodingAttributesEncodingAttributes. setLoop(boolean loop)Sets if the inputs will be looped or not.EncodingAttributesEncodingAttributes. setMapMetaData(boolean mapMetaData)Copy over meta data from original file to new output if possibleEncodingAttributesEncodingAttributes. setOffset(java.lang.Float offset)Sets the start offset time (seconds).EncodingAttributesEncodingAttributes. setOutputFormat(java.lang.String format)Sets the format name for the encoded target multimedia file.EncodingAttributesEncodingAttributes. setSafe(java.lang.Integer safe)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.EncodingAttributesEncodingAttributes. 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 EncodingAttributes Modifier and Type Method Description java.util.stream.Stream<java.lang.String>EncodingArgument. getArguments(EncodingAttributes context)Gets the Stream of arguments given the EncodingAttributes as context.java.util.stream.Stream<java.lang.String>PredicateArgument. getArguments(EncodingAttributes context)java.util.stream.Stream<java.lang.String>SimpleArgument. getArguments(EncodingAttributes context)java.util.stream.Stream<java.lang.String>ValueArgument. getArguments(EncodingAttributes context)java.util.stream.Stream<java.lang.String>VideoFilterArgument. getArguments(EncodingAttributes context)private java.util.Optional<java.lang.String>ValueArgument. getValue(EncodingAttributes context)protected java.lang.BooleanValueArgument. isPresent(EncodingAttributes context)Constructor parameters in ws.schild.jave.encode with type arguments of type EncodingAttributes Constructor Description PredicateArgument(ArgType argType, java.lang.String argument1, java.lang.String argument2, java.util.function.Predicate<EncodingAttributes> predicate)PredicateArgument(ArgType argType, java.lang.String argument, java.util.function.Predicate<EncodingAttributes> predicate)SimpleArgument(ArgType argumentType, java.util.function.Function<EncodingAttributes,java.util.stream.Stream<java.lang.String>> getArguments)ValueArgument(ArgType argType, java.lang.String argumentName, java.util.function.Function<EncodingAttributes,java.util.Optional<java.lang.String>> valueGetter)VideoFilterArgument(ArgType argumentType, java.util.function.Function<EncodingAttributes,java.util.stream.Stream<java.lang.String>> getArguments)
-