ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images
ZM 1.32.3 (and 1.33.1) - bug on replay recorded JPEG images
hi,
in ZM 1.32 I'm able to record FFMPEG images setting H264 Passthrough in Video Writer,
Please, what settings in storage for MJPEG images?
thanks
in ZM 1.32 I'm able to record FFMPEG images setting H264 Passthrough in Video Writer,
Please, what settings in storage for MJPEG images?
thanks
Last edited by pat2 on Sat Apr 27, 2019 2:42 pm, edited 3 times in total.
---------------------------------------------------------------------------
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
Re: ZM 1.33.1 - Save MJPEG images
in a monitor configuration window go under the Storage tab and change Save JPEGs to one of the options such as Frames or Frames & Analysis.
Re: ZM 1.33.1 - Save MJPEG images
thanks. I tried both.
In each case I see a fixed image...
In each case I see a fixed image...
---------------------------------------------------------------------------
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
Re: ZM 1.33.1 - Save MJPEG images
I am not sure what you are trying to do. What MPEG do you mean? The .mp4 file of an event?
Re: ZM 1.33.1 - Save MJPEG images
hi,
i'm trying to view a recorded stream. The source is not an ffmpeg stream, but an mjpeg stream.
I'm able to view. I'm recording with one of the option you suggested, but not able to view what recorded.
On other lower ZM versions (i.e. 1.29) I'm able to view the same stream (*) and to view the recorded stream too. On 1.33.1 no...
I hope to be clear.
thanks regards
(*): the camera is a FOSCAM FI8910W with an MJPEG stream and the stream in ZM has the following settings (on ZM 1.29 able to view and view what recorded too):
source type= remote
protocol: http
method= simple
hostname=192.168.1.203
port=200
path=/videostream.cgi?user=admin&pwd=admin&rate=3
colorspace=24
Width=640
Height=480
i'm trying to view a recorded stream. The source is not an ffmpeg stream, but an mjpeg stream.
I'm able to view. I'm recording with one of the option you suggested, but not able to view what recorded.
On other lower ZM versions (i.e. 1.29) I'm able to view the same stream (*) and to view the recorded stream too. On 1.33.1 no...
I hope to be clear.
thanks regards
(*): the camera is a FOSCAM FI8910W with an MJPEG stream and the stream in ZM has the following settings (on ZM 1.29 able to view and view what recorded too):
source type= remote
protocol: http
method= simple
hostname=192.168.1.203
port=200
path=/videostream.cgi?user=admin&pwd=admin&rate=3
colorspace=24
Width=640
Height=480
Last edited by pat2 on Sun Feb 10, 2019 5:25 pm, edited 3 times in total.
---------------------------------------------------------------------------
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
Re: ZM 1.33.1 - Save MJPEG images
you're most likely missing the x264 libraries and or mp4v2 so your system can't play mp4...
Re: ZM 1.33.1 - record MJPEG images
thanks rock,
they are already installed:
I receive:
It seems my ZM 1.33 (or 1.32) is able to view the live MJPEG stream, but not able to view the same stream when recorded .
For the 2 cameras I'm testing, I went in the events directory.
For the first ffmpeg camera, the one it's possible to see what recorded,
Save JPEGs= disabled,
Video writer= H264 passthrough
->I found 1 snapshot.jpg and 1 mp4.
For the second mjpeg camera, the one it's NOT possible to see what recorded,
Save JPEGs= Frames only,
Video writer= disabled
->I found many jpegs.
thanks
Note: in log console i receive the following warning when I record:
and the following error when I try to view what recorded;
the result is the following screen:
they are already installed:
Code: Select all
sudo apt-get install libx264-152
Code: Select all
sudo apt-get install libmp4v2-dev
Code: Select all
libx264-152 is already the newest version (2:0.152.2854+gite9a5903-2)
Code: Select all
libmp4v2-dev is already the newest version (2.0.0~dfsg0-6)
For the 2 cameras I'm testing, I went in the events directory.
For the first ffmpeg camera, the one it's possible to see what recorded,
Save JPEGs= disabled,
Video writer= H264 passthrough
->I found 1 snapshot.jpg and 1 mp4.
For the second mjpeg camera, the one it's NOT possible to see what recorded,
Save JPEGs= Frames only,
Video writer= disabled
->I found many jpegs.
thanks
Note: in log console i receive the following warning when I record:
Code: Select all
Can't find process with command of 'zma -m 2'
Code: Select all
getCmdResponse stream error: Socket /var/run/zm/zms-436737s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()
- Attachments
-
- Cattura1.PNG (66.31 KiB) Viewed 13424 times
-
- Cattura2.PNG (44.69 KiB) Viewed 13424 times
-
- Cattura3.PNG (43.02 KiB) Viewed 13424 times
Last edited by pat2 on Mon Feb 11, 2019 9:17 pm, edited 1 time in total.
---------------------------------------------------------------------------
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
Re: ZM 1.33.1 - record MJPEG images
That is my issue as well. Still no solution, in freebsd.
Re: ZM 1.33.1 - record MJPEG images
I don't know if it is a bug of ZM or a specific beahviour of ZM in any specific environment.
I tried on an Intel core 5 + Ubuntu 18.04 in a VMware emulation enviroment and it is not working too.
For sure different behaviours according to the distro/HW platform used.
I tried on an Intel core 5 + Ubuntu 18.04 in a VMware emulation enviroment and it is not working too.
For sure different behaviours according to the distro/HW platform used.
Last edited by pat2 on Sat Apr 27, 2019 2:46 pm, edited 1 time in total.
---------------------------------------------------------------------------
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
Re: ZM 1.33.1 - record MJPEG images
You can't use h264 passthrough if the source stream is not h264. Use x264 encode or just save the jpegs.
Re: ZM 1.33.1 - record MJPEG images
Exactly. I'm with an ARM board and since not an FFMPEG camera, so both X264 Encode and H264 camera passthrough are disabled.
Since an MJPEG camera, I'm using
Save JPEGs= Frames only
Video writer= disabled
The issue is that it's not possible to reproduce a video from the recorded JPEGs. It was possible with ZM 1.29 and ZM 1.30.4. I see only a fixed frame (probably the first) or nothing on ZM 1.32 or 1.33.
On lower ZM versions like 1.29 or 1.30.4, ZM is able to reproduce a video using the recorded JPEG images.
In log file I'm getting the following ERR message:
Socket /var/run/zm/zms-973978s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information.
Hope to be clear.
thaks
Since an MJPEG camera, I'm using
Save JPEGs= Frames only
Video writer= disabled
The issue is that it's not possible to reproduce a video from the recorded JPEGs. It was possible with ZM 1.29 and ZM 1.30.4. I see only a fixed frame (probably the first) or nothing on ZM 1.32 or 1.33.
On lower ZM versions like 1.29 or 1.30.4, ZM is able to reproduce a video using the recorded JPEG images.
In log file I'm getting the following ERR message:
Socket /var/run/zm/zms-973978s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information.
Hope to be clear.
thaks
---------------------------------------------------------------------------
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
Re: ZM 1.32.3 and 1.33.1 - record MJPEG images
Same problem here
Re: ZM 1.32.3 and 1.33.1 - record MJPEG images
I think this is the same old cgi pass to zms problem. Check your apache config and apache logs.
Re: ZM 1.32.3 and 1.33.1 - record MJPEG images
I edited apache error log with sudo nano /var/log/apache2/error.log.
That's the result:
Mode: Replay Rate: 0x Progress: NaN:NaN:NaNs Zoom: 0x
So, probably we are stupid users not able to debug the error, but for sure we are many and following exactly the istruction on Zoneminder site.
That's the result:
the log seems ok also after trying to open a recorded mjpeg image and the image is blocked at the first frame and it appear the following message under the image:[Sat Apr 20 14:48:53.294943 2019] [mpm_prefork:notice] [pid 833] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sat Apr 20 14:48:53.296879 2019] [core:notice] [pid 833] AH00094: Command line: '/usr/sbin/apache2'
Mode: Replay Rate: 0x Progress: NaN:NaN:NaNs Zoom: 0x
So, probably we are stupid users not able to debug the error, but for sure we are many and following exactly the istruction on Zoneminder site.
---------------------------------------------------------------------------
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04
ZM 1.36.36 - 14 cameras on Orange Pi 5 (arm64) - Ubuntu Jammy 22.04