Spaces:
Sleeping
Sleeping
Commit ·
d5aa02d
1
Parent(s): 36a336c
fix typo
Browse files- hls_download.py +1 -1
hls_download.py
CHANGED
|
@@ -2,7 +2,7 @@ import yt_dlp
|
|
| 2 |
import os
|
| 3 |
import subprocess
|
| 4 |
|
| 5 |
-
def
|
| 6 |
output_file = os.path.join(out_dir, f"train_{len(os.listdir(out_dir))}.mp4")
|
| 7 |
|
| 8 |
# Calculate the duration we want to download
|
|
|
|
| 2 |
import os
|
| 3 |
import subprocess
|
| 4 |
|
| 5 |
+
def download_clips(stream_url, out_dir, start_time, end_time, resize=True):
|
| 6 |
output_file = os.path.join(out_dir, f"train_{len(os.listdir(out_dir))}.mp4")
|
| 7 |
|
| 8 |
# Calculate the duration we want to download
|