ChandimaPrabath commited on
Commit
0920ae9
·
1 Parent(s): bb9c4a8
Files changed (1) hide show
  1. video.py +1 -1
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',