Class ChannelOutput

All Implemented Interfaces:
Output

public class ChannelOutput extends TcpOutput<ChannelOutput> implements Output
Output implementationwhich allows usage of SeekableByteChannel as ffmpeg output.
  • Constructor Details

    • ChannelOutput

      public ChannelOutput(String fileName, SeekableByteChannel channel)
      Creates ChannelOutput.

      ffmpeg uses fileName's extension to autodetect output format

      Parameters:
      fileName - file name
      channel - byte channel
  • Method Details

    • toChannel

      public static ChannelOutput toChannel(String filename, SeekableByteChannel channel)
      Creates ChannelInput.

      ffmpeg uses fileName's extension to autodetect output format

      Parameters:
      filename - file name
      channel - byte channel
      Returns:
      ChannelOutput