1.19.1 bugs

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

1.19.1 bugs

Post by fernando »

well filter works ok.

i have an error on video creation.

Creating video file Event-4464.mpg for event 4464
/usr/local/bin/ffmpeg -y -hq -r 0.00 -s 640x480 -i %03d-capture.jpg Event-4464.mpg > mpeg.log
Incorrect frame rate

Error: 1 at /usr/local/bin/zmvideo.pl line 259.


and i having some cain of error with zms .. dont stream recorded events. there is a big diference sin file size..
*zms 7187502 ------- version 1.9.0
*zms 927816 ------- version 1.9.1
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: 1.19.1 bugs

Post by zoneminder »

Hi Fernando,

Are you sure the video error was with an installed 1.19.1? There was a problem in an earlier version but was fixed since. The zms problems are addressed in another thread and should hopefully be fixed in the latest 1.19.1 (up at about 10:00 GMT).

Phil,
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Found zmvideo.pl issue

Post by cordel »

I can't create video since 1.19.1
MPEG streaming is working fine.

The only error I have is in

<zmvideo.log>
Creating video file Event-214.mpg for event 214
/usr/local/bin/ffmpeg -y -hq -intra -r 5.15 -s 320x240 -i %03d-capture.jpg Event-214.mpg > mpeg.log
Input #0, image, from '%03d-capture.jpg':
Duration: 00:00:06.4, bitrate: N/A
Stream #0.0: Video: rawvideo, yuvj444p, 320x240, 5.15 fps
Output #0, mpeg, to 'Event-214.mpg':
Stream #0.0: Video: mpeg1video (hq), 320x240, 5.15 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding

Error: 139 at /usr/bin/zmvideo.pl line 259.
If I look where it is supposed to be created
ls -l /var/www/html/events/Front_Yard/214/
-rw-r--r-- 1 root root 0 May 6 17:07 Event-214.mpg
-rw-r--r-- 1 root root 0 May 6 17:07 mpeg.log
Is this a permisions issue maybe? I think that incorect information is being passed to ffmpeg maybe.

I running in gray scale with ZM_COLOUR_JPEG_FILES off
If I turn ZM_COLOUR_JPEG_FILES on
then force an alarm and make a video from that.

<zmvideo.log>
Creating video file Event-224.mpg for event 224
/usr/local/bin/ffmpeg -y -hq -intra -r 5.08 -s 320x240 -i %03d-capture.jpg Event-224.mpg > mpeg.log
Input #0, image, from '%03d-capture.jpg':
Duration: 00:00:14.1, bitrate: N/A
Stream #0.0: Video: rawvideo, yuvj420p, 320x240, 5.08 fps
Output #0, mpeg, to 'Event-224.mpg':
Stream #0.0: Video: mpeg1video (hq), 320x240, 5.08 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 15 q=9.0 size= 54kB time=3.0 bitrate= 149.8kbits/s ^Mframe= 27 q=7.0 size= 126kB time=5.3 bitrate= 194.2kbits/s ^Mframe= 39 q=7.0 size= 198kB time=7.7 bitrate= 211.3kbits/s ^Mframe= 52 q=7.0 size= 276kB time=10.2 bitrate= 220.9kbits/s ^Mframe= 64 q=8.0 size= 344kB time=12.6 bitrate= 223.7kbits/s ^Mframe= 72 q=8.0 size= 390kB time=14.2 bitrate= 225.4kbits/s ^M

Finished Event-224.mpg
This last step works.
So I guess I found that we need to be able to pass the pallet information into ffmpeg to be able to use b/w without ZM_COLOUR_JPEG_FILES on.
I will play more with it later.
Cheers,
Cordel
Locked