com.spikeify.ffmpeg.options.AudioEncodingOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ffmpeg Show documentation
Show all versions of ffmpeg Show documentation
Simple Java Wrapper around the FFmpeg command line
The newest version!
package com.spikeify.ffmpeg.options;
import java.beans.ConstructorProperties;
/**
* Encoding options for audio
*
* @author bramp
*
*/
public class AudioEncodingOptions {
public final boolean enabled;
public final String codec;
public final int channels;
public final int sample_rate;
public final String bit_depth;
public final int bit_rate;
public final int quality;
@ConstructorProperties({"enabled", "codec", "channels", "sample_rate", "bit_depth", "bit_rate", "quality"})
public AudioEncodingOptions(boolean enabled, String codec, int channels, int sample_rate, String bit_depth, int bit_rate, int quality) {
this.enabled = enabled;
this.codec = codec;
this.channels = channels;
this.sample_rate = sample_rate;
this.bit_depth = bit_depth;
this.bit_rate = bit_rate;
this.quality = quality;
}
}