Spaces:
Runtime error
Runtime error
sergey.agapov
commited on
Commit
·
0981ae6
1
Parent(s):
0f5e44c
initial commit
Browse files- translator.py +2 -2
translator.py
CHANGED
|
@@ -55,7 +55,7 @@ stop_event = threading.Event()
|
|
| 55 |
|
| 56 |
def transcode_rtmp_to_dash():
|
| 57 |
ffmpeg_command = [
|
| 58 |
-
"
|
| 59 |
"-i", rtmp_url,
|
| 60 |
"-map", "0:v:0", "-map", "0:a:0",
|
| 61 |
"-c:v", "libx264", "-preset", "slow",
|
|
@@ -78,7 +78,7 @@ def transcode_rtmp_to_dash():
|
|
| 78 |
def capture_audio():
|
| 79 |
global last_activity_time
|
| 80 |
command = [
|
| 81 |
-
'
|
| 82 |
'-i', rtmp_url,
|
| 83 |
'-acodec', 'pcm_s16le',
|
| 84 |
'-ar', '16000',
|
|
|
|
| 55 |
|
| 56 |
def transcode_rtmp_to_dash():
|
| 57 |
ffmpeg_command = [
|
| 58 |
+
"ffmpeg",
|
| 59 |
"-i", rtmp_url,
|
| 60 |
"-map", "0:v:0", "-map", "0:a:0",
|
| 61 |
"-c:v", "libx264", "-preset", "slow",
|
|
|
|
| 78 |
def capture_audio():
|
| 79 |
global last_activity_time
|
| 80 |
command = [
|
| 81 |
+
'ffmpeg',
|
| 82 |
'-i', rtmp_url,
|
| 83 |
'-acodec', 'pcm_s16le',
|
| 84 |
'-ar', '16000',
|