Skip navigation links
A B C D E F G I M P R S T U V W 

A

abortEncoding() - Method in class ws.schild.jave.Encoder
Force the encoding process to stop
addArgument(String) - Method in class ws.schild.jave.FFMPEGExecutor
Adds an argument to the ffmpeg executable call.
addFilter(VideoFilter) - Method in class ws.schild.jave.VideoAttributes
 
analyzeNewLine(String) - Method in class ws.schild.jave.ConversionOutputAnalyzer
 
AudioAttributes - Class in ws.schild.jave
Attributes controlling the audio encoding process.
AudioAttributes() - Constructor for class ws.schild.jave.AudioAttributes
 
AudioInfo - Class in ws.schild.jave
Instances of this class report informations about an audio stream that can be decoded.
AudioInfo() - Constructor for class ws.schild.jave.AudioInfo
 

B

buildTimeDuration(long) - Static method in class ws.schild.jave.Utils
https://www.ffmpeg.org/ffmpeg-utils.html#time-duration-syntax Build a time/duration string based on the milisenconds passed in milis [-][HH:]MM:SS[.m...] or [-]S+[.m...]

C

Color - Class in ws.schild.jave
 
Color(String) - Constructor for class ws.schild.jave.Color
 
Color(String, String) - Constructor for class ws.schild.jave.Color
 
ConversionOutputAnalyzer - Class in ws.schild.jave
 
ConversionOutputAnalyzer(long, EncoderProgressListener) - Constructor for class ws.schild.jave.ConversionOutputAnalyzer
 
createExecutor() - Method in class ws.schild.jave.FFMPEGLocator
It returns a brand new FFMPEGExecutor, ready to be used in a ffmpeg call.

D

DefaultFFMPEGLocator - Class in ws.schild.jave
The default ffmpeg executable locator, which exports on disk the ffmpeg executable bundled with the library distributions.
DefaultFFMPEGLocator() - Constructor for class ws.schild.jave.DefaultFFMPEGLocator
It builds the default FFMPEGLocator, exporting the ffmpeg executable on a temp file.
destroy() - Method in class ws.schild.jave.FFMPEGExecutor
If there's a ffmpeg execution in progress, it kills it.
DIRECT_STREAM_COPY - Static variable in class ws.schild.jave.AudioAttributes
This value can be setted in the codec field to perform a direct stream copy, without re-encoding of the audio stream.
DIRECT_STREAM_COPY - Static variable in class ws.schild.jave.VideoAttributes
This value can be setted in the codec field to perform a direct stream copy, without re-encoding of the audio stream.

E

encode(MultimediaObject, File, EncodingAttributes) - Method in class ws.schild.jave.Encoder
Re-encode a multimedia file(s).
encode(List<MultimediaObject>, File, EncodingAttributes) - Method in class ws.schild.jave.Encoder
 
encode(MultimediaObject, File, EncodingAttributes, EncoderProgressListener) - Method in class ws.schild.jave.Encoder
Re-encode a multimedia file.
encode(List<MultimediaObject>, File, EncodingAttributes, EncoderProgressListener) - Method in class ws.schild.jave.Encoder
Re-encode a multimedia file(s).
Encoder - Class in ws.schild.jave
Main class of the package.
Encoder() - Constructor for class ws.schild.jave.Encoder
It builds an encoder using a DefaultFFMPEGLocator instance to locate the ffmpeg executable to use.
Encoder(FFMPEGLocator) - Constructor for class ws.schild.jave.Encoder
It builds an encoder with a custom FFMPEGLocator.
EncoderException - Exception in ws.schild.jave
Encoding expection.
EncoderProgressListener - Interface in ws.schild.jave
Encoding progress listener interface.
EncodingAttributes - Class in ws.schild.jave
Attributes controlling the encoding process.
EncodingAttributes() - Constructor for class ws.schild.jave.EncodingAttributes
 
escapeArgument(String) - Static method in class ws.schild.jave.Utils
Escape all special characters []=;, to be safe to use in command line
execute(boolean, boolean) - Method in class ws.schild.jave.FFMPEGExecutor
Executes the ffmpeg process with the previous given arguments.
execute() - Method in class ws.schild.jave.FFMPEGExecutor
Executes the ffmpeg process with the previous given arguments.

F

FFMPEGExecutor - Class in ws.schild.jave
A ffmpeg process wrapper.
FFMPEGExecutor(String) - Constructor for class ws.schild.jave.FFMPEGExecutor
It build the executor.
FFMPEGLocator - Class in ws.schild.jave
Abstract class whose derived concrete instances are used by Encoder to locate the ffmpeg executable path.
FFMPEGLocator() - Constructor for class ws.schild.jave.FFMPEGLocator
 

G

getAddArgument() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getAlpha() - Method in class ws.schild.jave.Color
 
getAudio() - Method in class ws.schild.jave.MultimediaInfo
Returns a set of audio-specific informations.
getAudioAttributes() - Method in class ws.schild.jave.EncodingAttributes
Returns the attributes for the encoding of the audio stream in the target multimedia file.
getAudioDecoders() - Method in class ws.schild.jave.Encoder
Returns a list with the names of all the audio decoders bundled with the ffmpeg distribution in use.
getAudioEncoders() - Method in class ws.schild.jave.Encoder
Returns a list with the names of all the audio encoders bundled with the ffmpeg distribution in use.
getBitRate() - Method in class ws.schild.jave.AudioInfo
Returns the audio stream (average) bit rate.
getBitRate() - Method in class ws.schild.jave.VideoInfo
Returns the video stream (average) bit rate.
getBorderColor() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getBorderWidth() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getBoxBorderWidth() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getBoxColor() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getChannels() - Method in class ws.schild.jave.AudioInfo
Returns the audio stream channels number (1=mono, 2=stereo).
getCoders(boolean, boolean) - Method in class ws.schild.jave.Encoder
Returns a list with the names of all the coders bundled with the ffmpeg distribution in use.
getColor() - Method in class ws.schild.jave.Color
 
getDecoder() - Method in class ws.schild.jave.AudioInfo
Returns the audio stream decoder name.
getDecoder() - Method in class ws.schild.jave.VideoInfo
Returns the video stream decoder name.
getDecodingThreads() - Method in class ws.schild.jave.EncodingAttributes
Number of threads to use for decoding (if supported by codec) -1 means use default of ffmpeg
getDuration() - Method in class ws.schild.jave.EncodingAttributes
Returns the duration (seconds) of the re-encoded stream.
getDuration() - Method in class ws.schild.jave.MultimediaInfo
Returns the stream duration in millis.
getEncodingThreads() - Method in class ws.schild.jave.EncodingAttributes
Number of threads to use for encoding (if supported by codec) -1 means use default of ffmpeg
getErrorStream() - Method in class ws.schild.jave.FFMPEGExecutor
Returns a stream reading from the ffmpeg process standard error channel.
getExpression() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getExpression() - Method in class ws.schild.jave.VideoFilter
 
getFfmpegColor() - Method in class ws.schild.jave.Color
 
getFFMPEGExecutablePath() - Method in class ws.schild.jave.DefaultFFMPEGLocator
 
getFFMPEGExecutablePath() - Method in class ws.schild.jave.FFMPEGLocator
This method should return the path of a ffmpeg executable suitable for the current machine.
getFile() - Method in class ws.schild.jave.MultimediaObject
 
getFilterThreads() - Method in class ws.schild.jave.EncodingAttributes
 
getFontColor() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getFontFile() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getFontName() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getFontSize() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getFormat() - Method in class ws.schild.jave.EncodingAttributes
Returns the format name for the encoded target multimedia file.
getFormat() - Method in class ws.schild.jave.MultimediaInfo
Returns the multimedia file format name.
getFrameRate() - Method in class ws.schild.jave.VideoInfo
Returns the video frame rate.
getHeight() - Method in class ws.schild.jave.VideoSize
Returns the video height.
getInfo() - Method in class ws.schild.jave.MultimediaObject
Returns a set informations about a multimedia file, if its format is supported for decoding.
getInputStream() - Method in class ws.schild.jave.FFMPEGExecutor
Returns a stream reading from the ffmpeg process standard output channel.
getLastWarning() - Method in class ws.schild.jave.ConversionOutputAnalyzer
 
getLineSpacing() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getModeName() - Method in enum ws.schild.jave.VideoAttributes.X264_PROFILE
 
getNumberOfScreens() - Method in class ws.schild.jave.ScreenExtractor
 
getOffset() - Method in class ws.schild.jave.EncodingAttributes
Returns the start offset time (seconds).
getOutputStream() - Method in class ws.schild.jave.FFMPEGExecutor
Returns a stream writing in the ffmpeg process standard input channel.
getPosX() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getPosY() - Method in class ws.schild.jave.filters.VideoDrawtext
ignored if posX & posY are both -1
getProcessExitCode() - Method in class ws.schild.jave.FFMPEGExecutor
Return the exit code of the ffmpeg process If the process is not yet terminated, it waits for the termination of the process
getQuality() - Method in class ws.schild.jave.AudioAttributes
 
getQuality() - Method in class ws.schild.jave.VideoAttributes
 
getSamplingRate() - Method in class ws.schild.jave.AudioInfo
Returns the audio stream sampling rate.
getShadowColor() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getShadowX() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getShadowY() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getSize() - Method in class ws.schild.jave.VideoInfo
Returns the video size.
getSupportedCodingFormats(boolean) - Method in class ws.schild.jave.Encoder
Returns a list with the names of all the file formats supported at en/de-coding time by the underlying ffmpeg distribution.A multimedia file could be encoded and generated only if the specified format is in this list.
getSupportedDecodingFormats() - Method in class ws.schild.jave.Encoder
Returns a list with the names of all the file formats supported at decoding time by the underlying ffmpeg distribution.
getSupportedEncodingFormats() - Method in class ws.schild.jave.Encoder
Returns a list with the names of all the file formats supported at encoding time by the underlying ffmpeg distribution.
getUnhandledMessages() - Method in class ws.schild.jave.ConversionOutputAnalyzer
 
getUnhandledMessages() - Method in class ws.schild.jave.Encoder
Return the list of unhandled output messages of the ffmpeng encoder run
getURL() - Method in class ws.schild.jave.MultimediaObject
 
getVideo() - Method in class ws.schild.jave.MultimediaInfo
Returns a set of video-specific informations.
getVideoAttributes() - Method in class ws.schild.jave.EncodingAttributes
Returns the attributes for the encoding of the video stream in the target multimedia file.
getVideoDecoders() - Method in class ws.schild.jave.Encoder
Returns a list with the names of all the video decoders bundled with the ffmpeg distribution in use.
getVideoEncoders() - Method in class ws.schild.jave.Encoder
Returns a list with the names of all the video encoders bundled with the ffmpeg distribution in use.
getVideoFilters() - Method in class ws.schild.jave.VideoAttributes
 
getWatermarkText() - Method in class ws.schild.jave.filters.VideoDrawtext
 
getWidth() - Method in class ws.schild.jave.VideoSize
Returns the video width.
getX264Profile() - Method in class ws.schild.jave.VideoAttributes
 

I

InputFormatException - Exception in ws.schild.jave
This expection is thrown if a source file format is not recognized.
isFaststart() - Method in class ws.schild.jave.VideoAttributes
 
isMapMetaData() - Method in class ws.schild.jave.EncodingAttributes
 
isReadURLOnce() - Method in class ws.schild.jave.MultimediaObject
 
isURL() - Method in class ws.schild.jave.MultimediaObject
Check if we have a file or an URL

M

message(String) - Method in interface ws.schild.jave.EncoderProgressListener
This method is called every time the encoder need to send a message (usually, a warning).
MultimediaInfo - Class in ws.schild.jave
Instances of this class report informations about a decoded multimedia file.
MultimediaInfo() - Constructor for class ws.schild.jave.MultimediaInfo
 
MultimediaObject - Class in ws.schild.jave
 
MultimediaObject(File) - Constructor for class ws.schild.jave.MultimediaObject
It builds an extractor using a DefaultFFMPEGLocator instance to locate the ffmpeg executable to use.
MultimediaObject(URL) - Constructor for class ws.schild.jave.MultimediaObject
It builds an extractor using a DefaultFFMPEGLocator instance to locate the ffmpeg executable to use.
MultimediaObject(URL, boolean) - Constructor for class ws.schild.jave.MultimediaObject
It builds an extractor using a DefaultFFMPEGLocator instance to locate the ffmpeg executable to use.
MultimediaObject(File, FFMPEGLocator) - Constructor for class ws.schild.jave.MultimediaObject
It builds an extractor with a custom FFMPEGLocator.

P

progress(int) - Method in interface ws.schild.jave.EncoderProgressListener
This method is called to notify a progress in the encoding process.

R

render(MultimediaObject, int, int, int, File, String, String, int) - Method in class ws.schild.jave.ScreenExtractor
Generates screenshots from source video.
render(MultimediaObject, int, int, int, File, int) - Method in class ws.schild.jave.ScreenExtractor
Generate a single screenshot from source video.
renderOneImage(MultimediaObject, int, int, long, File, int) - Method in class ws.schild.jave.ScreenExtractor
Generate exactly one screenshots from source video

S

ScreenExtractor - Class in ws.schild.jave
 
ScreenExtractor() - Constructor for class ws.schild.jave.ScreenExtractor
It builds an extractor using a DefaultFFMPEGLocator instance to locate the ffmpeg executable to use.
ScreenExtractor(FFMPEGLocator) - Constructor for class ws.schild.jave.ScreenExtractor
It builds an extractor with a custom FFMPEGLocator.
setAddArgument(String) - Method in class ws.schild.jave.filters.VideoDrawtext
Add an additional argument to the command line https://superuser.com/questions/939357/position-text-on-bottom-right-corner Bottom right x=w-tw:y=h-th Bottom right with 10 pixel padding x=w-tw-10:y=h-th-10 Top right x=w-tw Top right with 10 pixel padding x=w-tw-10:y=10 Top left x=0:y=0 Top left with 10 pixel padding x=10:y=10 Bottom left y=h-th Bottom left with 10 pixel padding x=10:h-th-10 centered x=(w-text_w)/2:y=(h-text_h)/2 Can be used to speicfy other positions like "x=(w-text_w)/2:y=(h-text_h)/2" for centered text water mark
setAlpha(String) - Method in class ws.schild.jave.Color
 
setAudio(AudioInfo) - Method in class ws.schild.jave.MultimediaInfo
Sets a set of audio-specific informations.
setAudioAttributes(AudioAttributes) - Method in class ws.schild.jave.EncodingAttributes
Sets the attributes for the encoding of the audio stream in the target multimedia file.
setBitRate(Integer) - Method in class ws.schild.jave.AudioAttributes
Sets the bitrate value for the encoding process.
setBitRate(int) - Method in class ws.schild.jave.AudioInfo
Sets the audio stream (average) bit rate.
setBitRate(Integer) - Method in class ws.schild.jave.VideoAttributes
Sets the bitrate value for the encoding process.
setBitRate(int) - Method in class ws.schild.jave.VideoInfo
Sets the video stream (average) bit rate.
setBorderColor(Color) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setBorderWidth(int) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setBox(int, Color) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setBoxBorderWidth(int) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setBoxColor(Color) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setChannels(Integer) - Method in class ws.schild.jave.AudioAttributes
Sets the channels value (1=mono, 2=stereo, 4=quad) for the encoding process.
setChannels(int) - Method in class ws.schild.jave.AudioInfo
Sets the audio stream channels number (1=mono, 2=stereo).
setCodec(String) - Method in class ws.schild.jave.AudioAttributes
Sets the codec name for the encoding process.If null or not specified the encoder will perform a direct stream copy.
setCodec(String) - Method in class ws.schild.jave.VideoAttributes
Sets the codec name for the encoding process.
setColor(String) - Method in class ws.schild.jave.Color
 
setDecoder(String) - Method in class ws.schild.jave.AudioInfo
Sets the audio stream decoder name.
setDecoder(String) - Method in class ws.schild.jave.VideoInfo
Sets the video stream decoder name.
setDecodingThreads(int) - Method in class ws.schild.jave.EncodingAttributes
Number of threads to use for decoding (if supported by codec) -1 means use default of ffmpeg
setDuration(Float) - Method in class ws.schild.jave.EncodingAttributes
Sets the duration (seconds) of the re-encoded stream.
setDuration(long) - Method in class ws.schild.jave.MultimediaInfo
Sets the stream duration in millis.
setEncodingThreads(int) - Method in class ws.schild.jave.EncodingAttributes
Number of threads to use for encoding (if supported by codec) -1 means use default of ffmpeg
setExpression(String) - Method in class ws.schild.jave.VideoFilter
 
setFaststart(boolean) - Method in class ws.schild.jave.VideoAttributes
 
setFile(File) - Method in class ws.schild.jave.MultimediaObject
 
setFilterThreads(int) - Method in class ws.schild.jave.EncodingAttributes
ffmpeg uses multiple cores for filtering
setFontColor(Color) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setFontFile(File) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setFontName(String) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setFontSize(float) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setFormat(String) - Method in class ws.schild.jave.EncodingAttributes
Sets the format name for the encoded target multimedia file.
setFormat(String) - Method in class ws.schild.jave.MultimediaInfo
Sets the multimedia file format name.
setFrameRate(Integer) - Method in class ws.schild.jave.VideoAttributes
Sets the frame rate value for the encoding process.
setFrameRate(float) - Method in class ws.schild.jave.VideoInfo
Sets the video frame rate.
setLineSpacing(int) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setMapMetaData(boolean) - Method in class ws.schild.jave.EncodingAttributes
Copy over meta data from original file to new output if possible
setOffset(Float) - Method in class ws.schild.jave.EncodingAttributes
Sets the start offset time (seconds).
setPosX(int) - Method in class ws.schild.jave.filters.VideoDrawtext
ignored if posX & posY are both -1
setPosY(int) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setQuality(Integer) - Method in class ws.schild.jave.AudioAttributes
The audio quality value for the encoding process.
setQuality(Integer) - Method in class ws.schild.jave.VideoAttributes
The video quality value for the encoding process.
setReadURLOnce(boolean) - Method in class ws.schild.jave.MultimediaObject
 
setSamplingRate(Integer) - Method in class ws.schild.jave.AudioAttributes
Sets the samplingRate value for the encoding process.
setSamplingRate(int) - Method in class ws.schild.jave.AudioInfo
Sets the audio stream sampling rate.
setShadow(Color, int, int) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setShadowColor(Color) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setShadowX(int) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setShadowY(int) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setSize(VideoSize) - Method in class ws.schild.jave.VideoAttributes
Sets the video size for the encoding process.
setSize(VideoSize) - Method in class ws.schild.jave.VideoInfo
Sets the video size.
setTag(String) - Method in class ws.schild.jave.VideoAttributes
Sets the forced tag/fourcc value for the video stream.
setUR(URL) - Method in class ws.schild.jave.MultimediaObject
 
setVideo(VideoInfo) - Method in class ws.schild.jave.MultimediaInfo
Sets a set of video-specific informations.
setVideoAttributes(VideoAttributes) - Method in class ws.schild.jave.EncodingAttributes
Sets the attributes for the encoding of the video stream in the target multimedia file.
setVolume(Integer) - Method in class ws.schild.jave.AudioAttributes
Sets the volume value for the encoding process.
setWatermarkText(String) - Method in class ws.schild.jave.filters.VideoDrawtext
 
setX264Profile(VideoAttributes.X264_PROFILE) - Method in class ws.schild.jave.VideoAttributes
 
sourceInfo(MultimediaInfo) - Method in interface ws.schild.jave.EncoderProgressListener
This method is called before the encoding process starts, reporting information about the source stream that will be decoded and re-encoded.

T

toString() - Method in class ws.schild.jave.AudioAttributes
 
toString() - Method in class ws.schild.jave.AudioInfo
 
toString() - Method in class ws.schild.jave.EncodingAttributes
 
toString() - Method in class ws.schild.jave.MultimediaInfo
 
toString() - Method in class ws.schild.jave.VideoAttributes
 
toString() - Method in class ws.schild.jave.VideoFilter
 
toString() - Method in class ws.schild.jave.VideoInfo
 
toString() - Method in class ws.schild.jave.VideoSize
 

U

Utils - Class in ws.schild.jave
 
Utils() - Constructor for class ws.schild.jave.Utils
 

V

valueOf(String) - Static method in enum ws.schild.jave.VideoAttributes.X264_PROFILE
Returns the enum constant of this type with the specified name.
values() - Static method in enum ws.schild.jave.VideoAttributes.X264_PROFILE
Returns an array containing the constants of this enum type, in the order they are declared.
VideoAttributes - Class in ws.schild.jave
Attributes controlling the video encoding process.
VideoAttributes() - Constructor for class ws.schild.jave.VideoAttributes
 
VideoAttributes.X264_PROFILE - Enum in ws.schild.jave
 
VideoDrawtext - Class in ws.schild.jave.filters
Add a text watermark in the video file https://write.corbpie.com/how-to-do-a-text-watermark-in-ffmpeg/ -vf "drawtext=text='a watermark':x=10:y=H-th-10:fontfile=/pathto/font.ttf:fontsize=10:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2"
VideoDrawtext(String, Color) - Constructor for class ws.schild.jave.filters.VideoDrawtext
 
VideoDrawtext(String, int, int, String, File, float, Color) - Constructor for class ws.schild.jave.filters.VideoDrawtext
 
VideoFilter - Class in ws.schild.jave
Created with IntelliJ IDEA.
VideoFilter() - Constructor for class ws.schild.jave.VideoFilter
 
VideoFilter(String) - Constructor for class ws.schild.jave.VideoFilter
 
VideoInfo - Class in ws.schild.jave
Instances of this class report informations about a video stream that can be decoded.
VideoInfo() - Constructor for class ws.schild.jave.VideoInfo
 
VideoSize - Class in ws.schild.jave
Instances of this class report informations about videos size.
VideoSize(int, int) - Constructor for class ws.schild.jave.VideoSize
It builds the bean.

W

ws.schild.jave - package ws.schild.jave
JAVE - Java Audio Video Encoder
ws.schild.jave.filters - package ws.schild.jave.filters
 
A B C D E F G I M P R S T U V W 
Skip navigation links

Copyright © 2020. All rights reserved.