ChandimaPrabath commited on
Commit
d21de7b
·
1 Parent(s): 090fa41
Files changed (1) hide show
  1. video.py +1 -1
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: Bearer {token}\r\n",
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',