Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TargetFormatByStream ¶
func TargetFormatByStream(stream *FFProbeStream) (format string, err error)
Types ¶
type FFProbeOutput ¶
type FFProbeOutput struct {
Streams []FFProbeStream `json:"streams"`
}
type FFProbeStream ¶
type FFProbeStream struct { Index uint8 `json:"index"` CodecName string `json:"codec_name,omitempty"` CodecLongName string `json:"codec_long_name,omitempty"` CodecType string `json:"codec_type,omitempty"` SampleFmt string `json:"sample_fmt,omitempty"` SampleRate string `json:"sample_rate,omitempty"` Channels uint8 `json:"channels,omitempty"` ChannelLayout string `json:"channel_layout,omitempty"` BitsPerSample uint8 `json:"bits_per_sample,omitempty"` BitsPerRawSample string `json:"bits_per_raw_sample,omitempty"` }
Click to show internal directories.
Click to hide internal directories.