Page 2 of 2

Re: Zoneminder branch various patches + fix and plugins

Posted: Fri Jan 25, 2013 3:20 pm
by chr1s
Thanks for that. I will try to build zm later this day.

Does anyone know, if the changes will be implemented in the next ZM release? Is there active development?

Re: Zoneminder branch various patches + fix and plugins

Posted: Tue Jan 29, 2013 7:01 pm
by 2Psycho
After I compiled and installed the code successfully I wasn't able to watch the camera anymore?
I had to return to the "old" mastertheknife code

Re: Zoneminder branch various patches + fix and plugins

Posted: Sat Feb 16, 2013 7:49 pm
by axelm
nextime wrote:
chriswiggins wrote:Hi Nextime,

Loving your work here. I have tried and tried and only just finally have I found out why the code wasn't compiling on Ubuntu. Your checks inside configure.ac aren't quite right. Here is a diff to show you what I've changed based on the libav9-ftbfs patch that is going to be part of the new Ubuntu release:
Thanks Chris, your changes are in svn trunk revision 146
Hi nextime,

Would it be possible to add this bugfix to your repo?

https://bugzilla.redhat.com/show_bug.cgi?id=903063

Thanks

Re: Zoneminder branch various patches + fix and plugins

Posted: Thu Feb 21, 2013 1:30 pm
by nextime
done, thanks

Re: Zoneminder branch various patches + fix and plugins

Posted: Wed Feb 27, 2013 9:42 pm
by jameswilson
Noticed the comments on the bug report.
I can assure you zm development is not dead.

I will however pass some comments onto Phil so he is aware.

Re: Zoneminder branch various patches + fix and plugins

Posted: Fri Mar 01, 2013 2:17 pm
by axelm
Nextime,

Here's another fix. This time for streaming on Google Chrome.

http://www.zoneminder.com/forums/viewto ... 29&t=20855

Regards

Re: Zoneminder branch various patches + fix and plugins

Posted: Thu Mar 14, 2013 2:20 am
by usersenior
could someone help with this?
zm_image.cpp:3006: warning: ‘__target__’ attribute directive ignored
zm_image.cpp: In function ‘void std_blend(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int, double)’:
zm_image.cpp:3131: warning: converting to ‘unsigned char’ from ‘double’
zm_image.cpp: At global scope:
zm_image.cpp:3348: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:3376: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:3431: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:3486: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:3542: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:3598: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:3650: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:3702: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:3755: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:4007: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:4053: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:4670: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:4761: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:4937: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:5113: warning: ‘__target__’ attribute directive ignored
zm_image.cpp:5289: warning: ‘__target__’ attribute directive ignored
zm_image.cpp: In function ‘void sse2_fastblend(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int, double)’:
zm_image.cpp:3065: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3065: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3065: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3065: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:3065: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void sse2_delta8_gray8(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:3369: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3369: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3369: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3369: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp: In function ‘void sse2_delta8_rgba(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:3424: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:3424: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:3424: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3424: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3424: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3424: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:3424: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void sse2_delta8_bgra(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:3479: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:3479: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:3479: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3479: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3479: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3479: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:3479: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void sse2_delta8_argb(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:3535: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:3535: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:3535: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3535: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3535: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3535: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:3535: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void sse2_delta8_abgr(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:3591: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:3591: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:3591: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3591: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3591: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3591: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:3591: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_delta8_rgba(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:3643: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:3643: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3643: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3643: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3643: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:3643: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_delta8_bgra(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:3695: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:3695: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3695: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3695: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3695: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:3695: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_delta8_argb(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:3748: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:3748: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3748: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3748: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3748: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:3748: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_delta8_abgr(const uint8_t*, const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:3801: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:3801: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:3801: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:3801: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:3801: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:3801: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_convert_rgba_gray8(const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:4046: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:4046: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:4046: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:4046: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:4046: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:4046: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_convert_yuyv_gray8(const uint8_t*, uint8_t*, long unsigned int)’:
zm_image.cpp:4091: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:4091: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_gray8(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:4757: error: unknown register name ‘%xmm7’ in ‘asm’
zm_image.cpp:4757: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:4757: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:4757: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:4757: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:4757: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:4757: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:4757: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_rgba(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:4933: error: unknown register name ‘%xmm7’ in ‘asm’
zm_image.cpp:4933: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:4933: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:4933: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:4933: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:4933: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:4933: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:4933: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_bgra(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:5109: error: unknown register name ‘%xmm7’ in ‘asm’
zm_image.cpp:5109: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:5109: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:5109: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:5109: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:5109: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:5109: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:5109: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_argb(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:5285: error: unknown register name ‘%xmm7’ in ‘asm’
zm_image.cpp:5285: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:5285: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:5285: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:5285: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:5285: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:5285: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:5285: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_abgr(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:5461: error: unknown register name ‘%xmm7’ in ‘asm’
zm_image.cpp:5461: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:5461: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:5461: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:5461: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:5461: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:5461: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:5461: error: unknown register name ‘%xmm0’ in ‘asm’
make[2]: *** [zm_image.o] Error 1
make[2]: Leaving directory `/root/Download/ZoneminderNew/zum/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Download/ZoneminderNew/zum'
make: *** [all] Error 2

ffmpeg
ffmpeg version N-50782-g02a6b06 Copyright (c) 2000-2013 the FFmpeg developers
built on Mar 13 2013 20:38:24 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
configuration: --enable-gpl --enable-shared --enable-pthreads
libavutil 52. 19.100 / 52. 19.100
libavcodec 55. 0.100 / 55. 0.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 54. 4.100 / 54. 4.100
libavfilter 3. 45.101 / 3. 45.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'


any ideia?

Re: Zoneminder branch various patches + fix and plugins

Posted: Fri Mar 22, 2013 5:31 pm
by christophe_y2k
Hello Nextime, i have a probleme maybe you can help me:
have some camera 5 older bewan iCam 200g and one Foscam FI8918W and one dlink DCS-7510

After some time all bewan return red picture at 35fps, in normal condition have 6fps
the internal log of camera return an error,

Code: Select all

Mar 25 09:25:04 grabber[596]: Connection dropped due to wrong profile number 
Mar 25 10:25:04 tinyproxy[2666]: HTTP video connection from 192.168.254.2
Mar 25 10:25:07 ssi[2648]: [statuslib] slow status detected : /bin/gp_status status at Services_FtpProvisioning_UpdateStatus 
Mar 25 10:25:08 tinyproxy[570]: HTTP video connection from 192.168.254.2
Mar 25 09:25:08 grabber[596]: Connection dropped due to wrong profile number 
Mar 25 10:25:09 tinyproxy[2594]: HTTP video connection from 192.168.254.2
Mar 25 09:25:09 grabber[596]: Cannot open/create file /var/lib/webcam_0.jpg due to errno=24 
Mar 25 09:25:09 grabber[596]: Connection dropped due to wrong profile number 
Mar 25 10:25:09 tinyproxy[2605]: HTTP video connection from 192.168.254.2
Mar 25 09:25:09 grabber[596]: Cannot open/create file /tmp/snapshot_1.jpg due to errno=24 
Mar 25 09:25:09 grabber[596]: Connection dropped due to wrong profile number 
Mar 25 09:25:09 grabber[596]: Cannot open/create file /tmp/snapshot_2.jpg due to errno=24 
Mar 25 09:25:10 grabber[596]: Cannot open/create file /tmp/snapshot_3.jpg due to errno=24 
i need to connect to web interface for reboot them...
dlink works well and foscam have some problem but this is poor firmware relevant

haven't got this probleme with older original source with bewan

Have you an idea?

Many Thanks

Re: Zoneminder branch various patches + fix and plugins

Posted: Mon Mar 25, 2013 5:24 pm
by axelm
christophe_y2k wrote: i need to connect to web interface for reboot them...
dlink works well and foscam have some problem but this is poor firmware relevant

haven't got this probleme with older original source with bewan

Have you an idea?

Many Thanks
Hi Christophe,

I suggest that you another thread since your post is off topic. You probably won't get any support this way.

Regards

Re: Zoneminder branch various patches + fix and plugins

Posted: Sun Jun 02, 2013 11:10 pm
by christophe_y2k
Nextime is here, but he work hard ...

On irc channel i
03/06/2013 00:09:28) nextime: well
(00:09:46) nextime: my next plugin opencv based for zoneminder when i will have the time to code it will be a port of this algo:
(00:09:48) nextime: https://github.com/thearn/webcam-pulse-detector

Nextime , if you have an idea have another problem with new(for me) foscam fi8620, pure h264 PTZ (no mjpeg flux...)
image ok with ffmpeg but if you use ffmpeg for source that disable the listing for chosing the ptz protocol method.
It's a zm bug , you need to edit manually zm bdd for that,
for me :
before: `zm`.`Monitors` SET `ControlId` = '0' WHERE `Monitors`.`Id` =4;
after editing: UPDATE `zm`.`Monitors` SET `ControlId` = '9' WHERE `Monitors`.`Id` =4;

---EDIT AT 08/JULLY/2013 ----------------------------------------
The patch for this prob is here :
http://www.zoneminder.com/forums/viewto ... 026#p80026
------------------------------------------------------------------

But this is not the prob

This camera need to send ptz command with http like that

Code: Select all

http://192.168.0.97/web/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=right
my foscamFI8620.pm script:

Code: Select all

.
..
...
sub sendCmd
{
    my $self = shift;
    my $cmd = shift;
    my $result = undef;
    printMsg( $cmd, "Tx" );
    my $req = HTTP::Request->new( GET=>"http://".$self->{Monitor}->{ControlAddress}."/$cmd" );
    my $res = $self->{ua}->request($req);
    if ( $res->is_success )
    {
        $result = !undef;
    }
    else
    {
        Error( "Error check failed:'".$res->status_line()."'" );
    }
    return( $result );
}
...
....
...
sub moveConRight
{
    my $self = shift;
    Debug( "Move Right" );
    my $cmd = "web/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=right";
    $self->sendCmd( $cmd );
}
..
...
..
but when you do that in firefox that pop-up a windows for enter login and password ...
How to do that in zm ptz script.pm ?

The classic method with

Code: Select all

http://admin:password@192.168.0.97/web/cgi-bin/hi3510/ptzctrl.cgi?-step=1&-act=right
do not work with this camera...

Thanks and Good Night (for me)

---EDIT AT 08/JULLY/2013 ------------------------------------------------------
I found the prob for that
i can move with separate script perl, now i'm searching for integrate it directly in zm
--------------------------------------------------------------------------------

Re: Zoneminder branch various patches + fix and plugins

Posted: Tue Jun 11, 2013 11:22 am
by lucx
Hello nextime,

can you include this fix alsow?

http://www.zoneminder.com/wiki/index.php/1.24.2_Patches