Skip to content

在Mac电脑上运行出现“Segmentation fault: 11” #172

@wtqn0206

Description

@wtqn0206

mac电脑上安装bmf:
pip install BabitMF
运行代码出现“Segmentation fault: 11”
环境具体信息:2.3 GHz 双核Intel Core i5,macOS 13.6.9 (22G830),conda python3.7,python3.9也是会出现相同的错误
我的代码为:
import sys
import bmf

print("当前 Python 版本:", sys.version)

input_video_path = "./testData/input.mp4"
output_path = "./testData/output.mp4"
(
bmf.graph()
.decode({'input_path': input_video_path})['video']
.scale(720, 576)
.encode(None, {
"output_path": output_path,
"video_params": {
"codec": "libx264"
}
}).run()
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions