Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (61)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (9565)

  • How do I increase the quality of a gif using ffmpeg from a web address [closed]

    1er août 2023, par Alteria

    I'm using command line/powershell on windows 11 along with ffmpeg to download gifs from web addresses. When I do this, though, the quality of the output is greatly decreased, even if the original file was itself a gif. Is there w way to fix this ?

    


    I'm doing this with .gif files, as well as .mp4 and .webm files using web links and addresses.

    


    The command I use is ffmpeg -i https://somewebsite.com/12345.gif "custom name.gif" when downloading gifs. The quality is always slightly decreased, and in some cases very decreased. I would like to keep this from happening. I also use the exact same command when downloading .gif's and .mp4's, with ffmpeg -i https//:somewebsite/123456.webm "custom name.gif" and ffmpeg -i https://somewebstie/123456.mp4 "custom name.gif" respectivly.

    


    What should I use instead of this in order to maintain the quality of the original .gif files and get better quality .gifs from the .webm and .mp4's ?

    


    =============

    


    Some of the other answers I have looked for have not answered what to do with links, and the other example haven't worked either.

    


    The one-liner command ffmpeg -ss 23.0 -t 1.8 -i input.mp4 -filter_complex "[0:v] split [a][b];[a] palettegen [p];[b][p] paletteuse" output_trimmed_enhanced.gif supplied at banner-bear.com did not work, instead throwing an error cmd error message&#xA;*This specific example used a .gif file for the ffmpeg -i <file></file>, but the same error occurs when using .mp4's and .webm ;s

    &#xA;

    I am also aware of the tool "gifski", posed by another user when they were asked a similar question on stack overflow (the question available here FFmpeg : high quality animated GIF ?). I would prefer to not download additional software in order to do what I wanted, so is there a way to circumvent this ?

    &#xA;

    Edit

    &#xA;

    I have found this forum post as one of the answers of this question : How do I convert a video to GIF using ffmpeg, with reasonable quality ?. This was the fourth (4th) answer down. This solution worked ! The command itself looks like this ffmpeg -i input.mp4 -filter_complex &#x27;fps=10,scale=320:-1:flags=lanczos,split [o1] [o2];[o1] palettegen [p]; [o2] fifo [o3];[o3] [p] paletteuse&#x27; out.gif.

    &#xA;

    I, however, have absolutely no idea how this command works. While this does work, I think it's going to be hard to remember this (and other) long commands. I want to be able to remember the commands as much as possible, and also to know what each part of it does. Is there an easier or shorter way of doing this command ? Or if not, what exactly does that command above do ?

    &#xA;

    *I had seen palettegen and paletteuse when searching for the answer to this question, but I had a hard time understanding and following the documentation give on FFmpeg's Filter Documentation FFmpeg Filters Documentation, as well as other stack-overflow questions on these commands. Can someone show me coherent or simplified documentation for the problem I am trying to solve.

    &#xA;

  • How to create thumbnail using ffmpeg on linux server ? Guide to install ffmpeg on linux [on hold]

    6 avril 2019, par Manthan Kanani

    I am using fedora linux server cpanel. Im creating thumbnail in local environment with installing in windows. But this shell_exec command not running on linux server how to install ffmpeg and what should be the new code for different types of linux.
    After installing ffmpeg what should be the exec command for generate thumbnail...

  • lavu/tx : do not unconditionally free subcontexts if initialization fails

    29 janvier 2022, par Lynne
    lavu/tx : do not unconditionally free subcontexts if initialization fails
    

    If a codelet initializes 2 subtransforms, and the second one fails,
    the failure would free all subcontexts.
    Instead, if there are subcontexts still left, don't free the array.
    If all initializations fail, the init() function will return,
    and reset_ctx() from the previous step will clean up all contained
    subtransforms.

    • [DH] libavutil/tx.c