ffmepg
- Ngôn ngữ chính
- Python
- Star
- 93.8k
- Fork
- 7.7k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
我想给manim提供检测ffmpeg的程序
`import subprocess
cmd = "ffmpeg -version"
cmd_return = subprocess.getoutput(cmd)
if cmd_return == "'ffmpeg' 不是内部或外部命令,也不是可运行的程序或批处理文件。":
raise Exception("FFMPEG not found")
else:
print("found FFMPEG")`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Look for where manim checks for external dependencies, likely in a setup or configuration module. The issue suggests using subprocess to run 'ffmpeg -version' and handling the output. Check existing error handling for missing ffmpeg to integrate this detection cleanly. Test by simulating missing and present ffmpeg to ensure the exception is raised appropriately.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- cli, tooling
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100