package
0.27.2
Repository: https://github.com/stashapp/stash.git
Documentation: pkg.go.dev

# Packages

# Functions

IsStreamable returns nil if the file is streamable, or an error if it is not.
IsValidAudioForContainer returns true if the audio codec is valid for the container.
Creates a new FFMpeg encoder.
Creates a new FFProbe instance.
ResolveFFMpeg attempts to resolve the path to the ffmpeg executable.
ResolveFFMpeg attempts to resolve the path to the ffmpeg executable.

# Constants

found in rare cases from a faulty encoder.
only used from the browser to indicate hls support.
so we don't care that ffmpeg.
only used from the browser to indicate mkv support.
can't differentiate between them.
browsers support all of them.

# Variables

ErrUnsupportedAudioCodecContainer is returned when the audio codec/container combination is not supported for browser streaming.
ErrUnsupportedVideoCodecContainer is returned when the video codec/container combination is not supported for browser streaming.
ErrUnsupportedVideoCodecForBrowser is returned when the video codec is not supported for browser streaming.
LogLevels for ffmpeg.
LogLevels for ffmpeg.
LogLevels for ffmpeg.
LogLevels for ffmpeg.
LogLevels for ffmpeg.
LogLevels for ffmpeg.
LogLevels for ffmpeg.
LogLevels for ffmpeg.
LogLevels for ffmpeg.
Software codec's.
Hardware codec's.
Video sync methods for ffmpeg.
Video sync methods for ffmpeg.
Video sync methods for ffmpeg.
Video sync methods for ffmpeg.
Video sync methods for ffmpeg.

# Structs

FFMpeg provides an interface to ffmpeg.
FFProbe provides an interface to the ffprobe executable.
FFProbeJSON is the JSON output of ffprobe.
FFProbeStream is a JSON representation of an ffmpeg stream.
FrameInfo contains the number of frames and the frame rate for a video file.
FFMpeg version params.
VideoFile represents the ffprobe output for a video file.

# Interfaces

Arger is an interface that can be used to append arguments to an Args slice.

# Type aliases

Args represents a slice of arguments to be passed to ffmpeg.
Format represents the input/output format for ffmpeg.
ImageFormat represents the input format for an image for ffmpeg.
LogLevel represents the log level of ffmpeg.
VideoFilter represents video filter parameters to be passed to ffmpeg.
VSyncMethod represents the vsync method of ffmpeg.