rename preset config

This commit is contained in:
2024-12-19 10:10:51 +02:00
parent 24924e0bd1
commit 76ef469443
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ func (m *model) parseConfig(dryRun bool) tea.Cmd {
return func() tea.Msg { return func() tea.Msg {
vEncoder := find(m.Config, "Video Encoder") vEncoder := find(m.Config, "Video Encoder")
aEncoder := find(m.Config, "Audio Encoder") aEncoder := find(m.Config, "Audio Encoder")
preset := find(m.Config, "Preset (libx264 & libx265 only)") preset := find(m.Config, "Preset")
crf := find(m.Config, "Constant Rate Factor (CRF)") crf := find(m.Config, "Constant Rate Factor (CRF)")
return parsedCfgMsg{ return parsedCfgMsg{
+1 -1
View File
@@ -7,7 +7,7 @@ var Configs = []Config{
{Name: "What should we do about encoded videos?", Opts: []string{"Skip", "Delete and encode again"}}, {Name: "What should we do about encoded videos?", Opts: []string{"Skip", "Delete and encode again"}},
{Name: "Video Encoder", Opts: []string{"copy", "libx264", "libx265", "libvpx-vp9", "librav1e", "libsvtav1"}}, {Name: "Video Encoder", Opts: []string{"copy", "libx264", "libx265", "libvpx-vp9", "librav1e", "libsvtav1"}},
{Name: "Audio Encoder", Opts: []string{"None", "copy", "aac", "libopus"}, FocusedOption: 1}, {Name: "Audio Encoder", Opts: []string{"None", "copy", "aac", "libopus"}, FocusedOption: 1},
{Name: "Preset (libx264 & libx265 only)", Opts: []string{"ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow"}, FocusedOption: 4}, {Name: "Preset", Opts: []string{"ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow"}, FocusedOption: 4},
{Name: "Constant Rate Factor (CRF)", Opts: []string{"10", "15", "20", "25", "30", "35", "40", "45", "50"}, FocusedOption: 4}, {Name: "Constant Rate Factor (CRF)", Opts: []string{"10", "15", "20", "25", "30", "35", "40", "45", "50"}, FocusedOption: 4},
} }