
Recherche avancée
Autres articles (74)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (9231)
-
Add padding with ffmpeg to videos increases file size, why ?
12 mars 2023, par try2getsmarterI need to add padding to mp4 video files (since tv changes aspect ratio on playback) and I simply can do this with -pad option of ffmpeg.


The output is ok for me, but I see that most of the video files increase about 25%-30% in file size.


ffmpeg -i in.mp4 -preset slow -vf "pad=1920:1080 :(1920-iwmin(1920/iw,1080/ih))/2 :(1080-ihmin(1920/iw,1080/ih))/2" -c:v h264 -c:a copy out_fhd.mp4"


Is there a way to preserve the input quality and have the same file size ? As the black bars contain no information I had the expectation that there is a lossless mode to take the already H264 encoded stream and just add blocks with black pixels.


-
ffmpeg mp4 cut from correct point | without encode
3 mars 2018, par sword1stI’m using this this command for cut my mp4 video :
ffmpeg -i clip.mp4 -ss 00:00:25 -to 00:01:20 -c copy cutted.mp4
But there is a problem with this code. My "cutted" clip has black video for a couple seconds and it’s have sync problem on editing software. When i tweak the first parameter -ss like 00:00:24 ... 00:00:23 .... 00:00:26 etc when i found the right position it doesn’t have any black frame or sync problem. I want to learn how can i learn all of this correct times for my video ? I don’t know what should i call these points. Gop or anything else. Is there any solution built-in ffmpeg to learn this times so i can cut them without any corruption ? Thanks !
-
ffmpeg : Combine png frames with transparent background into a video and merge with an image
15 avril 2023, par andyts93I'm trying to combine multiple png frames into a video with ffmpeg, keeping the transparency, to then combine it with an image.
The png video comes with a black background so when i try to combine it with an image, the image is completely overlayed by the black background, how can I keep the transparency ?


Here's the command to combine the PNGs :


ffmpeg -y -i src/tmp/%d.png -c:v libx264 -vf fps=25 -pix_fmt yuva420p land.mov