Class NullOutput

All Implemented Interfaces:
Output

public class NullOutput extends BaseOutput<NullOutput> implements Output
FFmpeg Null output implementation.

The null muxer does not generate any output file. The null muxer uses a wrapped frame so there is no muxing overhead (i.e. it can accept any type of input codec, doesn't have to be rawvideo for instance).

Null output can be combined with codec copying to achieve fast & exact file length detection.

It may be required also to set FFmpeg.setOverwriteOutput(boolean) to true.

See Also:
  • Constructor Details

    • NullOutput

      public NullOutput()
      Creates NullOutput with codec copying.
    • NullOutput

      public NullOutput(boolean copyCodecs)
      Creates NullOutput.
      Parameters:
      copyCodecs - true to use copy codecs