Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodeModel ¶
type EncodeModel struct {
// contains filtered or unexported fields
}
EncodeModel is the Bubbletea model for encoding progress
func NewEncodeModel ¶
func NewEncodeModel(enc *encoder.Encoder, outputMode string, outputBitrate int) *EncodeModel
NewEncodeModel creates a new encoding model
func (*EncodeModel) Complete ¶
func (m *EncodeModel) Complete() bool
Complete returns whether encoding has finished
func (*EncodeModel) Error ¶
func (m *EncodeModel) Error() error
Error returns any error that occurred during encoding
func (*EncodeModel) Init ¶
func (m *EncodeModel) Init() tea.Cmd
Init initializes the model and starts encoding
type EncodingCompleteMsg ¶
type EncodingCompleteMsg struct {
Err error
}
EncodingCompleteMsg signals that encoding has finished
type ProgressUpdate ¶
ProgressUpdate represents a progress update from the encoder
Click to show internal directories.
Click to hide internal directories.