lipku / python_rtmpstream

python库,实现推送实时rtmp音视频流
MIT License
68 stars 20 forks source link

Segmentation fault: 11 #7

Open imxiongying opened 5 months ago

imxiongying commented 5 months ago

test_stream.py中streamer.stream_frame_with_duration(frame, int(duration*1000))执行时输出Segmentation fault: 11 ,如何确定具体的错误?

imxiongying commented 5 months ago

对ffmpeg版本是否有要求,目前版本为ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers

imxiongying commented 5 months ago

操作系统为MacOS13.6.2

Package Version


numpy 1.26.3 opencv-python 4.9.0.80 pip 23.3.1 rtmp-streaming 0.0.1 setuptools 68.2.2 wheel 0.41.2

lipku commented 5 months ago

已更新代码解决,输入的视频frame要内存连续