
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (73)
-
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (10110)
-
avcodec/smacker : Replace implicit checks for overread by explicit ones
25 juillet 2020, par Andreas Rheinhardtavcodec/smacker : Replace implicit checks for overread by explicit ones
Using explicit checks has the advantage that one can combine several
checks into one and does not have to check every time. E.g. reading a
16bit PCM sample involves two calls to get_vlc2(), each of which may
read up to three times up to SMKTREE_BITS (= 9) bits. But given that the
padding that the input packet is supposed to have is large enough, it is
no problem to only check once for each sample.This turned out to be beneficial for performance : For GCC 9, the time for
one call of smka_decode_frame() for the sample from ticket #2425 went down
from 2055905 to 1804751 decicycles ; for Clang 9 it went down from 1510538
to 1479680 decicycles.Reviewed-by : Paul B Mahol <onemda@gmail.com>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com> -
ffmpeg with background color
25 mars 2019, par NAGThis command works nice with some GIF but with some others return a error :
ffmpeg -f gif -f lavfi -i color=FFFFFF -i animated.gif -y
-filter_complex "[0][1]scale2ref[bg][gif];[bg]setsar=1[bg];[bg][gif]overlay=shortest=1"
-pix_fmt yuv420p -movflags frag_keyframe+empty_moov -movflags +faststart
-crf 20 -b:v 500k -f mp4 animated.mp4Error :
[libx264 @ 0x55e79dc7e3c0] height not divisible by 2 (1400x933)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0
- maybe incorrect parameters such as bit_rate, rate, width or heightSome help to fix it maintaining the background color functionality ?
-
Add background nusic after every 5 seconds in .mp3 file using ffmpeg
6 mars 2014, par user3354679I want to add background music after every 5 seconds in .mp3 file using ffmpeg.
I have 2 audio files : input1.mp3 of 5 seconds and input2.mp3 of 4 minutes 04 seconds. I want to add input1.mp3 after every 5 seconds in input2.mp3 like after 0,5,10,15,20,... seconds.
I am using :
ffmpeg -i input1.mp3 -i input2.mp3 -filter_complex amix=inputs=2:duration=first:dropout_transition=3 OUTPUT.mp3
The command is working properly. Can anyone tell me how can i repeat the input1.mp3 after every 5 seconds to input2.mp3 ?
How can i do it ? Please help me...