Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (111)

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

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

  • 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 (10068)

  • 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 ?

    


  • What's the simplest way of installing ffmpeg on my server (on a Mac) ?

    13 octobre 2011, par Nick

    I am looking to install ffmpeg on my server to enable audio files uploaded to a website to be converted to MP3. I understand that I need to install ffmpeg and ffmpeg-php, but I am not sure how to do this. I am wondering what the simplest way of doing this would be on my Mac. Would I need to use Terminal and learn command line methods, or is there a simpler way ? I have checked with my host that I have SSH access.

  • How to convert sequence of image file to video using c programming ?

    4 avril 2021, par Rahul Chandran

    I am working on a V4L2 camera driver.The webcam taking number of sequence of image files.Now I want to convert it into video (mp4) file.How it is possible using FFMPEG/GSTREAM using pure c source code instead of ubuntu terminal command ?