ffmpeg path
Browse files- funciones/motion.py +4 -1
funciones/motion.py
CHANGED
@@ -10,8 +10,11 @@ async def motion(imagen):
|
|
10 |
|
11 |
print("Esto es imagen en monomotion: ", imagen)
|
12 |
|
|
|
|
|
13 |
ffmpeg_command = [
|
14 |
-
'ffmpeg', '-y',
|
|
|
15 |
'-loop', '1',
|
16 |
'-i',
|
17 |
f'{imagen}',
|
|
|
10 |
|
11 |
print("Esto es imagen en monomotion: ", imagen)
|
12 |
|
13 |
+
ffmpeg_path = "/opt/ffmpeg/bin/ffmpeg"
|
14 |
+
|
15 |
ffmpeg_command = [
|
16 |
+
#'ffmpeg', '-y',
|
17 |
+
'ffmpeg_path', '-y',
|
18 |
'-loop', '1',
|
19 |
'-i',
|
20 |
f'{imagen}',
|