Recherche avancée

Médias (91)

Autres articles (61)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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 (...)

Sur d’autres sites (5775)

  • How to covert video and extract frame from video using FFMPEG in single command

    13 juillet 2013, par kheya

    I am trying to convert and extract image frame from a video file in single command
    I can do this in 2 steps but I want to use pipe like technique to do this

    This is what I have :
    for %%a in ("*.avi") do ffmpeg -i "%%a" -c:v libx264 -preset slow -crf 20 -c:a libvo_aacenc -b:a 128k "%%~na.mp4" <— converts correctly

    I need to incorporate this extract command :

    ffmpeg -i inputfile.avi  -r  1  -t  4  image-%d.jpeg

    Merging two commands giving error.

    How do I do it ?

    EDIT :
    This is what I have. But it just converts the video, no jpg image created as second output

    for %%a in ("*.avi") do ffmpeg -i "%%a" -c:v libx264 -preset slow -crf 20 -c:a libvo_aacenc -b:a 128k "%%~na.mp4" | ffmpeg -r 1 -s 4cif "%%~na.jpeg"
  • ffmpeg video unable to play properly in most video players

    7 septembre 2022, par Lars

    I'm trying to set up a node.js app that allows me to download files from a web interface.&#xA;I'm using yt-dl to get the video and audio stream and ffmpeg to pipe those streams into an mp4. This works and returns a mp4 file.

    &#xA;

    Now the only issue I have is that when I play the file through most video players, the video player is unable to seek, or skip through the song. I found somewhere deep down on a forum that means that that means the mp4 headers are not working but that is all I could find.&#xA;Here is my code, almost unchanged from this response on another thread.

    &#xA;

    Can anyone provide a solution for this issue.

    &#xA;

    ytdl.getInfo(link, options).then(info => {&#xA;        audioStream = ytdl.downloadFromInfo(info, { ...options, quality: &#x27;highestaudio&#x27; });&#xA;        videoStream = ytdl.downloadFromInfo(info, { ...options, quality: &#x27;highestvideo&#x27; });&#xA;        // create the ffmpeg process for muxing&#xA;        ffmpegProcess = cp.spawn(ffmpegPath, [&#xA;            // supress non-crucial messages&#xA;            &#x27;-loglevel&#x27;, &#x27;8&#x27;, &#x27;-hide_banner&#x27;,&#xA;            // input audio and video by pipe&#xA;            &#x27;-i&#x27;, &#x27;pipe:3&#x27;, &#x27;-i&#x27;, &#x27;pipe:4&#x27;,&#xA;            // map audio and video correspondingly&#xA;            &#x27;-map&#x27;, &#x27;0:a&#x27;, &#x27;-map&#x27;, &#x27;1:v&#x27;,&#xA;            // no need to change the codec&#xA;            &#x27;-c&#x27;, &#x27;copy&#x27;,&#xA;            // output mp4 and pipe&#xA;            &#x27;-f&#x27;, &#x27;matroska&#x27;, &#x27;pipe:5&#x27;&#xA;        ], {&#xA;            // no popup window for Windows users&#xA;            windowsHide: true,&#xA;            stdio: [&#xA;                // silence stdin/out, forward stderr,&#xA;                &#x27;inherit&#x27;, &#x27;inherit&#x27;, &#x27;inherit&#x27;,&#xA;                // and pipe audio, video, output&#xA;                &#x27;pipe&#x27;, &#x27;pipe&#x27;, &#x27;pipe&#x27;&#xA;            ]&#xA;        });&#xA;        audioStream.pipe(ffmpegProcess.stdio[3]);&#xA;        videoStream.pipe(ffmpegProcess.stdio[4]);&#xA;        ffmpegProcess.stdio[5].pipe(result);&#xA;    });&#xA;

    &#xA;

  • Re-encode a video keeping the GOP structure of the original video [closed]

    5 avril, par Baltar27

    Is there a way to re-encode a video with ffmpeg keeping the GOP structure of the original file ? That is, if a frame is IDR, I, B or P in the input file, keep the same type in the output file, even if the GOP is variable and/or adaptive (it changes dynamically GOP type Open/Closed, the I period N or the P period M). Encoding in this way allows to maintain the maximum quality as the Open/Closed, I/B/P and GOP length decisions has been taken already by the original encoder.

    &#xA;