Advanced search

Medias (91)

Other articles (8)

  • Ajouter notes et légendes aux images

    7 February 2011, by

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

  • Supporting all media types

    13 April 2011, by

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats: images: png, gif, jpg, bmp and more audio: MP3, Ogg, Wav and more video: AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data: OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Les formats acceptés

    28 January 2010, by

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

On other websites (1741)

  • Getting ffmpeg to work on a nodejs server: Error: ffmpeg exited with code 1: Output #0, wav, to 'output.wav'

    14 May 2023, by Djaenike

    I need to convert an m4a buffer stream to a wav buffer stream. I'm trying to accomplish this through ffmpeg-static and fluent-ffmpeg on a nodejs backend. I'm using multer to process the buffer stream coming from the client, then pass it through a convertM4AToWAV, which

    


    Here is the code I'm using to establish ffmpeg and convert the buffer stream.

    


    const ffmpeg = require('fluent-ffmpeg');
const ffmpegStatic = require('ffmpeg-static');
ffmpeg.setFfmpegPath(ffmpegStatic);

...more code here for the api route...

const convertM4AToWAV = async (m4aBuffer) => {
  console.log(`buffer in: ${m4aBuffer}`);
  try {
    const wavBuffer = await ffmpeg(m4aBuffer)
      .toFormat('wav')
      .on('start', (command) => console.log('FFmpeg command:', command))
      .on('end', () => {
        console.log('Conversion complete.');
      })
      .save('output.wav');
    return wavBuffer;
  } catch (error) {
    console.error('Error converting audio buffer stream to wav:', error);
    throw error;
  }
};


    


    And here is the error message I'm seeing:

    


    //I can see the buffer come in
buffer in: ↑ftyp3gp4isom3gp4☺mdat????????.....
//I can see the command
FFmpeg command: ffmpeg -y -f wav output.wav
//Error message thrown
Error transcribing audio: Error: 13 INTERNAL: Request message serialization failure: invalid encoding
    at callErrorFromStatus
...file directory jibberish...
code: 13,
  details: 'Request message serialization failure: invalid encoding',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} },
  note: 'Exception occurred in retry method that was not classified as transient'
}
error - uncaughtException: Error: ffmpeg exited with code 1: Output #0, wav, to 'output.wav':
Output file #0 does not contain any stream


    


    Any thoughts why this error is thrown? My gut is telling me it's because I haven't configured ffmpeg correctly on the server.

    


  • imagemagick pipe to ffmpeg

    16 July 2024, by user26389289

    I'm trying to write a batch file for a friend to make timelapse videos. I'm using avisynth, but she's even more clueless than I, so I tried to do most of the work with ffmpeg.
What I'd like to do is to pipe imagemagick output (a filtered sequence of jpeg images) to ffmpeg and create a video.
I've thrown out everything out of the batch file, and more or less here i am:

    


    magick jpg:- d:\54tldir\src\*.jpg | ffmpeg.exe -f image2pipe -i pipe: -c:v libx264 02video.mp4


    


    I'm sure I've missed 1 or a few or many things.
all help would be appreciated - on my level (very low).

    


  • ffmpeg-how to add text to video without encoding [on hold]

    27 December 2013, by user3139491

    I want to add text to video without encoding.how to do this.
    I create this code

    ffmpeg -i file.mov -vf drawtext="fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf:text='Text to write':fontsize=20:fontcolor=black:x=100:y=100" final.mov

    this code word well but the cpu hit the peak.
    so only want to do this without encoding.
    is -vcodec copy map can be used????