zm 1.24.x RTSP on debian 64bit crash

Forum for questions and support relating to the 1.24.x releases only.
Locked
ruehlchr
Posts: 12
Joined: Fri Feb 18, 2011 2:14 am
Location: Hong Kong

zm 1.24.x RTSP on debian 64bit crash

Post by ruehlchr »

Dear All,

currently I installed ZM on a Qnap T259 Pro+ (Dual Atom) trying the debian squeeze amd64 installation. So far so good everything seems to work - beside the problem that the RTSP to my Axis crashs after a couple of seconds and all related functions are dead. I play around using the latest ffmpeg from debianmedia.org but i cannot fix it.
(Workaround)
After the downgrade the OS to a x86 debian squeeze the problems disappear - but with it the benefit of a real 64bit system.

Did someone have tested the zm installation with a 64bit and like to share the experiences?

Cheers
Chris
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Can you please post debug logs including the system log and a backtrace if exists?

Thank you,
mastertheknife
ruehlchr
Posts: 12
Joined: Fri Feb 18, 2011 2:14 am
Location: Hong Kong

Post by ruehlchr »

Therefore I need to rollback to the Squeeze amd64. I'm a bit in hurry but try to get a second machine with same configuration - at this point I will report with logs.

Chris
If you wondering why your PC is so slow, try Linux instead!
ruehlchr
Posts: 12
Joined: Fri Feb 18, 2011 2:14 am
Location: Hong Kong

Post by ruehlchr »

Hi mastertheknife,

I setup the Qnap again with the 64bit version to reproduce the problem switch on debugging for _zmc_m1.
Please find the zip'd log under

http://www.xit.com.hk/soft/error_log_at ... debian.zip (260kb)
http://www.xit.com.hk/soft/error_debuglevel9.zip (770kb)

there are no crashs or kernel panics in the system logs.
I expect a bug in the 64bit version of ffmeg.

Update to current Vanilla 2.6.37.1 (nonBKL).

Package: ffmpeg
State: installed
Automatically installed: yes
Version: 5:0.6.1+svn20101128-0.2


let me know if you need more infos.

thx.
Chris
If you wondering why your PC is so slow, try Linux instead!
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Hi,

I looked at your logs but its difficult to find a problem.
Also, have you seen this thread, just few threads next to yours:
http://www.zoneminder.com/forums/viewtopic.php?t=16060

mastertheknife :D
c0mputerking
Posts: 190
Joined: Tue Sep 16, 2008 5:22 am

Post by c0mputerking »

I still need help with this and have post on the other thread too!! Please someone give me a hint as to how to apply the patch?
ruehlchr
Posts: 12
Joined: Fri Feb 18, 2011 2:14 am
Location: Hong Kong

Post by ruehlchr »

mastertheknife,

yes i saw the other thread - I have to check if debian version still not include stdin.h
Let you know.

(Was away for a couple of days in the Philippines - very nice there)

cheers
Chris :twisted:
If you wondering why your PC is so slow, try Linux instead!
ruehlchr
Posts: 12
Joined: Fri Feb 18, 2011 2:14 am
Location: Hong Kong

Post by ruehlchr »

Hey guy's

I had a bunch of compiler warning's about types after I pached the zm.h - there is some more work to do - BUT
for time being its works :D.

Debian squeeze packet can be download for testing from:
http://www.xit.com.hk/soft/zoneminder_1 ... _amd64.deb

@mastertheknife - thanks for the hint!

@the rest Please check it out! And give me a note if you run into a problem.

Cheers
Chris
If you wondering why your PC is so slow, try Linux instead!
c0mputerking
Posts: 190
Joined: Tue Sep 16, 2008 5:22 am

Post by c0mputerking »

Thanks you for the package however I get these errors do i need to remove all those programs like apt-get suggests??? as i am pretty sure i am using some of them elsewhere too!

I am running Ubuntu 10.04.2 LTS 64bit

root@sun:/usr/src# dpkg -i zoneminder_1.24.2-9_amd64.deb
(Reading database ... 75180 files and directories currently installed.)
Preparing to replace zoneminder 1.24.2-9 (using zoneminder_1.24.2-9_amd64.deb) ...
Unpacking replacement zoneminder ...
dpkg: dependency problems prevent configuration of zoneminder:
zoneminder depends on libavcodec52 (>= 5:0.6.1+svn20101128); however:
Version of libavcodec52 on system is 4:0.5.1-1ubuntu1.
zoneminder depends on libavformat52 (>= 5:0.6.1+svn20101128); however:
Version of libavformat52 on system is 4:0.5.1-1ubuntu1.
zoneminder depends on libavutil50 (>= 5:0.6.1+svn20101128); however:
Package libavutil50 is not installed.
zoneminder depends on libjpeg62 (>= 6b1); however:
Version of libjpeg62 on system is 6b-15ubuntu1.
zoneminder depends on libswscale0 (>= 5:0.6.1+svn20101128); however:
Version of libswscale0 on system is 4:0.5.1-1ubuntu1.
dpkg: error processing zoneminder (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Errors were encountered while processing:
zoneminder
root@sun:/usr/src# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libmime-types-perl libswscale0 libavutil49 libio-stringy-perl libyaml-syck-perl unzip libavfilter0
libarchive-zip-perl libmime-tools-perl libspeex1 libdate-manip-perl libavdevice52 libmime-perl
libsdl1.2debian-alsa libavcodec52 apache2 libsdl1.2debian libtheora0 ffmpeg libpostproc51 libasound2
libraw1394-11 libgsm1 libvorbisenc2 libphp-serialization-perl libschroedinger-1.0-0 libavformat52
libemail-date-format-perl libdc1394-22 wwwconfig-common zip php5-mysql liboil0.3 libdirac-encoder0
libdevice-serialport-perl libvorbis0a libconvert-binhex-perl libmime-lite-perl libusb-1.0-0 javascript-common
libjs-mootools libogg0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
zoneminder
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 6,656kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
ruehlchr
Posts: 12
Joined: Fri Feb 18, 2011 2:14 am
Location: Hong Kong

Post by ruehlchr »

Sorry Maid!

This build was for Debian 6 Sqeeze not for Ubuntu.
The distributions differ a lot.

for all the debian users.. this build dep's done against the latest ffmpeg
from www.debian-media.org.
Please update your source.list add:

deb http://www.debian-multimedia.org squeeze main non-free

down load and install the keyring
http://www.debian-multimedia.org/pool/m ... 26_all.deb

Q. Why apt-get doesn't find this public key : NO_PUBKEY 07DC563D1F41B907 ?
A. Install the debian-multimedia-keyring package with "dpkg -i debian-multimedia-keyring_2008.10.16_all.deb" (click on the link above to download the package).

run the safe-upgrade and enjoy the latest hits for ffmpeg etc..


-Chris
If you wondering why your PC is so slow, try Linux instead!
c0mputerking
Posts: 190
Joined: Tue Sep 16, 2008 5:22 am

Post by c0mputerking »

Anybody a hint? as to how i can get RSTP to work with Ubuntu 10.04 64 bit?
osoroco
Posts: 13
Joined: Mon Mar 07, 2011 3:49 pm

Post by osoroco »

i'm on 10.04 64bit and have been able to capture images using ffmpeg as source type instead of remote+rtsp, the source path is:

rtsp://user:pass@ip:554/axis-media/media.amp

what i haven't been able to is stream that back to the browser, stuck on socket_sendto connection refused

hope that helps!
Locked