
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (76)
-
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...) -
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 (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)
Sur d’autres sites (12870)
-
Trying to use the arcade library on Python3 with Debian 10 errors with pyglet_ffmpeg
30 mars 2020, par ColinI’ve been trying to use the arcade library this morning with python3 but keep getting nothing but errors.
My environment is Debian 10 (buster)
I checked first to ensure I have python 3 installed, this confirmed as Python 3.7.3
I double checked (according to the arcade library website arcade linux installation instructions and ran the install for python3 to make sure that pip and the required libraries were installed.
I then ran the command to install the library
sudo pip3 install arcade
And to test it, copied and pasted the happy_face.py example. However when I tried to run it I got a slew of errors. This seems to be directly related to the arcade installation and if I just run a python script (test.py) with just one line
import arcade
At the terminal with
python3 test.py
I get the following errors
Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavcodec.so.58.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavformat.so.58.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libswresample.so.3.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavfilter.so.7.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavutil.so.56.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libswscale.so.5.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavcodec.so.58.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavformat.so.58.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libswresample.so.3.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavfilter.so.7.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavutil.so.56.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libswscale.so.5.*I have used the following terminal command to identify the version of OpenGL installed
glxinfo | grep "OpenGL version"
Which returned
OpenGL version string : 3.3 (Compatibility Profile) Mesa 18.3.6
I have also tried the terminal command
sudo pip3 install pyglet-ffmpeg
Which returns
Requirement already satisfied : pyglet-ffmpeg in
/usr/local/lib/python3.7/dist-packages (0.1.4)Requirement already satisfied : pyglet>=1.4.0a1 in
/usr/local/lib/python3.7/dist-packages (from pyglet-ffmpeg) (1.5.0)Requirement already satisfied : future in
/usr/local/lib/python3.7/dist-packages (from
pyglet>=1.4.0a1->pyglet-ffmpeg) (0.18.2)Any assistance would be appreciated. I’ve tried to be as concise as I can, but if more information is required, I’ll gladly supply it.
-
Cannot connect to the Docker daemon at unix :///var/run/docker.sock. Is the docker daemon running ? MacOS X El Capitian
22 juillet 2020, par Dinar Abdul Hollikwhen I run the command in my terminal


docker pull alfg/nginx-rtmp



When it has been run, an error occurs like this


Using default tag: latest
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?



how to fix ?


-
ffmpeg and ffprobe file installation suggestion
4 juillet 2020, par Mithun DeshmukhWhere to run below code in WHM terminal or need to update in config.php ?


$ffmpeg_lib="/usr/bin/";
 $ffprobe_lib="/usr/bin/";
 $ffmpeg = FFMpeg\FFMpeg::create(array(
 'ffmpeg.binaries' => $ffmpeg_lib.'ffmpeg',
 'ffprobe.binaries' => $ffprobe_lib.'ffprobe',
 'timeout' => 3600, // The timeout for the underlying process
 'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
), null);



thanks