
Recherche avancée
Autres articles (32)
-
Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)
31 mai 2013, parLorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
Description des scripts
Trois scripts Munin ont été développés :
1. mediaspip_medias
Un script de (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (6462)
-
Detect bad frames in OpenCV 2.4.9
14 mai 2014, par user3630380I know the title is a bit vague but I’m not sure how else to describe it.
CentOS with ffmpeg + OpenCV 2.4.9. I’m working on a simple motion detection system which uses a stream from an IP camera (h264).
Once in a while the stream hiccups and throws in a "bad frame" (see pic-bad.png link below). The problem is, these frames vary largely from the previous frames and causes a "motion" event to get triggered even though no actual motion occured.
The pictures below will explain the problem.
Good frame (motion captured) :
Bad frame (no motion, just a broken frame) :
The bad frame gets caught randomly. I guess I can make a bad frame detector by analyzing (looping) through the pixels going down from a certain position to see if they are all the same, but I’m wondering if there is any other, more efficient, "by the book" approach to detecting these types of bad frames and just skipping over them.
Thank You !
EDIT UPDATE :
The frame is grabbed using a C++ motion detection program via
cvQueryFrame(camera);
so I do not directly interface with ffmpeg, OpenCV does it on the backend. I’m using the latest version of ffmpeg compiled from git source. All of the libraries are also up to date (h264, etc, all downloaded and compiled yesterday). The data is coming from an RTSP stream (ffserver). I’ve tested over multiple cameras (dahua 1 - 3 MP models) and the frame glitch is pretty persistent across all of them, although it doesn’t happen continuously, just once on a while (ex : once every 10 minutes). -
What Is Data Misuse & How to Prevent It ? (With Examples)
13 mai 2024, par Erin -
avcodec/x86/vvc : add alf filter luma and chroma avx2 optimizations
13 mai 2024, par Wu Jianhuaavcodec/x86/vvc : add alf filter luma and chroma avx2 optimizations
ff_vvc_alf_filter_luma_4x4_10_c : 135
ff_vvc_alf_filter_luma_4x4_10_avx2 : 54
ff_vvc_alf_filter_luma_4x8_10_c : 268
ff_vvc_alf_filter_luma_4x8_10_avx2 : 106
ff_vvc_alf_filter_luma_4x12_10_c : 400
ff_vvc_alf_filter_luma_4x12_10_avx2 : 160
ff_vvc_alf_filter_luma_4x16_10_c : 535
ff_vvc_alf_filter_luma_4x16_10_avx2 : 213
ff_vvc_alf_filter_luma_4x20_10_c : 646
ff_vvc_alf_filter_luma_4x20_10_avx2 : 262
ff_vvc_alf_filter_luma_4x24_10_c : 783
ff_vvc_alf_filter_luma_4x24_10_avx2 : 309
ff_vvc_alf_filter_luma_4x28_10_c : 908
ff_vvc_alf_filter_luma_4x28_10_avx2 : 361
ff_vvc_alf_filter_luma_4x32_10_c : 1039
ff_vvc_alf_filter_luma_4x32_10_avx2 : 412
ff_vvc_alf_filter_luma_8x4_10_c : 260
ff_vvc_alf_filter_luma_8x4_10_avx2 : 53
ff_vvc_alf_filter_luma_8x8_10_c : 516
ff_vvc_alf_filter_luma_8x8_10_avx2 : 105
ff_vvc_alf_filter_luma_8x12_10_c : 779
ff_vvc_alf_filter_luma_8x12_10_avx2 : 157
ff_vvc_alf_filter_luma_8x16_10_c : 1038
ff_vvc_alf_filter_luma_8x16_10_avx2 : 210
ff_vvc_alf_filter_luma_8x20_10_c : 1293
ff_vvc_alf_filter_luma_8x20_10_avx2 : 259
ff_vvc_alf_filter_luma_8x24_10_c : 1553
ff_vvc_alf_filter_luma_8x24_10_avx2 : 309
ff_vvc_alf_filter_luma_8x28_10_c : 1815
ff_vvc_alf_filter_luma_8x28_10_avx2 : 361
ff_vvc_alf_filter_luma_8x32_10_c : 2067
ff_vvc_alf_filter_luma_8x32_10_avx2 : 419
ff_vvc_alf_filter_luma_12x4_10_c : 390
ff_vvc_alf_filter_luma_12x4_10_avx2 : 54
ff_vvc_alf_filter_luma_12x8_10_c : 773
ff_vvc_alf_filter_luma_12x8_10_avx2 : 107
ff_vvc_alf_filter_luma_12x12_10_c : 1159
ff_vvc_alf_filter_luma_12x12_10_avx2 : 155
ff_vvc_alf_filter_luma_12x16_10_c : 1550
ff_vvc_alf_filter_luma_12x16_10_avx2 : 207
ff_vvc_alf_filter_luma_12x20_10_c : 1970
ff_vvc_alf_filter_luma_12x20_10_avx2 : 260
ff_vvc_alf_filter_luma_12x24_10_c : 2379
ff_vvc_alf_filter_luma_12x24_10_avx2 : 309
ff_vvc_alf_filter_luma_12x28_10_c : 2763
ff_vvc_alf_filter_luma_12x28_10_avx2 : 362
ff_vvc_alf_filter_luma_12x32_10_c : 3158
ff_vvc_alf_filter_luma_12x32_10_avx2 : 419
ff_vvc_alf_filter_luma_16x4_10_c : 523
ff_vvc_alf_filter_luma_16x4_10_avx2 : 53
ff_vvc_alf_filter_luma_16x8_10_c : 1049
ff_vvc_alf_filter_luma_16x8_10_avx2 : 103
ff_vvc_alf_filter_luma_16x12_10_c : 1566
ff_vvc_alf_filter_luma_16x12_10_avx2 : 159
ff_vvc_alf_filter_luma_16x16_10_c : 2078
ff_vvc_alf_filter_luma_16x16_10_avx2 : 211
ff_vvc_alf_filter_luma_16x20_10_c : 2631
ff_vvc_alf_filter_luma_16x20_10_avx2 : 259
ff_vvc_alf_filter_luma_16x24_10_c : 3149
ff_vvc_alf_filter_luma_16x24_10_avx2 : 316
ff_vvc_alf_filter_luma_16x28_10_c : 3631
ff_vvc_alf_filter_luma_16x28_10_avx2 : 359
ff_vvc_alf_filter_luma_16x32_10_c : 4233
ff_vvc_alf_filter_luma_16x32_10_avx2 : 428
ff_vvc_alf_filter_luma_20x4_10_c : 649
ff_vvc_alf_filter_luma_20x4_10_avx2 : 106
ff_vvc_alf_filter_luma_20x8_10_c : 1294
ff_vvc_alf_filter_luma_20x8_10_avx2 : 206
ff_vvc_alf_filter_luma_20x12_10_c : 1936
ff_vvc_alf_filter_luma_20x12_10_avx2 : 310
ff_vvc_alf_filter_luma_20x16_10_c : 2594
ff_vvc_alf_filter_luma_20x16_10_avx2 : 411
ff_vvc_alf_filter_luma_20x20_10_c : 3234
ff_vvc_alf_filter_luma_20x20_10_avx2 : 517
ff_vvc_alf_filter_luma_20x24_10_c : 3894
ff_vvc_alf_filter_luma_20x24_10_avx2 : 621
ff_vvc_alf_filter_luma_20x28_10_c : 4542
ff_vvc_alf_filter_luma_20x28_10_avx2 : 722
ff_vvc_alf_filter_luma_20x32_10_c : 5205
ff_vvc_alf_filter_luma_20x32_10_avx2 : 832
ff_vvc_alf_filter_luma_24x4_10_c : 774
ff_vvc_alf_filter_luma_24x4_10_avx2 : 104
ff_vvc_alf_filter_luma_24x8_10_c : 1546
ff_vvc_alf_filter_luma_24x8_10_avx2 : 206
ff_vvc_alf_filter_luma_24x12_10_c : 2318
ff_vvc_alf_filter_luma_24x12_10_avx2 : 312
ff_vvc_alf_filter_luma_24x16_10_c : 3104
ff_vvc_alf_filter_luma_24x16_10_avx2 : 411
ff_vvc_alf_filter_luma_24x20_10_c : 3893
ff_vvc_alf_filter_luma_24x20_10_avx2 : 513
ff_vvc_alf_filter_luma_24x24_10_c : 4681
ff_vvc_alf_filter_luma_24x24_10_avx2 : 616
ff_vvc_alf_filter_luma_24x28_10_c : 5474
ff_vvc_alf_filter_luma_24x28_10_avx2 : 721
ff_vvc_alf_filter_luma_24x32_10_c : 6271
ff_vvc_alf_filter_luma_24x32_10_avx2 : 832
ff_vvc_alf_filter_luma_28x4_10_c : 907
ff_vvc_alf_filter_luma_28x4_10_avx2 : 103
ff_vvc_alf_filter_luma_28x8_10_c : 1797
ff_vvc_alf_filter_luma_28x8_10_avx2 : 206
ff_vvc_alf_filter_luma_28x12_10_c : 2708
ff_vvc_alf_filter_luma_28x12_10_avx2 : 309
ff_vvc_alf_filter_luma_28x16_10_c : 3632
ff_vvc_alf_filter_luma_28x16_10_avx2 : 413
ff_vvc_alf_filter_luma_28x20_10_c : 4537
ff_vvc_alf_filter_luma_28x20_10_avx2 : 519
ff_vvc_alf_filter_luma_28x24_10_c : 5463
ff_vvc_alf_filter_luma_28x24_10_avx2 : 616
ff_vvc_alf_filter_luma_28x28_10_c : 6372
ff_vvc_alf_filter_luma_28x28_10_avx2 : 719
ff_vvc_alf_filter_luma_28x32_10_c : 7274
ff_vvc_alf_filter_luma_28x32_10_avx2 : 823
ff_vvc_alf_filter_luma_32x4_10_c : 1029
ff_vvc_alf_filter_luma_32x4_10_avx2 : 104
ff_vvc_alf_filter_luma_32x8_10_c : 2060
ff_vvc_alf_filter_luma_32x8_10_avx2 : 206
ff_vvc_alf_filter_luma_32x12_10_c : 3112
ff_vvc_alf_filter_luma_32x12_10_avx2 : 307
ff_vvc_alf_filter_luma_32x16_10_c : 4161
ff_vvc_alf_filter_luma_32x16_10_avx2 : 413
ff_vvc_alf_filter_luma_32x20_10_c : 5211
ff_vvc_alf_filter_luma_32x20_10_avx2 : 514
ff_vvc_alf_filter_luma_32x24_10_c : 6238
ff_vvc_alf_filter_luma_32x24_10_avx2 : 614
ff_vvc_alf_filter_luma_32x28_10_c : 7261
ff_vvc_alf_filter_luma_32x28_10_avx2 : 720
ff_vvc_alf_filter_luma_32x32_10_c : 8312
ff_vvc_alf_filter_luma_32x32_10_avx2 : 819
ff_vvc_alf_filter_chroma_4x4_10_c : 70
ff_vvc_alf_filter_chroma_4x4_10_avx2 : 53
ff_vvc_alf_filter_chroma_4x8_10_c : 139
ff_vvc_alf_filter_chroma_4x8_10_avx2 : 104
ff_vvc_alf_filter_chroma_4x12_10_c : 208
ff_vvc_alf_filter_chroma_4x12_10_avx2 : 155
ff_vvc_alf_filter_chroma_4x16_10_c : 275
ff_vvc_alf_filter_chroma_4x16_10_avx2 : 218
ff_vvc_alf_filter_chroma_4x20_10_c : 344
ff_vvc_alf_filter_chroma_4x20_10_avx2 : 257
ff_vvc_alf_filter_chroma_4x24_10_c : 411
ff_vvc_alf_filter_chroma_4x24_10_avx2 : 309
ff_vvc_alf_filter_chroma_4x28_10_c : 481
ff_vvc_alf_filter_chroma_4x28_10_avx2 : 361
ff_vvc_alf_filter_chroma_4x32_10_c : 545
ff_vvc_alf_filter_chroma_4x32_10_avx2 : 411
ff_vvc_alf_filter_chroma_8x4_10_c : 138
ff_vvc_alf_filter_chroma_8x4_10_avx2 : 53
ff_vvc_alf_filter_chroma_8x8_10_c : 274
ff_vvc_alf_filter_chroma_8x8_10_avx2 : 106
ff_vvc_alf_filter_chroma_8x12_10_c : 422
ff_vvc_alf_filter_chroma_8x12_10_avx2 : 158
ff_vvc_alf_filter_chroma_8x16_10_c : 545
ff_vvc_alf_filter_chroma_8x16_10_avx2 : 206
ff_vvc_alf_filter_chroma_8x20_10_c : 683
ff_vvc_alf_filter_chroma_8x20_10_avx2 : 257
ff_vvc_alf_filter_chroma_8x24_10_c : 816
ff_vvc_alf_filter_chroma_8x24_10_avx2 : 312
ff_vvc_alf_filter_chroma_8x28_10_c : 951
ff_vvc_alf_filter_chroma_8x28_10_avx2 : 359
ff_vvc_alf_filter_chroma_8x32_10_c : 1098
ff_vvc_alf_filter_chroma_8x32_10_avx2 : 409
ff_vvc_alf_filter_chroma_12x4_10_c : 204
ff_vvc_alf_filter_chroma_12x4_10_avx2 : 53
ff_vvc_alf_filter_chroma_12x8_10_c : 410
ff_vvc_alf_filter_chroma_12x8_10_avx2 : 104
ff_vvc_alf_filter_chroma_12x12_10_c : 614
ff_vvc_alf_filter_chroma_12x12_10_avx2 : 155
ff_vvc_alf_filter_chroma_12x16_10_c : 814
ff_vvc_alf_filter_chroma_12x16_10_avx2 : 210
ff_vvc_alf_filter_chroma_12x20_10_c : 1017
ff_vvc_alf_filter_chroma_12x20_10_avx2 : 258
ff_vvc_alf_filter_chroma_12x24_10_c : 1221
ff_vvc_alf_filter_chroma_12x24_10_avx2 : 308
ff_vvc_alf_filter_chroma_12x28_10_c : 1423
ff_vvc_alf_filter_chroma_12x28_10_avx2 : 366
ff_vvc_alf_filter_chroma_12x32_10_c : 1624
ff_vvc_alf_filter_chroma_12x32_10_avx2 : 410
ff_vvc_alf_filter_chroma_16x4_10_c : 272
ff_vvc_alf_filter_chroma_16x4_10_avx2 : 52
ff_vvc_alf_filter_chroma_16x8_10_c : 541
ff_vvc_alf_filter_chroma_16x8_10_avx2 : 105
ff_vvc_alf_filter_chroma_16x12_10_c : 812
ff_vvc_alf_filter_chroma_16x12_10_avx2 : 155
ff_vvc_alf_filter_chroma_16x16_10_c : 1091
ff_vvc_alf_filter_chroma_16x16_10_avx2 : 206
ff_vvc_alf_filter_chroma_16x20_10_c : 1354
ff_vvc_alf_filter_chroma_16x20_10_avx2 : 257
ff_vvc_alf_filter_chroma_16x24_10_c : 1637
ff_vvc_alf_filter_chroma_16x24_10_avx2 : 313
ff_vvc_alf_filter_chroma_16x28_10_c : 1899
ff_vvc_alf_filter_chroma_16x28_10_avx2 : 359
ff_vvc_alf_filter_chroma_16x32_10_c : 2161
ff_vvc_alf_filter_chroma_16x32_10_avx2 : 410
ff_vvc_alf_filter_chroma_20x4_10_c : 339
ff_vvc_alf_filter_chroma_20x4_10_avx2 : 103
ff_vvc_alf_filter_chroma_20x8_10_c : 681
ff_vvc_alf_filter_chroma_20x8_10_avx2 : 207
ff_vvc_alf_filter_chroma_20x12_10_c : 1013
ff_vvc_alf_filter_chroma_20x12_10_avx2 : 307
ff_vvc_alf_filter_chroma_20x16_10_c : 1349
ff_vvc_alf_filter_chroma_20x16_10_avx2 : 415
ff_vvc_alf_filter_chroma_20x20_10_c : 1685
ff_vvc_alf_filter_chroma_20x20_10_avx2 : 522
ff_vvc_alf_filter_chroma_20x24_10_c : 2037
ff_vvc_alf_filter_chroma_20x24_10_avx2 : 622
ff_vvc_alf_filter_chroma_20x28_10_c : 2380
ff_vvc_alf_filter_chroma_20x28_10_avx2 : 733
ff_vvc_alf_filter_chroma_20x32_10_c : 2712
ff_vvc_alf_filter_chroma_20x32_10_avx2 : 838
ff_vvc_alf_filter_chroma_24x4_10_c : 408
ff_vvc_alf_filter_chroma_24x4_10_avx2 : 104
ff_vvc_alf_filter_chroma_24x8_10_c : 818
ff_vvc_alf_filter_chroma_24x8_10_avx2 : 207
ff_vvc_alf_filter_chroma_24x12_10_c : 1219
ff_vvc_alf_filter_chroma_24x12_10_avx2 : 308
ff_vvc_alf_filter_chroma_24x16_10_c : 1648
ff_vvc_alf_filter_chroma_24x16_10_avx2 : 420
ff_vvc_alf_filter_chroma_24x20_10_c : 2061
ff_vvc_alf_filter_chroma_24x20_10_avx2 : 525
ff_vvc_alf_filter_chroma_24x24_10_c : 2437
ff_vvc_alf_filter_chroma_24x24_10_avx2 : 617
ff_vvc_alf_filter_chroma_24x28_10_c : 2832
ff_vvc_alf_filter_chroma_24x28_10_avx2 : 722
ff_vvc_alf_filter_chroma_24x32_10_c : 3271
ff_vvc_alf_filter_chroma_24x32_10_avx2 : 830
ff_vvc_alf_filter_chroma_28x4_10_c : 476
ff_vvc_alf_filter_chroma_28x4_10_avx2 : 104
ff_vvc_alf_filter_chroma_28x8_10_c : 948
ff_vvc_alf_filter_chroma_28x8_10_avx2 : 205
ff_vvc_alf_filter_chroma_28x12_10_c : 1420
ff_vvc_alf_filter_chroma_28x12_10_avx2 : 310
ff_vvc_alf_filter_chroma_28x16_10_c : 1889
ff_vvc_alf_filter_chroma_28x16_10_avx2 : 423
ff_vvc_alf_filter_chroma_28x20_10_c : 2372
ff_vvc_alf_filter_chroma_28x20_10_avx2 : 513
ff_vvc_alf_filter_chroma_28x24_10_c : 2843
ff_vvc_alf_filter_chroma_28x24_10_avx2 : 618
ff_vvc_alf_filter_chroma_28x28_10_c : 3307
ff_vvc_alf_filter_chroma_28x28_10_avx2 : 724
ff_vvc_alf_filter_chroma_28x32_10_c : 3801
ff_vvc_alf_filter_chroma_28x32_10_avx2 : 827
ff_vvc_alf_filter_chroma_32x4_10_c : 543
ff_vvc_alf_filter_chroma_32x4_10_avx2 : 105
ff_vvc_alf_filter_chroma_32x8_10_c : 1084
ff_vvc_alf_filter_chroma_32x8_10_avx2 : 206
ff_vvc_alf_filter_chroma_32x12_10_c : 1621
ff_vvc_alf_filter_chroma_32x12_10_avx2 : 309
ff_vvc_alf_filter_chroma_32x16_10_c : 2173
ff_vvc_alf_filter_chroma_32x16_10_avx2 : 408
ff_vvc_alf_filter_chroma_32x20_10_c : 2703
ff_vvc_alf_filter_chroma_32x20_10_avx2 : 513
ff_vvc_alf_filter_chroma_32x24_10_c : 3245
ff_vvc_alf_filter_chroma_32x24_10_avx2 : 612
ff_vvc_alf_filter_chroma_32x28_10_c : 3795
ff_vvc_alf_filter_chroma_32x28_10_avx2 : 722
ff_vvc_alf_filter_chroma_32x32_10_c : 4339
ff_vvc_alf_filter_chroma_32x32_10_avx2 : 820Signed-off-by : Wu Jianhua <toqsxw@outlook.com>