Page 1 of 1
Events play
Posted: Tue Oct 13, 2020 7:32 pm
by Cramac1
Hello. I will write a proposal.
I would like to rework the format of events. In the current version, online viewing of records is very difficult.
Looked at a demo from Flussonic Watcher. Works great in terms of viewing the archive. Shows frames from the timeline, choosing the time, immediately starts playing. This is what you want from ZM.
Re: Events play
Posted: Sat Oct 17, 2020 6:24 am
by Cramac1
it is necessary to change the principle of broadcasting events. You can see nginx-vod-module
Re: Events play
Posted: Sat Oct 17, 2020 6:44 pm
by Cramac1
testing nginx-vod-module. But there was a problem. The videos that ZM writes in the module do not work. If I write from the camera myself. then everything is fine.
i rec:
ffmpeg -re -i 'rtsp://user:pass@192.168.1.9:554/stream0?username=admin&password=' -c copy 7.mp4
mediainfo 7.mp4
Code: Select all
General
Complete name : 7.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/mp41)
File size : 1.61 MiB
Duration : 42 s 962 ms
Overall bit rate : 313 kb/s
Movie name : RTSP/RTP stream from anjvision ipcamera
Writing application : Lavf57.83.100
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4.1@Main
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 42 s 962 ms
Bit rate : 312 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 10.265 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.015
Stream size : 1.60 MiB (100%)
Color range : Full
zm rec:
mediainfo 7_zm.mp4
Code: Select all
General
Complete name : 7_zm.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/iso6/mp41)
File size : 257 MiB
Duration : 1 h 3 min
Overall bit rate : 569 kb/s
Movie name : Zoneminder Security Recording
Writing application : Lavf57.83.100
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4.1@Main
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 1 h 3 min
Bit rate : 568 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 12.036 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.023
Stream size : 257 MiB (100%)
Color range : Full
Re: Events play
Posted: Sun Oct 18, 2020 8:43 am
by Cramac1
Considering adding a stream to HLS?
Re: Events play
Posted: Wed Nov 04, 2020 12:34 pm
by Cramac1
monitor - storage
add Optional Encoder Parameters: movflags=faststart
by setting this parameter, the video starts faster.
Re: Events play
Posted: Fri Nov 06, 2020 10:38 am
by Cramac1
movflags=faststart
this parameter breaks the duration of the clips. As a result, I decided to make my own post processing video to apply this parameter.
- 123681772_361208825149336_3681070541799871860_n.jpg (216.59 KiB) Viewed 12048 times
Re: Events play
Posted: Fri Nov 06, 2020 8:27 pm
by Cramac1
returned everything to the ZM as it was, removed the parameter from the settings. Made a script that bypasses all folders with records and overtakes with the faststart option. crutch, but works as it should now.