Merge branch 'main' into main
This commit is contained in:
commit
0d2fbca4ce
39
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
39
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Details**
|
||||
What OS are you using?
|
||||
- [ ] Linux
|
||||
- [ ] Linux in WSL
|
||||
- [ ] Windows
|
||||
- [ ] Mac
|
||||
|
||||
Are you try to use a GPU?
|
||||
- [ ] No. I am not using the `---gpu` flag
|
||||
- [ ] NVIDIA
|
||||
- [ ] AMD
|
||||
- [ ] Intel
|
||||
- [ ] Mac
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Sanity Check**
|
||||
- [ ] I have the latest code from the github repository
|
||||
- [ ] I have followed the installation guide
|
11
.github/ISSUE_TEMPLATE/suggestion.md
vendored
Normal file
11
.github/ISSUE_TEMPLATE/suggestion.md
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
name: Suggestion
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe your suggestion**
|
||||
A clear and concise description of what you want to happen.
|
@ -36,7 +36,7 @@ def set_fps(input_path, output_path, fps):
|
||||
|
||||
def create_video(video_name, fps, output_dir):
|
||||
output_dir = path(output_dir)
|
||||
os.system(f'ffmpeg -framerate {fps} -i "{output_dir}{sep}%04d.png" -c:v libx264 -pix_fmt yuv420p -y "{output_dir}{sep}output.mp4"')
|
||||
os.system(f'ffmpeg -framerate {fps} -i "{output_dir}{sep}%04d.png" -c:v libx264 -crf 32 -pix_fmt yuv420p -y "{output_dir}{sep}output.mp4"')
|
||||
|
||||
|
||||
def extract_frames(input_path, output_dir):
|
||||
|
3
run.py
3
run.py
@ -158,7 +158,7 @@ def save_file():
|
||||
|
||||
|
||||
def status(string):
|
||||
if args['source_img']:
|
||||
if 'cli_mode' in args:
|
||||
print("Status: " + string)
|
||||
else:
|
||||
status_label["text"] = "Status: " + string
|
||||
@ -219,6 +219,7 @@ if __name__ == "__main__":
|
||||
limit_resources()
|
||||
|
||||
if args['source_img']:
|
||||
args['cli_mode'] = True
|
||||
start()
|
||||
quit()
|
||||
window = tk.Tk()
|
||||
|
Loading…
Reference in New Issue
Block a user