Skip to content

Commit

Permalink
Vl 57 add video setting for preset config (#58)
Browse files Browse the repository at this point in the history
* feat: added dropdown to allow user to select a processing speed

* docs: updated change logs

* chore: generated executables for macos

* chore: clean up, removed zip files
  • Loading branch information
shihanxiong authored Apr 8, 2023
1 parent c8e848e commit 741a5ac
Show file tree
Hide file tree
Showing 13 changed files with 82 additions and 14 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Versions

### v1.3.0

- now allows user to select a video processing speed (higher speed leads to more quality loss)

### v1.2.2

- fixed a output naming issue
Expand Down
10 changes: 5 additions & 5 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from tkinter import ttk
from windows import set_dpi_awareness
from video_frame import VideoFrame
from audio_setting_frame import AudioSettingFrame
from settings_frame import SettingsFrame
from timeline_frame import TimelineFrame
from toolbar_frame import ToolbarFrame
from status_frame import StatusFrame
Expand All @@ -17,7 +17,7 @@ def __init__(self):
self.app_configure()

# app config
self.title("Video Loom - v1.2.2")
self.title("Video Loom - v1.3.0")
self.geometry(f"{self.window_width}x{self.window_height}")
self.default_font = ("Courier", 14)
self.components = []
Expand Down Expand Up @@ -53,8 +53,8 @@ def __init__(self):
# components
self.video_component = VideoFrame(self, padding=(10, 10))
self.video_component.grid(row=0, sticky="NEW")
self.audio_setting_component = AudioSettingFrame(self, padding=(10, 0))
self.audio_setting_component.grid(row=1, sticky="NEW")
self.settings_component = SettingsFrame(self, padding=(10, 0))
self.settings_component.grid(row=1, sticky="NEW")
self.timeline_component = TimelineFrame(self, padding=(10, 10))
self.timeline_component.grid(row=2, sticky="SEW")
self.status_component = StatusFrame(self, padding=(10, 10))
Expand All @@ -64,7 +64,7 @@ def __init__(self):

# register all components
self.components.append(self.video_component)
self.components.append(self.audio_setting_component)
self.components.append(self.settings_component)
self.components.append(self.timeline_component)
self.components.append(self.status_component)
self.components.append(self.toolbar_component)
Expand Down
8 changes: 4 additions & 4 deletions src/audio_setting_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def __init__(self, container, **args):
self, text="Audio track 3", variable=self.audio_track_variable, value=2)
audio_track_option_4 = ttk.Radiobutton(
self, text="Audio track 4", variable=self.audio_track_variable, value=3)
audio_track_option_1.grid(row=1, column=0, sticky="N")
audio_track_option_2.grid(row=1, column=1, sticky="N")
audio_track_option_3.grid(row=1, column=2, sticky="N")
audio_track_option_4.grid(row=1, column=3, sticky="N")
audio_track_option_1.grid(row=1, column=0)
audio_track_option_2.grid(row=1, column=1)
audio_track_option_3.grid(row=1, column=2)
audio_track_option_4.grid(row=1, column=3)

def refresh(self):
pass
Loading

0 comments on commit 741a5ac

Please sign in to comment.