Recherche avancée

Médias (0)

Mot : - Tags -/api

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (68)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

  • Ecrire une actualité

    21 juin 2013, par

    Pré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 (5474)

  • How to add this line to FFMPEG batch command ? [closed]

    10 décembre 2020, par user7959439

    I inherited a batch command that takes every png file inside the folder (with the .exe and the command inside) and converts it into a webp file.

    


    for /r %%F in (*.png) do (
    ffmpeg.exe -y -i "%%F" -compression_level 6 "%%~dpnF.webp"
    if not errorlevel 1 if exist "%%~dpnF.webp" del /q "%%F"
)


    


    I want to add a line that at the same time checks for any mp4 files and converts them to gifs.

    


    This is the line

    


    ffmpeg -i input.mp4 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif


    


    I tried something like but it doesn't work.

    


    for /r %%F in (*.png) do (
    ffmpeg.exe -y -i "%%F" -compression_level 6 "%%~dpnF.webp"
    if not errorlevel 1 if exist "%%~dpnF.webp" del /q "%%F"
)


for /r %%F in (*.mp4) do (
    ffmpeg.exe -y -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 "%%~dpnF.gif"
    if not errorlevel 1 if exist "%%~dpnF.mp4" del /q "%%F"
)


    


  • FFMPEG works in command line but not in exec(), it returns 127

    26 février 2015, par Felipe Schenone

    The command is

    ffmpeg -i path/to/video.avi path/to/video.mpg

    and it works fine from the command line. However, when I call it with PHPs exec(), the return value is 127, it doesn’t seem to detect FFMPEG. What am I doing wrong ? I’m in localhost and the safe mode is off, but I’m new to both FFMPEG and exec(), so it may be a noob mistake. Thanks in advance.

  • In ffmpeg command-line, how to show all filter settings and their parameters before encoding ?

    7 décembre 2023, par F.X.

    Is there a way to force the ffmpeg command-line to display a comprehensive list of all filters and their parameters, even those that are applied automatically like -vf scale ?

    


    (EDIT : To clarify, I do not mean filter documentation, but rather displaying filters that are instantiated at runtime for a particular command-line, just before transcoding starts. The goal of this is mostly checking that ffmpeg is indeed doing the right thing and not inserting/changing filters when I do not intend it to.)

    


    There are a few options available, but none are comprehensive enough. For example :

    


      

    • The lavfi module has a dumpgraph option (here) but only if you're using lavfi.
    • 


    • The -sws_flags print_info option (here) can be used to determine if -vf scale is applied automatically and shows a subset of its parameters, but not all of them.
    • 


    


    Additionally, this question appears related the answer doesn't answer what I'm looking for.

    


    Are there better ways to achieve that ?