Search found 59 matches

by abi
Sat Nov 19, 2016 10:29 pm
Forum: ZoneMinder 1.30.x
Topic: H.264 and mocord mode
Replies: 0
Views: 1230

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

[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: 36713

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

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

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

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

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

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

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

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
Topic: ZMNinja in F-DROID
Replies: 1
Views: 1956

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: 56
Views: 54080

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: 56
Views: 54080

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.
by abi
Fri Apr 22, 2016 6:25 pm
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 56
Views: 54080

Re: ZM on FreeBSD

achix wrote:Guys are you sure you have read this : viewtopic.php?f=9&t=23298 ?
I read it. That patches was accepted by upsteam mostly. The issues ZM has now are not covered by that thread.
by abi
Sun Apr 17, 2016 3:47 pm
Forum: ZoneMinder Distributions
Topic: ZM on FreeBSD
Replies: 56
Views: 54080

Re: ZM on FreeBSD

OK, I built ZM with ZENDFILE disabled - now it plays. 04/17/16 18:45:41.346025 zms[100144].DB1-zm_stream.cpp/311 [We have obtained a lock on /var/run/zm/zms-284362.lock fd: 8] 04/17/16 18:45:41.346168 zms[100144].DB2-zm_event.cpp/1222 [Sending frame 1] 04/17/16 18:45:41.601179 zms[100144].DB2-zm_eve...