
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (108)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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. -
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 ;
Sur d’autres sites (17724)
-
ffmpeg video overlay position from external input [duplicate]
18 janvier 2019, par SetVThis question is an exact duplicate of :
-
Sendcmd in ffmpeg
1 answer
How to use FFmpeg video overlay function to add image logo to a MP4 video where overlay positions shall come from an external input.
Following is the command I am using to apply a logo to a video file
ffmpeg -i input.mp4 -i image.png -filter_complex \
"[0:v][1:v] overlay=25:25:enable='between(t,0,20)'" -c:a copy output.mp4Say when the input is 1 the logo need to be placed on top left corner etc.
Does the overlay position can be changed on the fly based on input from the file ?
Say for input file content given below
cat input.txt
1
2
3
4I need to move the logo to other positions after the 20 sec duration is elapsed.
Is this is supported in FFmpeg command line ? FFmpeg version is 2.6.2.
-
Sendcmd in ffmpeg
-
[FFMPEG]timeline editing for overlay filter, input source is not start from beginning [duplicate]
18 mars 2019, par Kent WoodThis question already has an answer here :
I was trying to make a video editor, there is a 5s length video clip, I try to place it on a red background after 4 seconds
command like thisffmpeg -i video1.mp4 -f lavfi -i color=c=red:s=640x480 ^
-filter_complex "[1][0]overlay=(W-w)/2:(H-h)/2:enable='between(t,4,8)'" ^
-t 10 output.mp4i found the video has already played 4 seconds when it appears at 4th sencond by
enable='between(t,4,8)
is there a way to make the video just start from beginning as I set in timeline editing parameter ? for here, it should start from the beginning, not from 4th second -
ffmpeg strange errors variables/undefined constants & question fonts
21 mars 2019, par RickI was trying to achieve get an animated text overlay. I found this thread :
ffmpeg moving text drawtextWhen I run this code however :
ffmpeg -i VideoInput.mp4 \
-vf "drawtext=enable='between(t,12,15)':fontfile=myfont.otf:text='Test test': \
x='if(lt(t-t2+1\,0)\,x1+(x2-x1)*(t-t1)/(t2-t1-1)\,x)': \
y='if(lt(t-t2+1\,0)\,y1+(y2-y1)*(t-t1)/(t2-t1-1)\,y)':fontsize=65" \
-acodec copy outputVideo.mp4I get the error :
[Parsed_drawtext_0 @ 000002d862595c00][Eval @ 000000e1d79fe300] Undefined constant or missing '(' in 't2-t1-1),x)'
[Parsed_drawtext_0 @ 000002d862595c00] Failed to configure input pad on Parsed_drawtext_0A second strange error, which may be the cause for the problem at the top. Is that I can’t run the arguments on multiple lines. So with the code below I have to remove the slashes and put it on 1 line. I use PHP so this does not work (white screen, no output)
$arguments = "-i out1.mp4 \
-vf \"drawtext=enable='between(t,12,15)':fontfile=myfont.otf:text='Test test': \
x='if(lt(t-t2+1\,0)\,x1+(x2-x1)*(t-t1)/(t2-t1-1)\,x)': \
y='if(lt(t-t2+1\,0)\,y1+(y2-y1)*(t-t1)/(t2-t1-1)\,y)':fontsize=65\" \
-acodec copy outputVideo.mp4 2>&1";
$output = shell_exec('D:/wamp64/www/createslideshow/ffmpeg-20190319-f8075b2-win64-static/bin/ffmpeg.exe '.$arguments);This works but gives the undefined constant error :
$arguments = "-i out1.mp4 -vf \"drawtext=enable='between(t,12,15)':fontfile=myfont.otf:text='Test test': x='if(lt(t-t2+1\,0)\,x1+(x2-x1)*(t-t1)/(t2-t1-1)\,x)': y='if(lt(t-t2+1\,0)\,y1+(y2-y1)*(t-t1)/(t2-t1-1)\,y)':fontsize=65\" -acodec copy outputVideo.mp4 2>&1";
$output = shell_exec('D:/wamp64/www/createslideshow/ffmpeg-20190319-f8075b2-win64-static/bin/ffmpeg.exe '.$arguments);Last thing is that I keep getting the font error :
Fontconfig error : Cannot load default config file
[Parsed_drawtext_0 @ 000001d6ad86f180] Using "C :/WINDOWS/fonts/mingliub.ttc"I have tried :
arial.ttf
/windows/fonts/arial.ttf
\windows\fonts\arial.ttf
\\\windows\\\fonts\\\arial.ttf
c\\:\\\windows\\\fonts\\\arial.ttf