Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (65)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (10116)

  • ffmpeg : How to save SSIM and PSNR to a file ?

    7 mars 2021, par idoo

    I'm a ffmpeg newbie.
I would like my script (on Windows) to output the average PSNR and average SSIM values to a file.
(but not the values for every frame)
I can output them to the standard output but not to a file.

    


    I use this line :

    


    ffmpeg -i ref.avi -i compressed.avi -lavfi  "ssim;[0:v][1:v]psnr" -f null -


    


    I understand I have to change something here : "-f null -" , but I cannot make it work.

    


  • Invalid data when processing input ogg in ffmpeg

    23 mars 2023, par Albert Gomáriz Sancha

    I am getting an ogg file and I am trying to convert it to a mopo3 file using fluent-ffmpef node library. When trying to convert it, then this error is shown :** An error occurred : Error : ffmpeg exited with code 1 : pipe:0 : Invalid data found when processing input**.

    


    Can someone help me please ?

    


    This is my code :

    


     const input = createReadStream(getPath("temp.ogg"));
  // console.log(input);
  // ffmpeg.setFfmpegPath(ffmpegPath);

  // const output = createWriteStream(getPath("temp.mp3"));
  // spawn(`ffmpeg -i ${getPath("temp.ogg")} ${getPath("temp.mp3")}`);
  ffmpeg(input)
    .setFfmpegPath(ffmpegPath)
    .toFormat("wav")
    .on("data", (data) => {})
    .on("error", (err) => {
      console.log("An error occurred: " + err);
    })
    .on("progress", (progress) => {
      // console.log(JSON.stringify(progress));
      console.log("Processing: " + progress.targetSize + " KB converted");
    })
    .on("end", () => {
      console.log("Processing finished !");
    })
    .save(getPath("temp.mp3")); //path where you want to save your file


    


  • How to decode the video stream of an mp4 file and save the decoded images to local directory in NodeJs

    8 août 2018, par Rohit Verma

    How to decode the video stream of an mp4 file and save the decoded images to local directory in NodeJs. I have tried ffmpeg and fluent ffmpeg but didn’t get clear idea how to use,As I was getting error while using fluent ffmpeg

    Code snippet :

       const ffmpeg = require('fluent-ffmpeg')
       const probe = require('ffmpeg-probe')

    const info = await probe('input.mp4')

    and in case of ffmpeg I have tried this,

    var ffmpeg = require('ffmpeg');

    try {
       var process = new ffmpeg("VID_20160805_121411556.mp4");
       process.then(function (video) {
           // Callback mode
           video.fnExtractFrameToJPG('C:/Users/PcName/Documents', {
               frame_rate : 1,
               number : 5,
               file_name : 'my_frame_%t_%s'
           }, function (error, files) {
               if (!error)
                   console.log('Frames: ' + files);
           });
       }, function (err) {
           console.log('Error: ' + err);
       });
    } catch (e) {
       console.log(e.code);
       console.log(e.msg);
    }

    Nothing is working and I didn’t get any clue how to do so.