Recherche avancée

Médias (91)

Autres articles (42)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

Sur d’autres sites (6342)

  • Embed graphics/information to a streaming

    3 mars 2016, par Jorge Anzola

    How can I embed information or graphics to a stream.
    Like the "marquee" (IDK what’s its name) in a football/soccer game or any other live event. (Score, time and logo)

    enter image description here

    I’ve to add a watermark with FFMPEG’s filter like

    ffmpeg -i sample.mp4 -i info.png -filter_complex overlay -c:v copy -c:a copy -f flv rtmp://wowzaServerAdress

    And I was thinking to change info.png with updated info. I had no idea if that could work, it was just a test. Anyhow, it gave this error :

    Streamcopy requested for output stream 0:0, which is fed from a complex filtergraph. Filtering and streamcopy cannot be used together.

    So, basically that error killed my only idea. Do you know how can achieve this with FFMPEG or similar ? I’d prefer not to use something like Xsplit.

  • ENOENT error when trying to access output with ffmpeg + node.js

    29 juin 2020, par John Grayson

    I am running ffmpeg in a lambda function to do some video processing. My problem is the processed video is not being outputted/saved. Therefore, when I try to access the processed video, I get the error :

    


    ERROR  Error retrieving video to upload [Error: ENOENT: no such file or directory

    


    Relevant parts of my code :

    


    const { spawnSync } = require("child_process");

exports.handler = async (event, context) => {
  spawnSync(
    "/opt/ffmpeg/ffmpeg",
    [
      "-i",
      `/tmp/myfile`,
      'title="Test 123"',
      `/tmp/processed_file`,
    ],
    { stdio: "inherit" }
  );
}



    


    The conversion file itself does not return any errors, but when I try to access processed_file, I get the ENOENT error. I also used an fs.readdir to see what files actually exist in /tmp and the only file there was myfile. Therefore, my processed video truly did not save correctly.

    


    Does anyone know what I might be doing wrong here ? Thanks !

    


  • unable to read stderr

    24 septembre 2020, par Sarmad S.

    I have the following code, which works fine locally :

    


    const child_process = require("child_process");
const path = require("path");

exports.handler = async (event) => {

   var ffprobePath = path.resolve(__dirname, 'ffmpeg-static', 'ffprobe');
   var ffmpegPath = path.resolve(__dirname, 'ffmpeg-static', 'ffmpeg');


   var ffprobeArgs = [
       '-i', 'tb.jpg'
   ]

   var proc = child_process.spawnSync(ffprobePath, ffprobeArgs);

   console.log(proc.stderr.toString()) //toString on null object (stderr is null).


   const response = {
       statusCode: 200,
       body: JSON.stringify("Some text here"),
   };

   return response;
};


    


    However, when uploaded to aws lambda, and invoked, stderr is null.

    


    What am I doing wrong ?