
Recherche avancée
Autres articles (111)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (10725)
-
Core : guard against null & undefined values in required method
2 septembre 2017, par ArkniCore : guard against null & undefined values in required method
An input element will never have undefined or null as value
but the normalizer may return null or undefined for an element.Also, jQuery (< 3.x) returns `null` for select element with the
multiple attribute set if no options are selected.As a result, the required method should guard against that.
-
Update bar-ui.js
16 septembre 2015, par minorgodUpdate bar-ui.js
When using a playlist that has divs nested inside li elements, clicking the "next" button on the player interface results in the parent div of the next playlist link being passed to findOffsetFromItem, which returns -1 and resets the playlist back to the first item. Passing the "liElement" instead of the "item" fixes this. You will not see this problem when testing the demo on http://www.schillmania.com/projects/soundmanager2/demo/bar-ui/, because the example playlists only have nested divs in the first playlist item. If you change the playlists to have multiple items containing nested divs you’ll see that it breaks the "next" button functionality.
-
OpenCV in Python on Windows does not report correct video properties from VideoReader
24 décembre 2015, par Mircea DavidescuI am running into a problem with using VideoReader in OpenCV with Python. Many of the properties that I should be able to get from the video reader are either somehow invalid (returning 0), or return the wrong number. For instance.
vidFile = cv2.VideoCapture('movie.avi')
vidFile.get(cv2.CAP_PROP_FRAME_COUNT)
vidFile.get(cv2.CAP_PROP_FPS)The first get command returns a wrong value, while the second get command returns 0. The output of the
ffprobe
command is given below :built with gcc 5.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 5.100 / 55. 5.100
libavcodec 57. 12.100 / 57. 12.100
libavformat 57. 11.100 / 57. 11.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 14.101 / 6. 14.101
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, avi, from 'movie.avi':
Metadata:
encoder : Lavf55.0.100
Duration: 00:31:59.97, start: 0.000000, bitrate: 24321 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc, bt470bg/unknown/unknown), 1392x1040 [SAR 1:1 DAR 87:65], 24316 kb/s, 30 fps, 30 tbr, 30 tbn,
30 tbcI am running a Windows 10 machine with Python 2.7.11 (Anaconda 2.4.1 64-bit). I have installed OpenCV 3.0.0 according the instructions provided here. Because I am using the VideoReader feature I also added C :\opencv\sources\3rdparty\ffmpeg to the system PATH and renamed both opencv_ffmpeg300.dll and opencv_ffmpeg_x64.dll to opencv_ffmpeg300.dll and opencv_ffmpeg300_64.dll respectively, as specified here.
Thank you for your help with this problem !