Spaces:
Runtime error
Runtime error
Upload insecure.txt
Browse files- insecure.txt +5 -0
insecure.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import subprocess
|
2 |
+
|
3 |
+
def transcode_file(request, filename):
|
4 |
+
command = 'ffmpeg -i "{source}" output_file.mpg'.format(source=filename)
|
5 |
+
subprocess.call(command, shell=True)
|