Please report issues in this thread.
What we need is:
- Testing on Gentoo and Arch, and on other popular distros
- Testing of ffmpeg sources
- Testing of local (/dev/...) sources
Code: Select all
g++ -D__STDC_CONSTANT_MACROS -g -O2 -L/usr/local/lib -L/usr/lib/mysql -o zmc zmc.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_logger.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o -lz -lbz2 -lswscale -lavdevice -lavformat -lavcodec -lavutil -lx264 -lz -lpcre -lgnutls-openssl -lgnutls -lgcrypt -ldl -lpthread -ljpeg -lmysqlclient
zm_ffmpeg_camera.o: In function `FfmpegCamera::~FfmpegCamera()':
/usr/src/ZoneMinder-1.26-beta.2/src/zm_ffmpeg_camera.cpp:85: undefined reference to `avformat_close_input'
zm_mpeg.o: In function `encode_frame':
/usr/src/ZoneMinder-1.26-beta.2/src/zm_mpeg.cpp:40: undefined reference to `avcodec_encode_video2'
collect2: error: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/usr/src/ZoneMinder-1.26-beta.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ZoneMinder-1.26-beta.2'
make: *** [all] Error 2
I may have had a similar issue when I was building the 1.26 rpms. Before I get into what the issue was, try and temporarily turn off authentication and report back wether or not that resolves the issue.jancolle wrote:Thank you for a fantastic piece of software
I Have just compiled 1.26 beta2 on my Ubuntu 12.04. And upgraded my old 1.25 db to 1.26 without problems.
But after the upgrade I can no longer watch live stream, or recorded streams in the web interface.
I have no problem watching the recorded videos, if I download them to my PC.
I'm getting these lines in the log.:
2013-08-25 16:37:04.099324 zms[24951].ERR-zm_signal.cpp/91 [Signal address is 0x206, no eip]
2013-08-25 16:37:04.103193 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7fe6bda9dcb0]]
2013-08-25 16:37:04.103446 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fe6bc75d425]]
2013-08-25 16:37:04.103707 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7fe6bc760b8b]]
2013-08-25 16:37:04.103939 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(+0x7439e) [0x7fe6bc79b39e]]
2013-08-25 16:37:04.104141 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37) [0x7fe6bc831817]]
2013-08-25 16:37:04.104342 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0) [0x7fe6bc8317e0]]
2013-08-25 16:37:04.104541 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /usr/lib/cgi-bin/nph-zms() [0x4d5cf5]]
2013-08-25 16:37:04.104817 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /usr/lib/cgi-bin/nph-zms() [0x406f08]]
2013-08-25 16:37:04.105107 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fe6bc74876d]]
2013-08-25 16:37:04.105383 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /usr/lib/cgi-bin/nph-zms() [0x4073f1]]
Any ideas ?
My srpm may help you. Download it from this thread:AllenTuttle wrote:Do you happen to have a configure script that might work for Fedora?
I tried autoconf, automake, and autoreconf but none could create a usable configure.
For example:
--------------------------------
autoconf
configure.ac:3: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:5: error: possibly undefined macro: AM_CONFIG_HEADER
configure.ac:349: error: possibly undefined macro: AC_PROG_PERL_VERSION
configure.ac:352: error: possibly undefined macro: AC_PROG_PERL_MODULES
configure.ac:377: error: possibly undefined macro: AC_DEFINE_DIR
Not sure how I would get that specific version for Ubuntu 13.04. I just compiled from git, so I've got ffmpeg version git-2013-08-20-d9b0b54.knnniggett wrote:The release notes say to use ffmpeg version N-55540-g93f4277. Try that.
How will that affect an existing 1.25 installation? Upgrade? Or side-by-side install?knnniggett wrote:For Ubuntu platforms, you also have the option of using Kyle's puppet module:
https://github.com/ZoneMinder/ZoneMinde ... der-Module
Both good questions, and you know I need to ask kylejohnson how to get that specific version of ffmpeg. I thought I knew until I tried. I looked at Kyle's puppet module, and his module is just git clone-ing the latest version. That's not what I expected.windracer wrote:Not sure how I would get that specific version for Ubuntu 13.04. I just compiled from git, so I've got ffmpeg version git-2013-08-20-d9b0b54.knnniggett wrote:The release notes say to use ffmpeg version N-55540-g93f4277. Try that.
How will that affect an existing 1.25 installation? Upgrade? Or side-by-side install?knnniggett wrote:For Ubuntu platforms, you also have the option of using Kyle's puppet module:
https://github.com/ZoneMinder/ZoneMinde ... der-Module
knnniggett wrote:I may have had a similar issue when I was building the 1.26 rpms. Before I get into what the issue was, try and temporarily turn off authentication and report back wether or not that resolves the issue.jancolle wrote:Thank you for a fantastic piece of software
I Have just compiled 1.26 beta2 on my Ubuntu 12.04. And upgraded my old 1.25 db to 1.26 without problems.
But after the upgrade I can no longer watch live stream, or recorded streams in the web interface.
I have no problem watching the recorded videos, if I download them to my PC.
I'm getting these lines in the log.:
2013-08-25 16:37:04.099324 zms[24951].ERR-zm_signal.cpp/91 [Signal address is 0x206, no eip]
2013-08-25 16:37:04.103193 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7fe6bda9dcb0]]
2013-08-25 16:37:04.103446 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fe6bc75d425]]
2013-08-25 16:37:04.103707 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7fe6bc760b8b]]
2013-08-25 16:37:04.103939 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(+0x7439e) [0x7fe6bc79b39e]]
2013-08-25 16:37:04.104141 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37) [0x7fe6bc831817]]
2013-08-25 16:37:04.104342 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0) [0x7fe6bc8317e0]]
2013-08-25 16:37:04.104541 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /usr/lib/cgi-bin/nph-zms() [0x4d5cf5]]
2013-08-25 16:37:04.104817 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /usr/lib/cgi-bin/nph-zms() [0x406f08]]
2013-08-25 16:37:04.105107 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fe6bc74876d]]
2013-08-25 16:37:04.105383 zms[24951].ERR-zm_signal.cpp/123 [Backtrace: /usr/lib/cgi-bin/nph-zms() [0x4073f1]]
Any ideas ?
Thanks for the feedback. You helped identify a bug.jancolle wrote: Yes turning off authentication did it. Now streaming is working again.