subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
with open(ass_file, "w") as f: f.write(content) subprocess.run([ "ffmpeg", "-y", "-i", video_path, "-vf", f"ass={ass_file}", "-c:v", "libx264", "-c:a", "copy", output_path ], capture_output=True)- Confidence
- 86% confidence
- Finding
- subprocess.run([ "ffmpeg", "-y", "-i", video_path, "-vf", f"ass={ass_file}", "-c:v", "libx264", "-c:a", "copy", output_path ], capture_output=True)
