Search found 17 matches

by tra
Thu Apr 23, 2020 1:40 pm
Forum: ZoneMinder 1.34.x
Topic: connecting Avid ENC-4P-H264 (4 port video encoder)
Replies: 1
Views: 259

Re: connecting Avid ENC-4P-H264 (4 port video encoder)

If you can access the cameras using ffmpeg why you do not use it for Source Type?

And then Source like this:
Screenshot_2020-04-23 ZM - Monitor - Ulko-tolppa.png
Screenshot_2020-04-23 ZM - Monitor - Ulko-tolppa.png (40.08 KiB) Viewed 236 times
Works fine for me with rtsp-cameras.
--
- TRa
by tra
Fri Apr 17, 2020 7:08 pm
Forum: ZoneMinder 1.34.x
Topic: Multi Server Setup
Replies: 14
Views: 1126

Re: Multi Server Setup

It was much harder than I thought but now it works without kicking me to the login screen all the time :) Expecially thanks to Maximo for pointing me good direction to use proxy pass setup. I think problem is that when I have same hostnames in options --> servers setup for both servers. Then ZM is c...
by tra
Tue Apr 14, 2020 6:59 pm
Forum: ZoneMinder 1.34.x
Topic: Multi Server Setup
Replies: 14
Views: 1126

Re: Multi Server Setup

Thanks! I have httpd, so nginx is not so familiar to me at all. So I need some time to study this, what are these all with httpd. I do not fully understand the configuration yet. Interesting that there are 2 statements for server_name. Do I understand this correctly, is this setup for main server wh...
by tra
Sun Apr 12, 2020 11:44 am
Forum: ZoneMinder 1.34.x
Topic: Multi Server Setup
Replies: 14
Views: 1126

Re: Multi Server Setup

More investigating. Little bit hard because I do not know much how multi server is implemented in ZM. I can say something very stupid, please correct. Again server1 (mariadb there) is connected to internet (https 443), server2 connected to server1, and firewall setup is so that server2 is visible in...
by tra
Fri Apr 10, 2020 11:07 pm
Forum: ZoneMinder 1.34.x
Topic: Multi Server Setup
Replies: 14
Views: 1126

Re: Multi Server Setup

WATCH_MAX_DELAY was very short as default, only 5. I changed it to 45 but did not help. Still core-dump after restart. Now it needed 3 times to start before ZM is now again up and running on server2. I did simple restart daemon to handle this, so I can not accidentally forget ZM to be down for a lon...
by tra
Fri Apr 10, 2020 8:36 pm
Forum: ZoneMinder 1.34.x
Topic: Multi Server Setup
Replies: 14
Views: 1126

Re: Multi Server Setup

I had some time to debug this, but I couldn't fix the problem. So I need help, please. Sorry about long text, and long debug messages,I can not explain this shortly. Sorry about my bad English too :oops: Distro is Fedora 31, Zoneminder version v1.34.7 with httpd (apache). I have two servers, I call ...
by tra
Sun Apr 05, 2020 9:08 am
Forum: ZoneMinder 1.34.x
Topic: Multi Server Setup
Replies: 14
Views: 1126

Re: Multi Server Setup

Oh damn... not this problem starts to be worse. Even I do not have now reverse proxy setup in apache, I use port forwarding / firewall. Earlier it seems to work. But now I will be kicked out to login screen randomly and very often. Usually middle of watching video or almost doing anything could caus...
by tra
Thu Apr 02, 2020 7:44 pm
Forum: ZoneMinder 1.34.x
Topic: Multi Server Setup
Replies: 14
Views: 1126

Re: Multi Server Setup

Port forward the other server to different port and open that port to internet works, thanks. Also need to change options of server to that port of course. But then you need open extra port to the internet. Because of that I tried alternative solution (no need touch existing firewall rules), config ...
by tra
Tue Mar 31, 2020 10:09 pm
Forum: ZoneMinder 1.34.x
Topic: Multi Server Setup
Replies: 14
Views: 1126

Re: Multi Server Setup

Good instructions, thanks, but I have done everything needed there. Servers see each other perfectly and share data in local net. Also mariadb is configured so that both zoneminders can use it. But from internet, I think I need to build reverse proxy to apache so that also my internal server int99 i...
by tra
Tue Mar 31, 2020 6:48 pm
Forum: ZoneMinder 1.34.x
Topic: Multi Server Setup
Replies: 14
Views: 1126

Multi Server Setup

I have changed single server setup to multi server by two different hosts (hardware). All works well in local network, I can use all cameras, see videos etc. but from internet I can access only the cameras connected to the main server. Problem with internal server is with both live videos and record...
by tra
Sat Dec 08, 2018 10:46 pm
Forum: ZoneMinder 1.32.x
Topic: Solved! Audio record problem with camera passthrough
Replies: 6
Views: 3689

Re: Solved! Audio record problem with camera passthrough

Upgrading to version 1.32.2 fixed the problem. Audio works now fine with all my cameras support audio. Thank you very much :D

- TRa
by tra
Sat Nov 24, 2018 10:15 pm
Forum: ZoneMinder 1.32.x
Topic: h264 passthrough hikvision audio
Replies: 7
Views: 2515

Re: h264 passthrough hikvision audio

I have one camera audio works fine. It is Reolink RLC-410 and it outputs aac audio. According to ffmpeg audio is: Stream #0:1: Audio: aac, 16000 Hz, mono, fltp But I have several cheap Chinese brand HJT cameras. According to ffmpeg audio is: Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s...
by tra
Fri Nov 02, 2018 4:19 pm
Forum: ZoneMinder 1.32.x
Topic: Solved! Audio record problem with camera passthrough
Replies: 6
Views: 3689

Re: Audio record problem with camera passthrough

I really want to fix this. I downloaded also the source package, but I'm not familiar with zoneminder enough. Could somebody point me the correct source file which defines the actual ffmpeg-command to capture video? Binary is zmc am I right? I think it should be quite trivial to find the ffmpeg para...
by tra
Wed Oct 17, 2018 2:26 pm
Forum: ZoneMinder 1.32.x
Topic: Solved! Audio record problem with camera passthrough
Replies: 6
Views: 3689

Re: Audio record problem with camera passthrough

Updated 1.32.0 to 1.32.1 but still no audio. Is there the way somehow debug that more? This error [could not open codec (-22) (Invalid argument)] does not tell me much. From debug log you can see audio is available and stream is found. And I can capture it by pure ffmpeg, but it is not working with ...
by tra
Mon Oct 08, 2018 12:20 pm
Forum: ZoneMinder 1.32.x
Topic: Solved! Audio record problem with camera passthrough
Replies: 6
Views: 3689

Re: Audio record problem with camera passthrough

ZM will automatically encode the audio to aac when saving to .mp4. OK, but somehow it does not work, I do not know why. I can capture video/audio to mp4 from camera, so I think I do have necessary libraries. /usr/bin/ffmpeg -i rtsp://admin:123456@192.168.0.125:554/mpeg4 -c:v copy -c:a aac foo.mp4 w...