Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (108)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (17609)

  • Amazon Alexa Audio Encoding- Few audios are not playing [closed]

    3 mars 2023, par Vijayanath Viswanathan

    I am encoding audio for Alexa audio using ffmpeg like below,

    



    ffmpeg -i  -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000 


    



    The problem is few of the audios are playing properly but few are not. I am using same Project Rate and Quality (Project Rate 16000 and Quality to 48 kbps) for all audios which needs to be converted. Anybody knows is there any basic quality for source.mp3 to encode to Project Rate 16000 and Quality to 48 kbps ?

    



    The response I am getting from alexa for faulty file is, "There is a problem with skill response".

    


  • How do I get videoshow (or any other js package) to merge image and sound files to the length I specify rather than a constant length of 5 seconds ?

    5 décembre 2023, par Bragon

    I’m trying to take an image file and a sound file and merge them together into an mp4 file. To this end, I use videoshow.js which is basically a wrapper for fluent-ffmpeg.js. For some reason, videoshow always sets the duration of the output file to 5 seconds regardless of what I set the loop parameter to. And to top it all off, it fades out the sound towards the end of the clip.

    


    I’m happy for any solution to this even if it doesn’t include the use of videoshow or fluent-ffmpeg.

    


    const url = require('url');
const { smartLog } = require('../services/smart-log');
const { getFile, getDuration } = require('../services/file-service');
const videoshow = require('videoshow');
const path = require('path');
const FFmpeg = require('fluent-ffmpeg');
const fs = require('fs');

const imgToMP4 = (caption, sound, image, duration, output) => {
  smartLog('info', `Converting ${image}`);
  const images = [image];

  const videoOptions = {
    fps: 10,
    loop: duration,
    transition: false,
    videoBitrate: 1024,
    videoCodec: 'libx264',
    size: '640x?',
    audioBitrate: '128k',
    audioChannels: 2,
    format: 'mp4',
    pixelFormat: 'yuv420p',
  };

  videoshow([
    {
      path: image,
    },
  ])
    .audio(sound)
    .save(output)
    .on('start', function (command) {
      smartLog('info', `ffmpeg process started: ${image}`);
    })
    .on('error', function (err) {
      smartLog('error', err);
    })
    .on('end', function (output) {
      smartLog('info', `Video created: ${output}`);
    });
};



    


  • How can I get 'libavcodec.a' ?

    2 mars 2017, par shintaroid

    I have a Xcode project. When I run it, it says

    ’libavcodec/avcodec.h’ file not found

    It seems the project uses libraries from FFmpeg. So I downloaded FFmpeg source code and tried compiling the libavcodec directory by

    $cd libavcodec
    $gcc -Wall -c *.c

    But it says (tons of) files are missing (for example libutil/samplefmt.h).

    I need a library called libavcodec.a, right ? How can I get it ?