zmc crash with ffmpeg source on upgrade
Posted: Sat Nov 19, 2011 10:12 am
After upgrading to 1.25.0 from 1.24.4, I get a seg fault when zmc loads with an ffmpeg source.
ZM log:
I looked at the core dump, and it's crashing at zm_ffmpeg_camera.cpp:106
mFormatContext->streams[0] is NULL.
This is with ffmpeg 0.7.7.
I can record from the stream directly with ffmpeg, so I know it's working. I even deleted all the tables and reran the zmcreate.sql script.
Any ideas?
Code: Select all
dragon bin # /usr/bin/zmc -m 1
[h264 @ 0x7ecb010] Format h264 probed with size=2048 and score=51
[h264 @ 0x7ecb010] max_analyze_duration 5000000 reached at 5000000
[h264 @ 0x7ecb010] Estimating duration from bitrate, this may be inaccurate
Segmentation fault (core dumped)
Code: Select all
2011-11-19 02:08:12.500835 zmc_m1 19145 INF Priming capture from /tmp/zmodo0 zm_ffmpeg_camera.cpp 91
2011-11-19 02:08:12.500048 zmc_m1 19145 INF Starting Capture zmc.cpp 191
mFormatContext->streams[0] is NULL.
This is with ffmpeg 0.7.7.
I can record from the stream directly with ffmpeg, so I know it's working. I even deleted all the tables and reran the zmcreate.sql script.
Any ideas?