Package limn.video.ffmpeg
Enum Class FfmpegMedia.ClipCodec
- All Implemented Interfaces:
Serializable,Comparable<FfmpegMedia.ClipCodec>,Constable
- Enclosing class:
FfmpegMedia
How a written clip's pictures are coded. Neither is H.264, and neither can be: FFmpeg's
H.264 encoder is x264 and x264 is GPL, so an LGPL build cannot produce H.264 to read back.
What a round trip through either one proves is therefore the seam (the demultiplexer, the
packet-to-picture path, the planar handoff, the pool, the release discipline and the
timestamp rescale) and not libavcodec's H.264 decoder, which is FFmpeg's to test.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMotion JPEG: every picture independent, no reordering, no decoder delay, and nearly lossless at the quality used, so samples can be asserted tightly.MPEG-4 Part 2: a real group of pictures, pictures that need their predecessors, and a decoder that carries state across packets (the shape H.264 has, without being it). -
Method Summary
Modifier and TypeMethodDescriptionstatic FfmpegMedia.ClipCodecReturns the enum constant of this class with the specified name.static FfmpegMedia.ClipCodec[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MJPEG
Motion JPEG: every picture independent, no reordering, no decoder delay, and nearly lossless at the quality used, so samples can be asserted tightly. The default. -
MPEG4
MPEG-4 Part 2: a real group of pictures, pictures that need their predecessors, and a decoder that carries state across packets (the shape H.264 has, without being it).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-