
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (105)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (9813)
-
Revision 93109 : Compat PHP7 (peut être pas encore suffisant). La structure foreach change ...
23 novembre 2015, par marcimat@… — LogCompat PHP7 (peut être pas encore suffisant).
La structure foreach change de comportement et s’applique par défaut sur une copie du tableau passé.
Si on modifie le tableau dans le foreach… bien celui d’origine n’est pas affecté. Pour retrouver
le comportement d’avant dans ces cas là, il faut passer la valeur par référence.
cf.
https://wiki.php.net/rfc/php7_foreach
http://php.net/manual/fr/migration70.incompatible.php -
Revision 93109 : Compat PHP7 (peut être pas encore suffisant). La structure foreach change ...
23 novembre 2015, par marcimat@… — LogCompat PHP7 (peut être pas encore suffisant).
La structure foreach change de comportement et s’applique par défaut sur une copie du tableau passé.
Si on modifie le tableau dans le foreach… bien celui d’origine n’est pas affecté. Pour retrouver
le comportement d’avant dans ces cas là, il faut passer la valeur par référence.
cf.
https://wiki.php.net/rfc/php7_foreach
http://php.net/manual/fr/migration70.incompatible.php -
Run ffmpeg once but get multiple screenshots
9 novembre 2017, par user779159I get a screenshot from a remote video file using ffmpeg with a command like
ffmpeg -ss $TIME -i $URL -frames:v 1 -filter:v $FILTER file.jpg
(-ss
comes before-i
for fast seeking https://trac.ffmpeg.org/wiki/Seeking).$FILTER
is how I want to transform the screenshot, like cropping/resizing. In this case it’s"crop=iw-5:ih-5, scale=100:100:force_original_aspect_ratio=increase, crop=100:100"
)If I want to get 3 screenshots, at 3 seconds, 5 seconds, and 14 seconds, I need to run this command 3 separate times, passing 3, 5, and 14 as
$TIME
. But is it possible to run the command once but have it output multiple screenshot files for the different times ?And would ffmpeg do that in a way where it would make the round-trip remote request just 1 time instead of 3 ? In that case it would be more efficient. If not, then maybe it’s better to make the 3 requests separately since I could do it in parallel.