Recherche avancée

Médias (91)

Autres articles (33)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (2881)

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

    


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