Update hls_download.py
Browse files- hls_download.py +3 -3
hls_download.py
CHANGED
|
@@ -16,9 +16,9 @@ def download_clips(stream_url, out_dir, start_time, end_time, resize=True, use_6
|
|
| 16 |
if resize: # resize and convert to 30 fps
|
| 17 |
ffmpeg_cmd = [
|
| 18 |
'ffmpeg',
|
| 19 |
-
'-hwaccel', 'cuda',
|
| 20 |
-
|
| 21 |
-
|
| 22 |
'-i', stream_url,
|
| 23 |
'-c:v', 'libx264',
|
| 24 |
'-crf', '23',
|
|
|
|
| 16 |
if resize: # resize and convert to 30 fps
|
| 17 |
ffmpeg_cmd = [
|
| 18 |
'ffmpeg',
|
| 19 |
+
#'-hwaccel', 'cuda',
|
| 20 |
+
'-allowed_extensions', 'ALL',
|
| 21 |
+
'-extension_picky', '0', # https://github.com/yt-dlp/yt-dlp/issues/12700#issuecomment-2745400091
|
| 22 |
'-i', stream_url,
|
| 23 |
'-c:v', 'libx264',
|
| 24 |
'-crf', '23',
|