Spaces:
Runtime error
Runtime error
| import subprocess | |
| try: | |
| subprocess.run(['ffmpeg', '-version'], check=True) | |
| except Exception as e: | |
| print("FFmpeg not found:", e) | |
| print("Running FFmpeg command:", ' '.join(ffmpeg_cmd)) | |
| print("FFmpeg output:", result.stdout) | |
| print("FFmpeg errors:", result.stderr) |