Serialized Form
-
Package ws.schild.jave
-
Class ws.schild.jave.AudioAttributes extends java.lang.Object implements Serializable
- serialVersionUID:
- 2L
-
Serialized Fields
-
bitRate
java.lang.Integer bitRate
The bitrate value for the encoding process. If null or not specified a default value will be picked. -
channels
java.lang.Integer channels
The channels value (1=mono, 2=stereo) for the encoding process. If null or not specified a default value will be picked. -
codec
java.lang.String codec
The codec name for the encoding process. If null or not specified the encoder will perform a direct stream copy. -
quality
java.lang.Integer quality
The audio quality value for the encoding process. If null or not specified the ffmpeg default will be used -
samplingRate
java.lang.Integer samplingRate
The samplingRate value for the encoding process. If null or not specified a default value will be picked. -
volume
java.lang.Integer volume
The volume value for the encoding process. If null or not specified a default value will be picked. If 256 no volume change will be performed.
-
-
Class ws.schild.jave.EncoderException extends java.lang.Exception implements Serializable
- serialVersionUID:
- 1L
-
Class ws.schild.jave.EncodingAttributes extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
audioAttributes
AudioAttributes audioAttributes
The attributes for the encoding of the audio stream in the target multimedia file. If null of not specified no audio stream will be encoded. It cannot be null if also the video field is null. -
duration
java.lang.Float duration
The duration (seconds) of the re-encoded stream. If null or not specified the source stream, starting from the offset, will be completely re-encoded in the target stream. -
format
java.lang.String format
The format name for the encoded target multimedia file. Be sure this format is supported (seeEncoder.getSupportedEncodingFormats(). -
mapMetaData
boolean mapMetaData
Should we try to copy over the meta data? -
offset
java.lang.Float offset
The start offset time (seconds). If null or not specified no start offset will be applied. -
videoAttributes
VideoAttributes videoAttributes
The attributes for the encoding of the video stream in the target multimedia file. If null of not specified no video stream will be encoded. It cannot be null if also the audio field is null.
-
-
Class ws.schild.jave.InputFormatException extends EncoderException implements Serializable
- serialVersionUID:
- 1L
-
Class ws.schild.jave.VideoAttributes extends java.lang.Object implements Serializable
- serialVersionUID:
- 2L
-
Serialized Fields
-
bitRate
java.lang.Integer bitRate
The bitrate value for the encoding process. If null or not specified a default value will be picked. -
codec
java.lang.String codec
The codec name for the encoding process. If null or not specified the encoder will perform a direct stream copy. -
faststart
boolean faststart
Encode the video with faststart mode, default OFF The mov/mp4/ismv muxer supports fragmentation. Normally, a MOV/MP4 file has all the metadata about all packets stored in one location (written at the end of the file, it can be moved to the start for better playback by adding faststart to the movflags, or using the qt-faststart tool). A fragmented file consists of a number of fragments, where packets and metadata about these packets are stored together. Writing a fragmented file has the advantage that the file is decodable even if the writing is interrupted (while a normal MOV/MP4 is undecodable if it is not properly finished), and it requires less memory when writing very long files (since writing normal MOV/MP4 files stores info about every single packet in memory until the file is closed). The downside is that it is less compatible with other applications. -
frameRate
java.lang.Integer frameRate
The frame rate value for the encoding process. If null or not specified a default value will be picked. -
quality
java.lang.Integer quality
The audio quality value for the encoding process. If null or not specified the ffmpeg default will be used -
size
VideoSize size
The video size for the encoding process. If null or not specified the source video size will not be modified. -
tag
java.lang.String tag
The the forced tag/fourcc value for the video stream. -
videoFilters
java.util.ArrayList<VideoFilter> videoFilters
-
x264Profile
VideoAttributes.X264_PROFILE x264Profile
-
-
Class ws.schild.jave.VideoSize extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
height
int height
The video height. -
width
int width
The video width.
-
-