Spaces:
Paused
Paused
Commit
·
d21de7b
1
Parent(s):
090fa41
fix video
Browse files
video.py
CHANGED
@@ -20,7 +20,7 @@ def ffmpeg_stream(file_url, token, output_dir="tmp/cache/stream"):
|
|
20 |
# Construct the FFmpeg command
|
21 |
ffmpeg_command = [
|
22 |
'ffmpeg',
|
23 |
-
'-headers', f"Authorization
|
24 |
'-i', file_url,
|
25 |
'-c:v', 'libx264',
|
26 |
'-crf', '23',
|
|
|
20 |
# Construct the FFmpeg command
|
21 |
ffmpeg_command = [
|
22 |
'ffmpeg',
|
23 |
+
'-headers', f"Authorization\\: Bearer {token}",
|
24 |
'-i', file_url,
|
25 |
'-c:v', 'libx264',
|
26 |
'-crf', '23',
|