Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AVProfile = Profile{ High: &Format{Resolution: 1080, AudioBitrate: 256}, Medium: &Format{Resolution: 720, AudioBitrate: 192}, Low: &Format{Resolution: 360, AudioBitrate: 128}, }
AVProfile ,Audio Video Profile
Functions ¶
This section is empty.
Types ¶
type AVP ¶
type AVP struct {
// contains filtered or unexported fields
}
AVP ,Audio Video Picker
func WithConverter ¶
WithConverter takes in `conv` which converters to internal format as required
func (*AVP) High ¶
High ,Formats less than or equal to `High` Profile and greater than `Medium` profile
type Format ¶
type Format struct { ID int Resolution int // Video // VideoBitrate in Kbps VideoBitrate int VideoCodec string VideoHFR bool VideoHDR bool // AudioBitrate in Kbps AudioBitrate int // Audio AudioChannels int AudioCodec string AudioVBR bool }
Format of a video or audio file
type Profile ¶
type Profile struct {
High, Medium, Low *Format
}
Profile to define selection standards
type Quality ¶
type Quality int
Quality type represents type of profile
func QualityType ¶ added in v0.0.4
QualityType converts strings like `best`, `high`, ... to respective Quality type
Click to show internal directories.
Click to hide internal directories.