rica commited on
Commit
6b4d8bd
·
1 Parent(s): d014437

Upload insecure.txt

Browse files
Files changed (1) hide show
  1. 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)