Search found 61 matches

by abi
Sat Nov 26, 2016 12:49 pm
Forum: ZoneMinder 1.30.x
Topic: [H264] For time to time I find ZM partially stopped
Replies: 1
Views: 1791

Re: [H264] For time to time I find ZM partially stopped

BTW, attempt to restart ZM from this state means disaster - when zmdc.pl starts killing old processes, they are immediately restarted. I suspect killing code is unreliable, see ps output www 24965 0.0 0.1 84976 17104 0- SJ Wed22 1:47.17 /usr/local/bin/perl -wT /usr/local/bin/zmdc.pl startup my @daem...
by abi
Sat Nov 26, 2016 12:43 pm
Forum: ZoneMinder 1.30.x
Topic: [H264] For time to time I find ZM partially stopped
Replies: 1
Views: 1791

[H264] For time to time I find ZM partially stopped

I made this topic before, however I decided to delete it as I thought I can figure out what is happening by myself. However,now I totally ran out of ideas. So, the problem is that sometime (say, 2 times per week) I found ZM in rather strange state. It runs, however for zmdc.pl, no sock file or pid e...
by abi
Sat Nov 19, 2016 10:29 pm
Forum: ZoneMinder 1.30.x
Topic: H.264 and mocord mode
Replies: 0
Views: 1737

H.264 and mocord mode

I use ZM with h.264 passthrough in mocord mode. Most of videos have length = "Section length" from monitor settings. Actually, this is documented behavior, but from my point of view this solution is bad. Here is common video structure (0 - alarmed frames, - is not) ------------------------...
by abi
Sun Sep 25, 2016 2:33 pm
Forum: ZoneMinder 1.30.x
Topic: [SOLVED] Should I install GPU to ZM server?
Replies: 1
Views: 1657

[SOLVED] Should I install GPU to ZM server?

/subj/ Is something can be accelerated for h.264 cameras with ffmpeg backend?
by abi
Sun Sep 25, 2016 10:56 am
Forum: User Contributions
Topic: Saving h264 using feature-h264-videostorage
Replies: 41
Views: 49723

Re: Saving h264 using feature-h264-videostorage

I re-read the first post and noticed If you have some non h264 capable cameras and want to use the h264 encode function you need to install libx264-dev and libmp4v2-dev or whatever are your distro equivalents. Is -dev indicating that developers versions are needed ? Currently we have: http://www.fre...
by abi
Sun Sep 25, 2016 10:45 am
Forum: User Contributions
Topic: Saving h264 using feature-h264-videostorage
Replies: 41
Views: 49723

Re: Saving h264 using feature-h264-videostorage

Abi from the error it is complaining about pixel format, not sure what would be causing that. If this is on FreeBSD can you try Ubuntu. No idea if that is the cause, but seems to me a major difference that might be impacting based on your history of working on FreeBSD. There is a function in there ...
by abi
Tue Sep 20, 2016 6:22 am
Forum: User Contributions
Topic: Saving h264 using feature-h264-videostorage
Replies: 41
Views: 49723

Re: Saving h264 using feature-h264-videostorage

Should I write my issue with mp4 containers to github? It looks not like configuration problem.
by abi
Mon Sep 19, 2016 12:42 pm
Forum: User Contributions
Topic: Saving h264 using feature-h264-videostorage
Replies: 41
Views: 49723

Re: Saving h264 using feature-h264-videostorage

Is that a 3MP camera running at 25fps? That 3MP camera running at 6fps, above command was manually run against single jpeg from that camera just to see if x264 works at all. Second probe was run against mp4 produced by ZM. It has error, maybe track parameters was set incorrectly? That version worth...
by abi
Mon Sep 19, 2016 11:15 am
Forum: User Contributions
Topic: Saving h264 using feature-h264-videostorage
Replies: 41
Views: 49723

Re: Saving h264 using feature-h264-videostorage

x264 works for random swap frame from that camera, so I suppose it really should encode things abishai@zmh:/usr/ports/multimedia/zoneminder-h264 % ffmpeg -i /tmp/zmswap-i00003.jpg -c:v libx264 /tmp/test.mp4 ffmpeg version 2.8.7 Copyright (c) 2000-2016 the FFmpeg developers built with FreeBSD clang v...
by abi
Mon Sep 19, 2016 10:26 am
Forum: User Contributions
Topic: Saving h264 using feature-h264-videostorage
Replies: 41
Views: 49723

Re: Saving h264 using feature-h264-videostorage

My cameras can output h264, however I want analysis, so I switched them to jpreg. I use record just for debugging. Probably I will do mocord later. The problem is that I have no even warning in log. I think we need more logging in zm_video.cpp. And CPU load is insane, this mode will be useless.
by abi
Mon Sep 19, 2016 9:42 am
Forum: User Contributions
Topic: Saving h264 using feature-h264-videostorage
Replies: 41
Views: 49723

Re: Saving h264 using feature-h264-videostorage

Also, I need tips how to enable x264 encoding. I compiled videostorage branch, added camera 1. SaveJPGs = Disabled 2. VideoWriter = x264 Encode 3. Monitor set to Record After start I see zma eating a core (100%), mp4 file is created, but it's empty. (it has mp4 640 byte structure and that's all). No...
by abi
Sun Sep 18, 2016 8:44 pm
Forum: User Contributions
Topic: Saving h264 using feature-h264-videostorage
Replies: 41
Views: 49723

Re: Saving h264 using feature-h264-videostorage

I'm experimenting with storageareas branch. I have a problem with adding monitor SQL-ERR 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'LinkedMonitors' cannot be null' This is not related with mysql engine options as column is market as NOT NULL and NULL is really passed in. I'm not ...
by abi
Sun Aug 28, 2016 10:17 am
Forum: Mobile Apps and Event Server
Topic: ZMNinja in F-DROID
Replies: 1
Views: 2598

ZMNinja in F-DROID

Hello,

do you have any plans to release ZMNinja in F-Droid (https://f-droid.org/)? Or include apk like you did with desktop versions? I don't have google market on my devices and according manual, it's hard to build it manually (harder than ZM on FreeBSD, actually :mrgreen: )
by abi
Sun Aug 28, 2016 10:08 am
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225685

Re: ZM on FreeBSD

2. http://www.freshports.org/textproc/php56-ctype/
3. http://www.freshports.org/comms/p5-Device-SerialPort/

I'll include them in next port revision. Thanks for report.
by abi
Fri Apr 22, 2016 8:13 pm
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 68
Views: 225685

Re: ZM on FreeBSD

achix wrote:BTW, is there any official FreeBSD port made out of those patches?
I'm making one here - https://github.com/abishai/Zoneminder-port
It's almost ready, however, I'd like to solve at least one of minor issue - V4L support.