zm 1.24.x RTSP on debian 64bit crash

Forum for questions and support relating to the 1.24.x releases only.
Post Reply
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 » Fri Feb 18, 2011 3:40 am

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 » Fri Feb 18, 2011 3:46 am

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 » Fri Feb 18, 2011 4:00 am

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 » Tue Feb 22, 2011 1:55 am

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 » Sat Feb 26, 2011 9:19 pm

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
Contact:

Post by c0mputerking » Sun Feb 27, 2011 12:47 am

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 » Sun Feb 27, 2011 11:47 pm

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 » Mon Feb 28, 2011 2:44 am

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
Contact:

Post by c0mputerking » Mon Feb 28, 2011 9:11 am

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 » Mon Feb 28, 2011 9:17 am

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
Contact:

Post by c0mputerking » Thu Mar 10, 2011 8:16 pm

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 » Thu Mar 10, 2011 9:12 pm

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests