jpegs disabled but still written

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
alanm
Posts: 9
Joined: Thu Oct 31, 2024 10:04 pm

jpegs disabled but still written

Post by alanm »

I'm trying to tune my zones and streaming settings and I am able to detect motion and see the captured video via the UI; that's great however.

I noticed in this error in the logs for my event (8076)
Could not open input file '/var/lib/zoneminder/events/10/2024-11-06/8076/8076-video.mp4' (error 'No such file or directory')

It's true that file doesnt exist, but there are jpeg files in the /var/lib/zoneminder/events/10/2024-11-06/8076/ directory.

These are my settings. So
1. Is there supposed to be an mp4 file there?
2. Why are there jpegs there when i have disabled that?

Screenshot 2024-11-06 at 11.12.08 AM.png
Screenshot 2024-11-06 at 11.12.08 AM.png (50.57 KiB) Viewed 993 times
Screenshot 2024-11-06 at 11.11.32 AM.png
Screenshot 2024-11-06 at 11.11.32 AM.png (25.12 KiB) Viewed 993 times
alanm
Posts: 9
Joined: Thu Oct 31, 2024 10:04 pm

Re: jpegs disabled but still written

Post by alanm »

And when I configure Video Writer: Passthrough I DO get an mp4 file generated for the event.
I'm on a mac so I can't see it via Safari but I can see it via Chrome
User avatar
iconnor
Posts: 3360
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: jpegs disabled but still written

Post by iconnor »

If we fail to create the mp4 it will automatically fall back to jpegs.

There must be a problem with creating encoder. There should be more errors in the logs relating to that. Perhaps whatever encoder it is choosing needs other parameters.
alanm
Posts: 9
Joined: Thu Oct 31, 2024 10:04 pm

Re: jpegs disabled but still written

Post by alanm »

It's not an issue anymore.

I changed all the monitor's storage options to passthrough and I consistently getting just the mp4 created.
Save JPEG Disabled
Viedeo Writer Passthrough
Encoder params crf=1

Still can't view them on apple but I mainly use Android & Chrome so I'm ok with that.

The camera are streaming h265 and I previously had
Save JPEG Disabled
Video Writer Encode
OutputCodec h265/hevc
Encoder Auto
User avatar
iconnor
Posts: 3360
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: jpegs disabled but still written

Post by iconnor »

well passthrough will use the least resources.. I find it interesting that chrome/android will play it but not apple. As far as I know apple is the only one that SHOULD be able to play it. Weird
Post Reply