Commit ·
8cdc16d
1
Parent(s): f861358
add extensions
Browse files- hls_download.py +1 -1
hls_download.py
CHANGED
|
@@ -17,7 +17,7 @@ def download_clips(stream_url, out_dir, start_time, end_time, resize=True, use_6
|
|
| 17 |
ffmpeg_cmd = [
|
| 18 |
'ffmpeg',
|
| 19 |
#'-hwaccel', 'cuda',
|
| 20 |
-
'-
|
| 21 |
'-i', stream_url,
|
| 22 |
'-c:v', 'libx264',
|
| 23 |
'-crf', '23',
|
|
|
|
| 17 |
ffmpeg_cmd = [
|
| 18 |
'ffmpeg',
|
| 19 |
#'-hwaccel', 'cuda',
|
| 20 |
+
'-allowed_extensions', 'ALL,ts,m4s,mp4',
|
| 21 |
'-i', stream_url,
|
| 22 |
'-c:v', 'libx264',
|
| 23 |
'-crf', '23',
|