NFS mount? No video

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
Crazyjpeters
Posts: 11
Joined: Tue May 05, 2020 2:01 am

NFS mount? No video

Post by Crazyjpeters » Sun Jul 19, 2020 5:52 am

I'm running an NGINX / 1.34 setup which seems to be working ok, aside from one main problem that I have no stored video. Not stored, no files other than stills when I tell it to store them.

My storage is done with a systemd mount of my ZFS server, mounting nfs.

I've done a bit of searching, and I wonder if this could be a permissions problem, but I don't know. They list as owned by 'nobody'

SteveGilvarry
Posts: 445
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: NFS mount? No video

Post by SteveGilvarry » Sun Jul 19, 2020 7:01 am

I am pretty much doing the same with a Storage Area on my NAS, except with apache. All mine are www-data owned.
Production Zoneminder 1.35.x
Random Selection of Cameras (Dahua and Hikvision)
More Dev VM's than I care to count.

Crazyjpeters
Posts: 11
Joined: Tue May 05, 2020 2:01 am

Re: NFS mount? No video

Post by Crazyjpeters » Sun Jul 19, 2020 7:32 pm

I have stills and directories already though. Wouldn't that suggest it has permissions to write? I wonder why else there wouldn't be videos written. Are there any issues with video being saved that have to do with ubuntu or nginx?

SteveGilvarry
Posts: 445
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: NFS mount? No video

Post by SteveGilvarry » Tue Jul 21, 2020 11:54 am

Possible silly question but under storage you have a Videowriter either passthrough or encode enabled? Not even sure if one of these defaults.
But without that zm would just be storing jpegs that it uses to stream during playback.
Production Zoneminder 1.35.x
Random Selection of Cameras (Dahua and Hikvision)
More Dev VM's than I care to count.

Crazyjpeters
Posts: 11
Joined: Tue May 05, 2020 2:01 am

Re: NFS mount? No video

Post by Crazyjpeters » Tue Aug 04, 2020 6:11 am

After a bit of playing around, there may be no problem with NFS. I had read about possible solaris issues with NFS permissions, but on further investigation, my /mnt/nfs directory is owned by 'nobody' but the zoneminder/events directory and subdirectories are owned by www-data, as they should be.

JPGs are getting stored, but maybe I misunderstand the way it's supposed to be storing video. I have a low-def substream set up with zones to modect. The high-def stream was set to nodect, linked to the low-def to trigger recording. But I never was able to view video. Today I switched the high-def to 'Record' and it doesn't store video, but there are boatloads of jpg frames, and I can view video in the web console.

So this seems to not be an NFS problem. Just a setup issue? I'm seriously confused at how this is supposed to work. I thought for sure that it was supposed to store MP4 somehow.

Crazyjpeters
Posts: 11
Joined: Tue May 05, 2020 2:01 am

Re: NFS mount? No video

Post by Crazyjpeters » Tue Aug 04, 2020 4:45 pm

Well, maybe I'm some kind of moron, but apparently, using X264 encoding is the only thing that works. H264 passthrough is not acceptable for using with an RTSP stream.

SteveGilvarry
Posts: 445
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: NFS mount? No video

Post by SteveGilvarry » Sun Aug 09, 2020 7:05 am

All my h264 passthrough cameras are RTSP? As long as camera is sending h264 video it will write to an mp4 container when h264 passthrough is on. Historically zm wrote only jpegs that it would stream back.
Got some logs of errors doing passthrough?
Production Zoneminder 1.35.x
Random Selection of Cameras (Dahua and Hikvision)
More Dev VM's than I care to count.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests