
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (101)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (14074)
-
ffmpeg - skipping frames while watermarking
12 août 2018, par VaasI am building a video watermark utility based on ffmpeg.
But watermarking takes considerable time. I wish to reduce the watermarking time by skipping frames while processsing.
Is it possible to skip frames while processing video ?
Like adding text to only every other frame ?
ffmpeg -i "D://sample.mp4" -vf [in]drawtext=fontfile='C\://Windows//Fonts//Calibri.ttf':fontsize=27.9:text=www.example.com:fontcolor=#ffffff:box=1:boxcolor=0x00000099:x=w-tw-10:y=h-th-10 -y D:\watermarked.mp4
-
PHP adding watermark to video
28 août 2015, par Pilo BasualdoI´m needing to add a watermark on the top left corner of a video, the watermark is black text with a white box.
I’m running the code on a console. This is the code I have by now. Never the less the code is returning the video without the watermark. Any idea what is wrong ? How could I’ find the height and width of the video ?
$im = imagecreatetruecolor(640, 1136);
imagesavealpha($im, true);
$color = imagecolorallocatealpha($im, 0, 0, 0, 127);
imagefill($im, 0, 0, $color);
imagepng($im, $im);
imagesavealpha($im, true); // important to keep the png's transparency
$text_color = imagecolorallocate($im, 0, 0, 0);
$width = 640; // the width of the image
$height = 1136; // the heighst of the image
$font_size = 20; // font size
$box_color = imagecolorallocate($im, 255, 255, 255);
// Set the offset x and y for the text position
$offset_x = 0;
$offset_y = 20;
$dims = imagettfbbox($font_size, 0, $font, $text);
$text_width = $dims[4] - $dims[6] + $offset_x;
$text_height = $dims[3] - $dims[5] + $offset_y;
// Add text background
imagefilledrectangle($im, 0, 0, $text_width, $text_height, $box_color);
// Add text
imagettftext($im, $font_size, 0, $offset_x, $offset_y, $text_color, $font,$text);
imagepng($im, $img, 0);
imagedestroy($im);
exec("ffmpeg -v error -y -i $path -i $im -filter_complex 'overlay' $path"); -
watermark commend for ff-mpeg batch converter
6 septembre 2018, par D.JCodeI used FFmpeg Batch Converter for video converting. I used the below command
-c:v libx264 -crf 20 -c:a copy
Now I want to add a watermark too.
logo.png -filter_complex "overlay=50:50" -c:v libx264 -crf 20 -c:a copy
but it does not work. Could you help me how can I write the above code to add water mark with having control on the watermark size.