
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (111)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (...)
Sur d’autres sites (10857)
-
Sub-pixel rendering with imagettftext()
8 mars 2016, par user1661677I’m creating an image sequence, and encoding it to a video using PHP, GD library and ffmpeg. You’ll see I’m animating the two text layers inversely of each other, on the X axis. And with some simple operators
$i/2
and$i/3
, I’m trying to make their movement slower in the final animation.The problem I’m having is that when the video is rendered out, each layer’s text is only moving ever second, and third frame, respectively. This causes the animation to be a bit ’jerky’ and just not as smooth as Adobe After Effects with it’s ability to support sub-pixel rendering of elements.
Is there any way to get
imagettftext()
, or some other method of drawing on images to support sub-pixel rendering ?Thank you.
for ($i = 1; $i <= 125; $i++) {
// Text on Image
$front = imagecreatefromjpeg('front.jpg');
$white = imagecolorallocate($front, 255, 255, 255);
$text = 'some text';
$text2 = 'some other text';
$font = '/var/www/html/test/OpenSans-Bold.ttf';
// Add text
imagettftext($front, 60, 0, 1340-($i/2), 720, $white, $font, $text);
imagettftext($front, 35, 0, 1240+($i/3), 800, $white, $font, $text2);
// Write image to file
imagejpeg($front, "images/".$i.".jpg", 100);
} -
FFMPEG Unable to parse graph description
24 mai 2022, par user2877989This is code to resize video :




ffmpeg -i
D :\b\a\bin\Debug\net5.0\EditlyProfiles\796f75833d0c837cef804c79cb2478b0\MediaFolder\1.mp4
-vf "fps=30,scale=720:1280:force_original_aspect_ratio=1,pad=720:1280 :(ow-iw)/2 :(oh-ih)/2,drawtext=textfile=D~:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine1.txt:fontsize=45:fontcolor=white:y=100:x=w-(t+3)*w/8:expansion=none,drawtext=textfile=D~:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine2.txt:fontsize=45:fontcolor=white:y=190:x=w-(t+1)*w/8:expansion=none,drawtext=textfile=D~:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine3.txt:fontsize=45:fontcolor=white:y=280:x=w-(t+3)*w/8:expansion=none,drawtext=text=Vanhoadaichung:fontsize=45:fontcolor=white:y=370:x=50:expansion=none:enable=lt(mod(t,3),1)" -c:v h264_qsv -b:v 2M -y D :\b\a\bin\Debug\net5.0\EditlyProfiles\796f75833d0c837cef804c79cb2478b0\MediaFolder\resized_1.mp4




Thend i add an image as watermark by this code :


-i https://icons.iconarchive.com/icons/dakirby309/simply-styled/64/YouTube-icon.png



and


[1:v]overlay=10:10





ffmpeg -i
D :\b\a\bin\Debug\net5.0\EditlyProfiles\796f75833d0c837cef804c79cb2478b0\MediaFolder\1.mp4
-i https://icons.iconarchive.com/icons/dakirby309/simply-styled/64/YouTube-icon.png
-filter_complex "[0:v]fps=30,scale=720:1280:force_original_aspect_ratio=1,pad=720:1280 :(ow-iw)/2 :(oh-ih)/2,drawtext=textfile=D~:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine1.txt:fontsize=45:fontcolor=white:y=100:x=w-(t+3)*w/8:expansion=none,drawtext=textfile=D~:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine2.txt:fontsize=45:fontcolor=white:y=190:x=w-(t+1)*w/8:expansion=none,drawtext=textfile=D~:/b/a/bin/Debug/net5.0/EditlyProfiles/796f75833d0c837cef804c79cb2478b0/commentLine3.txt:fontsize=45:fontcolor=white:y=280:x=w-(t+3)*w/8:expansion=none[1:v]overlay=10:10"
c:v h264_qsv -b:v 2M -y
D :\b\a\bin\Debug\net5.0\EditlyProfiles\796f75833d0c837cef804c79cb2478b0\MediaFolder\resized_1.mp4




What do i wrong here ?
Thanks in advance.


-
Ffmpeg Scale GIF with transparency
13 juin 2017, par Shreyansh SharmaI am trying to scale gif image using ffmpeg without loosing transparent background of the gif image but currently i am getting image with white background the image is scaled but with white background .
code which i use -
-i input.gif -vf scale=x:y -gifflags +transdiff output.gif
I am using Ffmpeg version n3.0.1