func (a *Args) GetPipeOutput() []string {
	if a.output.pipeOutput != false {
		return []string{"pipe:1"}
	}
	return nil
}
GetPipeOutput returns whether or not ffmpeg is set to receive piped output
package fluentffmpeg
import (
	"fmt"
	"strconv"
	"strings"
)
func (a *Args) GetAspectRatio() []string {
	if a.output.resolution != "" {
		resolution := strings.Split(a.output.resolution, "x")
		if len(resolution) != 0 {
			width, _ := strconv.ParseFloat(resolution[0], 64)
			height, _ := strconv.ParseFloat(resolution[1], 64)
			return []string{"-aspect", fmt.Sprintf("%f", width/height)}
		}
	}
	if a.output.aspectRatio != "" {
		return []string{"-aspect", a.output.aspectRatio}
	}
	return nil
}
func (a *Args) GetConstantRateFactor() []string {
	if a.output.constantRateFactor != -1 {
		return []string{"-crf", fmt.Sprintf("%d", a.output.constantRateFactor)}
	}
	return nil
}
func (a *Args) GetVideoBitRate() []string {
	if a.output.videoBitRate != 0 {
		return []string{"-b:v", fmt.Sprintf("%d", a.output.videoBitRate)}
	}
	return nil
}
func (a *Args) GetVideoMaxBitrate() []string {
	if a.output.videoMaxBitrate != 0 {
		return []string{"-maxrate", fmt.Sprintf("%dk", a.output.videoMaxBitrate)}
	}
	return nil
}
func (a *Args) GetVideoMinBitrate() []string {
	if a.output.videoMinBitrate != 0 {
		return []string{"-minrate", fmt.Sprintf("%dk", a.output.videoMinBitrate)}
	}
	return nil
}
func (a *Args) GetVideoBitRateTolerance() []string {
	if a.output.videoBitRateTolerance != 0 {
		return []string{"-bt", fmt.Sprintf("%dk", a.output.videoBitRateTolerance)}
	}
	return nil
}
func (a *Args) GetVideoCodec() []string {
	if a.output.videoCodec != "" {
		return []string{"-c:v", a.output.videoCodec}
	}
	return nil
}
func (a *Args) GetVFrames() []string {
	if a.output.vFrames != 0 {
		return []string{"-frames:v", fmt.Sprintf("%d", a.output.vFrames)}
	}
	return nil
}
func (a *Args) GetFrameRate() []string {
	if a.output.frameRate != 0 {
		return []string{"-r", fmt.Sprintf("%d", a.output.frameRate)}
	}
	return nil
}
func (a *Args) GetAudioRate() []string {
	if a.output.audioRate != 0 {
		return []string{"-ar", fmt.Sprintf("%d", a.output.audioRate)}
	}
	return nil
}
func (a *Args) GetAudioBitrate() []string {
	if a.output.audioRate != 0 {
		return []string{"-b:a", fmt.Sprintf("%d", a.output.audioRate)}
	}
	return nil
}
func (a *Args) GetPreset() []string {
	if a.output.preset != "" {
		return []string{"-preset", a.output.preset}
	}
	return nil
}
func (a *Args) GetBufferSize() []string {
	if a.output.bufferSize != 0 {
		return []string{"-bufsize", fmt.Sprintf("%dk", a.output.bufferSize)}
	}
	return nil
}
func (a *Args) GetPixelFormat() []string {
	if a.output.pixelFormat != "" {
		return []string{"-pix_fmt", a.output.pixelFormat}
	}
	return nil
}
func (a *Args) GetKeyframeInterval() []string {
	if a.output.keyframeInterval != 0 {
		return []string{"-g", fmt.Sprintf("%d", a.output.keyframeInterval)}
	}
	return nil
}
func (a *Args) GetAudioCodec() []string {
	if a.output.audioCodec != "" {
		return []string{"-c:a", a.output.audioCodec}
	}
	return nil
}
func (a *Args) GetAudioChannels() []string {
	if a.output.audioChannels != 0 {
		return []string{"-ac", fmt.Sprintf("%d", a.output.audioChannels)}
	}
	return nil
}
func (a *Args) GetFormat() []string {
	if a.output.format != "" {
		return []string{"-f", a.output.format}
	}
	return nil
}
func (a *Args) GetQuality() []string {
	if a.output.quality != 0 {
		return []string{"-crf", fmt.Sprintf("%d", a.output.quality)}
	}
	return nil
}
func (a *Args) GetOutputPath() []string {
	if a.output.outputPath != "" {
		return []string{a.output.outputPath}
	}
	return nil
}