
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 (71)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (13882)
-
swscale/utils : add SwsFormat abstraction and helpers
9 octobre 2024, par Niklas Haasswscale/utils : add SwsFormat abstraction and helpers
Groups together all relevant color metadata from an AVFrame. While we could
use AVFrame directly, keeping it a separate struct has three advantages :1. Functions accepting an SwsFormat will definitely not care about the
data pointers.
2. It clearly separates sanitized and raw metadata, since the function to
construct an SwsFormat from an AVFrame will also sanitize.
3. It's slightly more lightweight to pass around.Move these into a new header file "utils.h" to avoid crowding
swscale_internal.h even more, and also to solve a circular dependency issue
down the line.Sponsored-by : Sovereign Tech Fund
Signed-off-by : Niklas Haas <git@haasn.dev> -
avcodec/rkmpp : Fix broken build due to missing control operation
6 janvier 2018, par LongChairavcodec/rkmpp : Fix broken build due to missing control operation
This patch is taking care of https://trac.ffmpeg.org/ticket/6834.
It seems that one of the control operations that was available to get
the free decoders input slots was removed.There is another control operation to retrieve the used slots. Given
that the input slot count is hardcoded to 4 in mpp at this point,
replacing the old control operation by the other one.This was tested on Rockchip ROCK64.
Signed-off-by : wm4 <nfxjfg@googlemail.com>
-
php sequential exec() processes not working (ffmpeg encode)
26 juillet 2012, par Allen HallI am trying to run a php script from shell that will query a table of videos, check if the encoded version of that video exists, and if not, encode one. I have tested all of the contents of the exec() commands outside of php so I know they work fine. My problem is when the ffmpeg line runs, it finishes but the script quits. I want it to run the next exec() and I don't understand why it won't.
Also to avoid confusion, I am not trying to run these simultaneously, and I don't care about running in the background since this is running from the shell anyway. I just want these 4 commands to execute sequentially and then continue to the next file.
include 'inc/functions.php';
$result = mysql_query("SELECT * FROM videos") or die(mysql_error());
while ($row = mysql_fetch_array($result)) {
if(!file_exists('/opt/lampp/htdocs/videos/'.$row['file_folder'].'/'.$row['file_name'].'.mp4')) {
exec('ffmpeg -i "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/'.$row['file_name'].'" -vcodec libx264 -vpre fast -b 512k -acodec libfaac -ab 128k -ac 2 "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/output.mp4"') or die('could not encode movie');
exec('/usr/lib/qt-faststart "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/output.mp4" "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/'.$row['file_name'].'.mp4"') or die('could not move mp4 atoms');
exec('rm -f "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/output.mp4"') or die('could not delete original encode');
exec('ffmpeg -ss 00:00:30.00 -i "/opt/lampp/htdocs/videos/'.$row['file_folder'].'/'.$row['file_name'].'" -y -f image2 -vcodec mjpeg -vframes 1 "'.$row['file_name'].'.jpg"') or die('could not create screenshot');
}
}