Compare commits
3 Commits
b1aa5ba9bc
...
5a9f765281
Author | SHA1 | Date | |
---|---|---|---|
5a9f765281 | |||
533f4f01fb | |||
38192db5ca |
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ vmaf.json
|
||||
*.csv
|
||||
encodes/
|
||||
*.log
|
||||
__pycache__
|
||||
|
0
chart_bubble.py
Normal file → Executable file
0
chart_bubble.py
Normal file → Executable file
18
encode_all.py
Executable file
18
encode_all.py
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import encode_single_video
|
||||
|
||||
import os
|
||||
|
||||
# tuple of video file extensions
|
||||
videofileextensions = (".webm", ".mp4")
|
||||
|
||||
videofiles: list[str] = []
|
||||
for root, dirs, files in os.walk("source"):
|
||||
for file in files:
|
||||
if file.endswith(videofileextensions):
|
||||
filepath = os.path.join(root, file)
|
||||
videofiles.append(filepath)
|
||||
|
||||
for video in videofiles:
|
||||
encode_single_video.main(inputfile=video)
|
Loading…
Reference in New Issue
Block a user