
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (103)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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
Sur d’autres sites (10802)
-
Imagick and Gmagick builds available for Windows
The new Windows build page http://valokuva.org/magick/ contains builds for both Imagick and Gmagick. All builds are done using VC9 and PHP 5.3.
ImageMagick builds are QuantumDepth 16 (default).
GraphicsMagick builds are QuantumDepth 8 (default).Please note that these builds won’t work with the official PHP.net binaries which are compiled using VC6.
Edit : Pierre corrected me that there are official VC9 builds of PHP available at http://windows.php.net/download/
-
Imagick and Gmagick builds available for Windows
The new Windows build page http://valokuva.org/magick/ contains builds for both Imagick and Gmagick. All builds are done using VC9 and PHP 5.3.
ImageMagick builds are QuantumDepth 16 (default).
GraphicsMagick builds are QuantumDepth 8 (default).Please note that these builds won’t work with the official PHP.net binaries which are compiled using VC6.
Edit : Pierre corrected me that there are official VC9 builds of PHP available at http://windows.php.net/download/
-
FFMPEG hardcodes subs in strange/wrong order
14 mai 2020, par AnvarSh1I need to extract frames with subtitles on it. For that, depending on the situation, I either hardcode the whole video to split it later into frames, I use this to hardcode the whole video :



ffmpeg -i ourvid.mp4 -vf "subtitles=ourvid.srt" result.mp4




and then I split the whole thing. The other option is, I just extract the frames I need, like :



ffmpeg -i ourvid.mp4 -vf select='between(n\,x\,x)',subtitles=ourvid.srt -q:v 2 frames%d.jpg




in both cases, a strange behaviour can be observed.



Let's say, we have three lines of subs, such as
line 1
,line 2
,line 3
and three frames where they should appear one after another. So if don't hardcode them and put as a separate stream, they are shown one line per frame, everything is looks correct.
However, when hardcode them, with any of the above commands, this can be observed :




Frame 1:

line 1






Frame 2:

line 1
line 2






Frame 3:

line 3
line 2






As you may see, on
frame 3
line3
appears on top ofline2
, whereline1
was before, therefore making it look "in wrong order"


Is there any way to fix this ? Maybe force ffmpeg somehow to show only one line per frame instead of two (I couldn't find a way to do so, though) ?