Spaces:
Build error
Build error
Commit
·
0920ae9
1
Parent(s):
bb9c4a8
fix video
Browse files
video.py
CHANGED
|
@@ -19,7 +19,7 @@ def ffmpeg_stream(file_url, token, output_dir="tmp/cache/stream"):
|
|
| 19 |
|
| 20 |
ffmpeg_command = [
|
| 21 |
'ffmpeg',
|
| 22 |
-
'-headers', f'Authorization: Bearer {token}',
|
| 23 |
'-i', file_url,
|
| 24 |
'-c:v', 'libx264',
|
| 25 |
'-crf', '23',
|
|
|
|
| 19 |
|
| 20 |
ffmpeg_command = [
|
| 21 |
'ffmpeg',
|
| 22 |
+
'-headers', f'"Authorization: Bearer {token}"',
|
| 23 |
'-i', file_url,
|
| 24 |
'-c:v', 'libx264',
|
| 25 |
'-crf', '23',
|