Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (25)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (6695)

  • aacenc : Fix target bitrate for twoloop quantiser search

    4 mai 2013, par Claudio Freire
    aacenc : Fix target bitrate for twoloop quantiser search
    

    This fixes a case where multichannel bitrate isn’t accurately
    targetted by psy model alone, never achieving the target bitrate.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/aaccoder.c
  • Converting WebM audio to mp3 using ffmpeg and Rails

    30 avril 2021, par Garrett Bodley

    I created an online step sequencer and want to add functionality so that users can record the audio and save it as an mp3 on their local machine. I've been able to use the WebAudioAPI to record the sound generated in the browser window and send it to my Rails backend as a WebM blob. I am attempting to incorporate ffmpeg using the Streamio gem.

    &#xA;

    How do I convert that blob to mp3 ? I'm planning on making a Recording model that belongs_to :user and has_one_attached :audio. I imagine I should use a before_save callback to process the blob ? What's confusing to me is that it seems streamio creates a new copy of the file when transcoding. How do I convert the blob to mp3 in place ?

    &#xA;

    I've seen some posts where people call ffmpeg using system("ffmpeg code goes here") but I don't really understand how to grab the output so that ActiveStorage can link the resulting file to my models and whatnot.

    &#xA;

    To add complexity to all of this is that I ultimately want to host this publicly and store the audio in a Cloudinary folder, which I imagine would change the process quite a bit. As you can tell I'm a bit confused as to how best to approach this problem. Any help would be greatly appreciated !

    &#xA;

  • Extracting audio from video using fluent-ffmpeg

    12 mars, par Idi Favour

    Im trying to extract the audio from a video, an error is occuring&#xA;Error converting file : Error : ffmpeg exited with code 234 : Error opening output file ./src/videos/output-audio.mp3.&#xA;Error opening output files : Invalid argument

    &#xA;

    I use this same directory for my video compression that runs before this one and it works.

    &#xA;

    ffmpeg()&#xA;  .input(url)&#xA;  .audioChannels(0)&#xA;  .format("mp3")&#xA;  .output("./src/videos/output-audio.mp3")&#xA;  .on("error", (err) => console.error(`Error converting file: ${err}`))&#xA;  .on("end", async () => {&#xA;    console.log("audio transcripts");&#xA;   &#xA;    const stream = fs.createReadStream("./src/videos/output-audio.mp3");&#xA;    const transcription = await openai.audio.transcriptions.create({&#xA;      file: stream,&#xA;      model: "whisper-1",&#xA;      response_format: "verbose_json",&#xA;      timestamp_granularities: ["word"],&#xA;    });&#xA;    transcripts = transcription.text;&#xA;    console.log(transcription.text);&#xA;  })&#xA;  .run();&#xA;

    &#xA;