[DVR-Scan] DVR-Scan v1.5 [DVR-Scan] Loading config from file: E:\sg-bin\python\PersonDetection\dvr-scan-config-ch8.txt [DVR-Scan] Initializing scan context... [DVR-Scan] Opened video ch8-20201017125205_20201017125401.dav (1920 x 1080 at 25.000 FPS). [DVR-Scan] ROI set: (x,y)/(w,h) = (89,490)/(1071,591) [DVR-Scan] Scanning input video for motion events... [DVR-Scan] Splitting events using ffmpeg, first event: [DVR-Scan] ffmpeg -y -nostdin -v error -hwaccel dxva2 -ss 00:00:00.040 -i H:\Surveilance\Ch8\2020-10-17\ch8-20201017125205_20201017125401.dav -t 00:00:03.040 -map 0 -c:v libx265 -preset fast -crf 28 -c:a aac -sn .\e\ch8-20201017125205_20201017125401.DSME_0001.mp4 [DVR-Scan] ffmpeg output: x265 [info]: HEVC encoder version 3.5+39-7c7ea0a4b x265 [info]: build info [Windows][GCC 12.1.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao x265 [info]: frame I: 1, Avg QP:25.12 kb/s: 12247.00 x265 [info]: frame P: 15, Avg QP:26.43 kb/s: 1845.39 x265 [info]: frame B: 60, Avg QP:34.71 kb/s: 221.90 x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0% x265 [info]: consecutive B-frames: 6.2% 0.0% 0.0% 0.0% 93.8% encoded 76 frames in 9.48s (8.01 fps), 700.55 kb/s, Avg QP:32.95 [DVR-Scan] ffmpeg output: x265 [info]: HEVC encoder version 3.5+39-7c7ea0a4b x265 [info]: build info [Windows][GCC 12.1.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao x265 [info]: frame I: 1, Avg QP:24.67 kb/s: 14826.40 x265 [info]: frame P: 6, Avg QP:27.37 kb/s: 2129.37 x265 [info]: frame B: 22, Avg QP:35.13 kb/s: 171.22 x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0% x265 [info]: consecutive B-frames: 14.3% 0.0% 14.3% 0.0% 71.4% encoded 29 frames in 3.35s (8.66 fps), 1081.70 kb/s, Avg QP:33.16 [DVR-Scan] ffmpeg output: x265 [info]: HEVC encoder version 3.5+39-7c7ea0a4b x265 [info]: build info [Windows][GCC 12.1.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao x265 [info]: frame I: 1, Avg QP:26.12 kb/s: 15172.40 x265 [info]: frame P: 7, Avg QP:26.89 kb/s: 2112.57 x265 [info]: frame B: 27, Avg QP:35.16 kb/s: 121.14 x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0% x265 [info]: consecutive B-frames: 12.5% 0.0% 0.0% 12.5% 75.0% encoded 35 frames in 2.45s (14.30 fps), 949.46 kb/s, Avg QP:33.24 [DVR-Scan] ffmpeg output: x265 [info]: HEVC encoder version 3.5+39-7c7ea0a4b x265 [info]: build info [Windows][GCC 12.1.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao x265 [info]: frame I: 2, Avg QP:24.49 kb/s: 15253.70 x265 [info]: frame P: 51, Avg QP:26.20 kb/s: 1983.73 x265 [info]: frame B: 204, Avg QP:34.88 kb/s: 182.98 x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0% x265 [info]: consecutive B-frames: 3.8% 0.0% 0.0% 0.0% 96.2% encoded 257 frames in 15.87s (16.20 fps), 657.61 kb/s, Avg QP:33.07 [DVR-Scan] ffmpeg output: x265 [info]: HEVC encoder version 3.5+39-7c7ea0a4b x265 [info]: build info [Windows][GCC 12.1.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao x265 [info]: frame I: 1, Avg QP:24.63 kb/s: 15590.20 x265 [info]: frame P: 14, Avg QP:26.86 kb/s: 1970.64 x265 [info]: frame B: 56, Avg QP:35.25 kb/s: 131.06 x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0% x265 [info]: consecutive B-frames: 6.7% 0.0% 0.0% 0.0% 93.3% encoded 71 frames in 4.84s (14.67 fps), 711.53 kb/s, Avg QP:33.45 [DVR-Scan] ffmpeg output: x265 [info]: HEVC encoder version 3.5+39-7c7ea0a4b x265 [info]: build info [Windows][GCC 12.1.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-4 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60 x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao x265 [info]: frame I: 2, Avg QP:24.72 kb/s: 15814.40 x265 [info]: frame P: 79, Avg QP:26.40 kb/s: 2166.86 x265 [info]: frame B: 320, Avg QP:35.05 kb/s: 118.74 x265 [info]: Weighted P-Frames: Y:8.9% UV:0.0% x265 [info]: consecutive B-frames: 1.2% 0.0% 0.0% 0.0% 98.8% encoded 401 frames in 25.91s (15.47 fps), 600.52 kb/s, Avg QP:33.29 [DVR-Scan] Failed to decode 6 frame(s) from video, timestamps may be incorrect. Try re-encoding or remuxing video (e.g. ffmpeg -i video.mp4 -c:v copy out.mp4). See https://github.com/Breakthrough/DVR-Scan/issues/62 for details. [DVR-Scan] Processed 2898 frames read in 67.4 secs (avg 43.0 FPS). [DVR-Scan] Detected 6 motion events in input. [DVR-Scan] List of motion events: ------------------------------------------------------------- | Event # | Start Time | Duration | End Time | ------------------------------------------------------------- | Event 1 | 00:00:00.0 | 00:00:03.0 | 00:00:03.1 | | Event 2 | 00:00:03.1 | 00:00:01.2 | 00:00:04.3 | | Event 3 | 00:00:05.8 | 00:00:01.4 | 00:00:07.2 | | Event 4 | 00:00:48.5 | 00:00:10.3 | 00:00:58.8 | | Event 5 | 00:01:05.5 | 00:00:02.8 | 00:01:08.4 | | Event 6 | 00:01:08.4 | 00:00:16.0 | 00:01:24.4 | ------------------------------------------------------------- [DVR-Scan] Comma-separated timecode values: [DVR-Scan] Motion events written to disk.