Recherche avancée

Médias (91)

Autres articles (18)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (4881)

  • Creating a simple transition between all images in a folder

    28 mai 2014, par Vikram

    I am trying to make ffmpeg pick up every picture file in a folder (pngs, for example) and create a video (in mp4, for example), but put a blend transition in between all photos in one command ? Any ideas ?

    Thanks for all your help !

  • How to check for corrupt mp3 files using ffmpeg in nodejs

    2 septembre 2022, par Oliver Wagner

    Using the 'ffmpeg-static' npm package I managed to integrate ffmpeg in my node application, and run the [example][1]https://github.com/eugeneware/ffmpeg-static/blob/dce6d42ba772a5769df8181e704772db4456ef16/example.js code.

    


    The gist of the code is :

    


    import pathToFfmpeg from "ffmpeg-static";
import shell from 'any-shell-escape';
import { exec } from "child_process";

 function runFfmpeg(src, dest) {
  //where src is a existing mp3 file in a folder and dest is the destination folder
  const script = shell([
    pathToFfmpeg,
    '-y', '-v', 'error',
    '-i', resolve(process.cwd(), src),
    '-acodec', 'mp3',
    '-format', 'mp3',
    resolve(process.cwd(), dest),
  ]);

  exec(script);
}


    


    This works and this decodes and encodes the source file into mp3 and saves it in the dest folder.

    


    However, when I try what should be the simplest ffmpeg terminal command, such as ffmpeg -i file.mp3 -hide_banner it does not work. I have tried

    


    function runFfmpeg(src, dest) {
  const script = shell([
    pathToFfmpeg,
    '-i', resolve(process.cwd(), src), '-hide_banner'
  ]);

  const fileInfo = exec(script);
  return fileInfo;



    


    In the end, where I want to get to is being able to use my runFfmpeg function to check if an mp3 file has any missing or corrupted frames, using a terminal command that I found in the interwebs :
ffmpeg -v error -i video.ext -f null

    


    Any ideas on how to do that ?

    


  • Playing audio/video on-demand with overlay ?

    1er juillet 2012, par Jeff Huijsmans

    I'm currently busy working on a TV-station app, which I'm writing in C#. However, C# lacks (good) support for audio-video output, let alone with an overlay (logo's, "Next up : [episode]" etc.).

    My question is : is there a programming language that has good (native) support for playing back audio/video with support for overlays ?

    I already tried Java + Xuggle (I can't find enough examples), C# + about 3 different plugins.