
Recherche avancée
Autres articles (60)
-
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 ;
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (6222)
-
How to (visually) losslessly compress a video with GPU acceleration in ffmpeg ?
4 juin 2022, par Tizian HeckmannI am trying to compress a video in ffmpeg with GPU acceleration, but the result always looks bad. This is what I have tried and none of this has worked for me :


Preset 18 is called "best quality" when looking at ffmpeg -h encoder=hevc_nvenc

ffmpeg -i input.mp4 -c:v hevc_nvenc -preset 18 compressed.mp4

Also :

ffmpeg -i input.mp4 -c:v h264_nvenc -preset 18 compressed.mp4

Unfortunately, the preset lossless is deprecated. When trying

ffmpeg -i input.mp4 -c:v h264_nvenc -preset lossless compressed.mp4

the output file just grows enormous.

Any help is appreciated.

Edit : Since my question is being received as inappropriate by the community, I would like to know why. This was my first question, any advice on how to word it better or tell me why it just does not fit here would be appreciated. Thank you.

-
Merge commit ’0670acc4f1c4ceb16968818a654e07a3f550a8c9’
12 mai 2015, par Michael NiedermayerMerge commit ’0670acc4f1c4ceb16968818a654e07a3f550a8c9’
* commit ’0670acc4f1c4ceb16968818a654e07a3f550a8c9’ :
dca_parser : Extend DTS core sync word and fix existing checkConflicts :
libavcodec/dca_parser.cSee : e80b2b9c81716a5d9f559c04cfe69d76b04e4cd3
Merged-by : Michael Niedermayer <michaelni@gmx.at> -
How to preserve transparency when using png to make video with ffmpeg
27 septembre 2016, par Ryan JamesI have a series of png’s that have an alpha channel as a background. Each file is named like file_name.0001.png and so on, in subsequent order. I’d like to join these png’s into a video with ffmpeg and maintain the transparency.
I’ve tried a couple of things but I suspect I’m running into a codec issue. When I run ffmpeg, the video is created but the background is black.
If it makes a difference, I’m wanting to use the video in Microsoft Powerpoint. Thanks !
Edit
The suggested duplicate is very close to what I was looking for, thank you ! The only reason it’s not a complete solution is none of the options presented in the other thread work well with Microsoft Powerpoint. None of the codecs used in the suggested solution play well with Powerpoint. This is not the fault of ffmpeg, but of Powerpoint.Though ffmpeg doesn’t seem to be able to do what I need, I found that imagemagick did the trick. I was able to create a gif from the images and the alpha channel was preserved. I used the following :
convert -dispose 3 -coalesce images.*.png gif_file_name.gif
The
-dispose 3
is critical as it tells imagemagick to clear the image prior to overlay, otherwise, you can see each image overlaid on each other (since they have the transparent background).