
Recherche avancée
Autres articles (86)
-
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 ;
-
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 (12383)
-
Python remove and change video background [closed]
21 juillet 2022, par Billi AltI have a video with a human in the foreground and a white wall in the background. I would like to remove the white wall and to add several background videos. So one video would be from second 0-5 the next from 5-20 and so on. And the end video should still have the initial audio. Do you have any idea how to do that in python ?


-
FFmpeg : Create a Video Slideshow from PNG Images for MS PowerPoint
20 septembre 2016, par KlaidonisI am using FFmpeg on Windows 7 to create a video from PNG image sequence for Microsoft PowerPoint.
The best results I have achieved so far, is by using the following command :
ffmpeg -framerate 10 -start_number 3 -i .\folder\name_%d.png -q:v 0 -c:v libx264 -pix_fmt yuv420p output-video.avi
It seems perfect, 50 images of total size 30 MB are converted into 200 KB video with no loss in the quality. Placing it in PowerPoint also seems right, but there is a slight color shift (yellow appears darker and possibly more orangish). By using some other conversion options, I obtained a video in PowerPoint where the first image of the video (like album cover art) is exactly as the original but the rest of the video plays with the mentioned color shift.
When I play this file in VLC, it’s good. Although, if in the settings "Use hardware YUV->RGB conversions" is enabled, colors appear a bit washed out, and white color is a bit gray.
I also tried to convert the images to a GIF file and at first it seems good but outer edges and numbers from the left and top side are blurred, and the background has turned from white to a bit gray color, although, white segments not on the background are white. The output size is 18 MB. I ended up with a way better GIF 600 KB by converting from the first video file ; just it is slightly more dotted, and the background again is grayish.
ffmpeg -i output-video.avi output-video.gif
Could someone help ?
-
How to espace quotes, double quotes and colon inside double quotes when using FFMpeg
23 septembre 2020, par DnerD.DevI'm trying to get a text written onto a video. I can get it to work when I do it in a single line but not when I need to quote the drawtext inside the double quotes to write two lines.


ffmpeg.exe -i input.ts -vf "[in]drawtext=fontfile=Bebas-Regular.ttf:text='"Day: Sunday"':fontcolor=white:y=(h-h*0.2):x=(w-w*0.95):fontsize=36, drawtext=fontfile=Bebas-Regular.ttf:text='"thing1, thing2, thing3"':fontcolor=white:y=(h-h*0.1):x=(w-w*0.95):fontsize=36[out]" -codec:a copy output1.mp4


I've tried so many combinations of \ but I can't get it to work. The error I get is the following :


Unable to find a suitable output format for 'Sunday':fontcolor=white:y=(h-h*0.2):x=(w-w*0.95):fontsize=36, drawtext=fontfile=Bebas-Regular.ttf:text='thing1,'
Sunday':fontcolor=white:y=(h-h*0.2):x=(w-w*0.95):fontsize=36, drawtext=fontfile=Bebas-Regular.ttf:text='thing1,: Invalid argument



I need the video to have this :


Day: Sunday
Thing1, Thing2, Thing3