subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
with open(concat_list, 'w') as f: for p in seg_paths: f.write(f"file '{p}'\n") subprocess.run( ['ffmpeg', '-y', '-f', 'concat', '-safe', '0', '-i', concat_list, '-c', 'copy', '-movflags', '+faststart', out_path], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.PIPE,- Confidence
- 83% confidence
- Finding
- subprocess.run( ['ffmpeg', '-y', '-f', 'concat', '-safe', '0', '-i', concat_list, '-c', 'copy', '-movflags', '+faststart', out_path], check=True, stdout=su
