
Recherche avancée
Autres articles (40)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (6881)
-
shell_exec echo'ing too fast or too late
15 septembre 2016, par rootSo I read throug this article : https://trac.ffmpeg.org/wiki/PHP
and found this :<?php
echo "Starting ffmpeg...\n\n";
echo shell_exec("ffmpeg -i input.avi output.avi >/dev/null 2>/dev/null &");
echo "Done.\n";the code works almost perfectly fine, but the only thing that bothers me is, that because the shell_exec is being executed in the background (so there is no loading sign on the tab the whole time) all the echo’s are being executed immediatly. This means, that the "Done" echo is being written before ffmpeg finished its task.
But when I remove the ’&’ the site does also what it is intended to do but now it waits until the shell_exec is finished until it echo’s out the "Starting ffmpeg..."
So I kinda have the problem of figuring out how to get to such an order :
1) echo something
2) execute commad and wait until its finished.
3) echo againI am a total beginner to php but have experience in programming overall. Please have mercy.
Thank you for your time !
-
How to use libraries ".lib" and ".a" files in GCC
12 novembre 2022, par Blue SkyI have simple C code that uses some functions of
libavcodec
in FFmpeg. I try to compile the code with GCC (on Windows using MinGW) as follows :

gcc -o mycode mycode.c



But I get a lot of errors like "undefined reference to av_free". I know that these functions are defined in the libraries of FFmpeg. I do access files like
avcodec.lib
andlibavcodec.dll.a
, but I don't know how to use them with GCC so that I can compile and make my file. How can I solve this problem ?

-
How does subtitle hardcoding work in ffmpeg ?
1er avril 2016, par Ketan KulkarniThe manual for the same is available on :
http://superuser.com/questions/838072/ffmpeg-hardcoding-burning-filename-in-video
https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideoSample command is :
ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi