cant play night events, just daily events

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
nirv199
Posts: 26
Joined: Wed May 13, 2015 11:55 am

cant play night events, just daily events

Post by nirv199 » Wed Dec 11, 2019 3:00 am

So this is really weird. I can watch daily events just fine, either passthrough or x264 encoded from different camera models (hikvision & foscam). But the events that happen during the night (and i am thinking IR is the common thing) when i try to play them i get "The video could not be loaded, either because the server or network failed or because the format is not supported." on both firefox and chromium.

Has anyone experienced that or has any clue on what's going on?

Thanks

User avatar
snake
Posts: 334
Joined: Sat May 21, 2016 2:20 am

Re: cant play night events, just daily events

Post by snake » Wed Dec 11, 2019 7:03 am

Are the videos being recorded on the filesystem? Check /var/cache/zoneminder (default) or your storage area. scp them off the camera server, and confirm they aren't corrupted somehow.

What camera make / models are affected?

nirv199
Posts: 26
Joined: Wed May 13, 2015 11:55 am

Re: cant play night events, just daily events

Post by nirv199 » Wed Dec 11, 2019 10:42 pm

The event frames are stored and so is the video. I just checked one particular occurrence from a foscam 8910w, and all the individual frames (JPEGs) are fine and they cover the whole event (22 frames), but the MP4 covers just very few frames when i open it on VLC.

So not sure if the encoding part is running okay? I did find a couple of night events that worked just fine on the broweser so it's not all as i initially thought (but the vast majority).

Here's the output of mediainfo:

$ mediainfo 66344-video.mp4
General
Complete name : 66344-video.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/isom)
File size : 283 KiB
Duration : 3 s 66 ms
Overall bit rate : 757 kb/s
Encoded date : UTC 2019-12-11 01:34:59
Tagged date : UTC 2019-12-11 01:35:04

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3 s 66 ms
Bit rate : 754 kb/s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 2.609 FPS
Minimum frame rate : 2.028 FPS
Maximum frame rate : 3.067 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.941
Stream size : 282 KiB (100%)
Writing library : x264 core 155 r2917 0a84d98
Encoding settings : cabac=1 / ref=1 / deblock=1:-3:-3 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=2.00:0.70 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=15 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=16 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.20
Encoded date : UTC 2019-12-11 01:34:59
Tagged date : UTC 2019-12-11 01:35:04
Codec configuration box : avcC

nirv199
Posts: 26
Joined: Wed May 13, 2015 11:55 am

Re: cant play night events, just daily events

Post by nirv199 » Thu Jan 16, 2020 1:36 am

I may have had the incorrect understanding of my problem, i just bumped into this post below and i it seems okay now (i am able to play events now i wasnt able to before the TZ change):

https://www.reddit.com/r/ZoneMinder/com ... time_zone/

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests