Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mayman007 authored Jan 13, 2023
1 parent eebe8bc commit 04dc653
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def radioDisableNormal():
format_combobox_list = ["MP4 (Default)", "M4A", "MKV"]
codec_combobox_list = ["H.264 (Default)", "H.265", "AV1", "MPEG-4"]
fps_combobox_list = ["5", "10", "15", "20", "23.976", "24", "30 (Default)", "40", "45", "50", "60"]
aformat_combobox_list = ["MP3 (Default)", "AAC", "OPUS", "FLAC"]
aformat_combobox_list = ["MP3 (Default)", "WAV", "AAC", "OPUS", "FLAC"]
abitrate_combobox_list = ["320", "192", "160", "128", "96", "70", "50"]
aquality_combobox_list = ["1", "2", "3", "4", "5", "6", "7", "8", "9"]
# Widgets placing
Expand Down Expand Up @@ -530,6 +530,9 @@ def okButton(): # For ok button
if aformat_combobox.get() == "MP3 (Default)":
format_codec = "libmp3lame"
advanced_extention = "mp3"
elif aformat_combobox.get() == "WAV":
format_codec = "pcm_s32le"
advanced_extention = "wav"
elif aformat_combobox.get() == "AAC":
format_codec = "aac"
advanced_extention = "aac"
Expand Down

0 comments on commit 04dc653

Please sign in to comment.