
Recherche avancée
Autres articles (68)
-
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 ;
-
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
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 (8333)
-
ffmpeg - Understand images to video output, players show different images and lengths
8 juillet 2023, par Matt CI'm using multiple images to create a video with each image on a 1-second long frame. This is the command I'm using :


ffmpeg -framerate 1 -i 'image%d.jpg' -c:v libx264 -r 1 -pix_fmt yuv420p out.mp4



This seems straightforward and exactly what many others have done with success. However, the output I get is an mp4 which windows file explorer says is 4 seconds long, and is different in VLC and Windows media player and neither is the desired output.


In Windows : the video plays for 4 seconds with a black screen and at this point the time line at the bottom is filled up at 4 seconds, indicating the video is over. But it keeps playing, for another 4 seconds. And the last 4 seconds (from 0:04 to 0:07) is actually the desired output.







 Frame 

Image 







 1 

black screen 




 2 

black screen 




 3 

black screen 




 4 

black screen 




 5 

image1.jpg 




 6 

image2.jpg 




 7 

image3.jpg 




 8 

image4.jpg 









In VLC : the video shows last image supplied as input for 3 seconds, followed by the second to last image for 1 second.







 Frame 

Image 







 1 

image4.jpg 




 2 

image4.jpg 




 3 

image4.jpg 




 4 

image3.jpg 









Questions :


- 

- How/Why are these different in different players ?
- Why, in VLC, are only two images showing up, and why would one of them last for 3 seconds ?
- In Windows, why/how is the video 8 seconds long but shows up as 4 seconds both in the file explorer and in the actual media player ?
- How do I get the desired output, and what caused my case to not work as it did for seemingly most others ?










-
How to make overlay not hidden under pad area
26 juin 2023, par Yousuf Essai have the following command where i want overlay two images above image


String command = '-y -i $backgroundImage1 -i $overlayImage1 -i $overlayImage2 -filter_complex '
 '"[1]scale=600:600[i1];'
 '[2]scale=600:600[i2];'
 '[0][i1]overlay=1200:1200[01];'
 '[01][i2]overlay=800:800'
 ',pad=width=iw:height=ih+1000:x=0:y=0:color=black'
 '" $outPutPath';



Now i notice if i position one of the overlay to be within the black pad area that i made so it be hidden behind it , how to solve, so the overlay on top pad ?


if anyone could help so kindly edit my full command because i just start to learn
ffmpeg
, thanks

-
Add video and audio into image, with blend=screen
14 juillet 2019, par Jejel Boyi have an image sized 1800x1200, i want to crop it to 1800x1200. Manage to do that with"
ffmpeg -i image.jpg -vf "crop=1200:1200:0:0" -y output.jpg
I would also like to add a video.mp4 with black background as an overlay to the output, but blend=screen so black will be transparent.
How do i continue with the script ?