Add initial implementations for encoder handling and conversion logic
Introduce encoder modules for various codecs and formats (e.g., h264_nvenc, libx264, libmp3lame). Add `Convertor` logic to retrieve supported formats via FFmpeg utilities and manage encoders for audio, video, and image processing.
This commit is contained in:
13
main.go
13
main.go
@@ -20,12 +20,21 @@ func main() {
|
||||
}
|
||||
app.SetMetadata(appMetadata)
|
||||
fyneApp := app.New()
|
||||
progressBarService := application.NewProgressBar()
|
||||
progressBarService := convertor.NewProgressBar()
|
||||
appSetting := setting.NewSetting(fyneApp)
|
||||
ffmpegService := ffmpeg.NewUtilities(appSetting)
|
||||
convertorService := convertor.NewConvertor(ffmpegService)
|
||||
itemsToConvert := convertor.NewItemsToConvert(ffmpegService)
|
||||
queue := convertor.NewQueueList()
|
||||
myApp := application.NewApp(fyneApp, appSetting, progressBarService, ffmpegService, itemsToConvert, queue)
|
||||
myApp := application.NewApp(
|
||||
fyneApp,
|
||||
appSetting,
|
||||
progressBarService,
|
||||
ffmpegService,
|
||||
itemsToConvert,
|
||||
queue,
|
||||
convertorService,
|
||||
)
|
||||
mainController := controller.NewController(myApp)
|
||||
mainController.Start()
|
||||
myApp.Run()
|
||||
|
Reference in New Issue
Block a user