Class AVFormatOptions
- java.lang.Object
-
- com.github.vbauer.avconv4java.core.AVOptions
-
- com.github.vbauer.avconv4java.option.AVFormatOptions
-
public class AVFormatOptions extends AVOptions
Format Audio/Video Options.- See Also:
- Official doc: "5.5 Format AVOptions"
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFLAG_ANALYZE_DURATIONstatic java.lang.StringFLAG_DEBUG_INFOstatic java.lang.StringFLAG_DECRYPTION_KEYstatic java.lang.StringFLAG_ERROR_DETECTIONstatic java.lang.StringFLAG_FORMAT_FLAGSstatic java.lang.StringFLAG_FPS_PROBE_SIZEstatic java.lang.StringFLAG_INTERLEAVING_BUFFER_SIZEstatic java.lang.StringFLAG_MAX_DELAYstatic java.lang.StringFLAG_PACKET_SIZEstatic java.lang.StringFLAG_PROBE_SIZEstatic java.lang.StringFLAG_REAL_TIME_BUFFER_SIZEstatic java.lang.StringFLAG_TIMESTAMP_INDEX_SIZE
-
Constructor Summary
Constructors Constructor Description AVFormatOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AVFormatOptionsanalyzeDuration(java.lang.Long duration)How many microseconds are analyzed to estimate duration.AVFormatOptionsbuilders(AVOptions... builders)AVFormatOptionsbuilders(java.util.Collection<AVOptions> builders)static AVFormatOptionscreate()AVFormatOptionsdebugInfo(AVFormatDebugInfoType debugInfoType)Print specific debug info.AVFormatOptionsdebugInfo(java.lang.String debugInfoTypeName)AVFormatOptionsdecryptionKey(java.lang.String key)Set decryption key.AVFormatOptionserrorDetection(AVErrorDetectionType errorDetectionType)Set error detection flags (deprecated; use err_detect, save via avconv).AVFormatOptionserrorDetection(java.lang.String errorDetectionTypeName)AVFormatOptionsflags(java.lang.Object... flags)AVFormatOptionsflags(java.util.Collection<java.lang.Object> flags)AVFormatOptionsformatFlags(AVFormatFlagType formatFlagType)Set format flags.AVFormatOptionsformatFlags(java.lang.String formatFlagTypeName)AVFormatOptionsfpsProbeSize(java.lang.Long size)Number of frames used to probe fps.AVFormatOptionsinterleavingBufferSize(java.lang.Long size)AVFormatOptionsmaxDelay(java.lang.Long delay)Maximum muxing or demuxing delay in microseconds.AVFormatOptionspacketSize(java.lang.Long size)Set packet size.AVFormatOptionsprobeSize(java.lang.Long size)Set probing size.AVFormatOptionsrealTimeBufferSize(java.lang.Long maxMemory)Max memory used for buffering real-time frames.AVFormatOptionstimestampIndexSize(java.lang.Long maxMemory)Max memory used for timestamp index (per stream).
-
-
-
Field Detail
-
FLAG_PROBE_SIZE
public static final java.lang.String FLAG_PROBE_SIZE
- See Also:
- Constant Field Values
-
FLAG_PACKET_SIZE
public static final java.lang.String FLAG_PACKET_SIZE
- See Also:
- Constant Field Values
-
FLAG_FORMAT_FLAGS
public static final java.lang.String FLAG_FORMAT_FLAGS
- See Also:
- Constant Field Values
-
FLAG_ANALYZE_DURATION
public static final java.lang.String FLAG_ANALYZE_DURATION
- See Also:
- Constant Field Values
-
FLAG_DECRYPTION_KEY
public static final java.lang.String FLAG_DECRYPTION_KEY
- See Also:
- Constant Field Values
-
FLAG_TIMESTAMP_INDEX_SIZE
public static final java.lang.String FLAG_TIMESTAMP_INDEX_SIZE
- See Also:
- Constant Field Values
-
FLAG_REAL_TIME_BUFFER_SIZE
public static final java.lang.String FLAG_REAL_TIME_BUFFER_SIZE
- See Also:
- Constant Field Values
-
FLAG_DEBUG_INFO
public static final java.lang.String FLAG_DEBUG_INFO
- See Also:
- Constant Field Values
-
FLAG_MAX_DELAY
public static final java.lang.String FLAG_MAX_DELAY
- See Also:
- Constant Field Values
-
FLAG_FPS_PROBE_SIZE
public static final java.lang.String FLAG_FPS_PROBE_SIZE
- See Also:
- Constant Field Values
-
FLAG_ERROR_DETECTION
public static final java.lang.String FLAG_ERROR_DETECTION
- See Also:
- Constant Field Values
-
FLAG_INTERLEAVING_BUFFER_SIZE
public static final java.lang.String FLAG_INTERLEAVING_BUFFER_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static AVFormatOptions create()
-
flags
public AVFormatOptions flags(java.util.Collection<java.lang.Object> flags)
-
flags
public AVFormatOptions flags(java.lang.Object... flags)
-
builders
public AVFormatOptions builders(java.util.Collection<AVOptions> builders)
-
builders
public AVFormatOptions builders(AVOptions... builders)
-
probeSize
public AVFormatOptions probeSize(java.lang.Long size)
Set probing size. CMD: ‘-probesize integer (input)’
-
packetSize
public AVFormatOptions packetSize(java.lang.Long size)
Set packet size. CMD: ‘-packetsize integer (output)’
-
formatFlags
public AVFormatOptions formatFlags(AVFormatFlagType formatFlagType)
Set format flags. CMD: ‘-fflags flags (input/output)’
-
formatFlags
public AVFormatOptions formatFlags(java.lang.String formatFlagTypeName)
-
analyzeDuration
public AVFormatOptions analyzeDuration(java.lang.Long duration)
How many microseconds are analyzed to estimate duration. CMD: ‘-analyzeduration integer (input)’
-
decryptionKey
public AVFormatOptions decryptionKey(java.lang.String key)
Set decryption key. CMD: ‘-cryptokey hexadecimal string (input)’
-
timestampIndexSize
public AVFormatOptions timestampIndexSize(java.lang.Long maxMemory)
Max memory used for timestamp index (per stream). CMD: ‘-indexmem integer (input)’
-
realTimeBufferSize
public AVFormatOptions realTimeBufferSize(java.lang.Long maxMemory)
Max memory used for buffering real-time frames. CMD: ‘-rtbufsize integer (input)’
-
debugInfo
public AVFormatOptions debugInfo(AVFormatDebugInfoType debugInfoType)
Print specific debug info. CMD: ‘-fdebug flags (input/output)’
-
debugInfo
public AVFormatOptions debugInfo(java.lang.String debugInfoTypeName)
-
maxDelay
public AVFormatOptions maxDelay(java.lang.Long delay)
Maximum muxing or demuxing delay in microseconds. CMD: ‘-max_delay integer (input/output)’
-
fpsProbeSize
public AVFormatOptions fpsProbeSize(java.lang.Long size)
Number of frames used to probe fps. CMD: ‘-fpsprobesize integer (input)’
-
errorDetection
public AVFormatOptions errorDetection(AVErrorDetectionType errorDetectionType)
Set error detection flags (deprecated; use err_detect, save via avconv). CMD: ‘-f_err_detect flags (input)’
-
errorDetection
public AVFormatOptions errorDetection(java.lang.String errorDetectionTypeName)
-
interleavingBufferSize
public AVFormatOptions interleavingBufferSize(java.lang.Long size)
-
-