Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (61)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • 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 ;

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (7325)

  • "Error : more samples than frame size" while encoding audio to opus codec using FFMPEG

    28 avril 2023, par lokit khemka

    I am converting audio from codec AAC to Opus using libavcodec library of FFMPEG. The input codec details are as follows : Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 6 channels, fltp, 391 kb/s (default)

    


    The codec options that I have used for the output encoding are as follows :

    


        int OUTPUT_CHANNELS = 2;
    int OUTPUT_BIT_RATE = 32000;
int sample_rate = 48000;
    encoder_sc->audio_avcc->channels = OUTPUT_CHANNELS;
    encoder_sc->audio_avcc->channel_layout = av_get_default_channel_layout(OUTPUT_CHANNELS);
    encoder_sc->audio_avcc->sample_rate = sample_rate;
    encoder_sc->audio_avcc->sample_fmt = encoder_sc->audio_avc->sample_fmts[0];
    encoder_sc->audio_avcc->bit_rate = OUTPUT_BIT_RATE;
    encoder_sc->audio_avcc->time_base = (AVRational){1, sample_rate};


    


    I am using the code in the file as it is, with minimal changes : https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/master/3_transcoding.c for reference. Look for the function prepare_audio_encoder in the file.

    


    When the run the program, I keep getting the error : " more samples than frame size". I don't know much about Audio Processing, so I cannot debug this error. Any help is greatly appreciated.

    


  • Rendering video by ffmpeg.wasm in browser occured an error

    15 septembre 2022, par James Bor

    When a local video renderer uses the ffmpeg.wasm library in the Chrome browser, very often an error with the SBOX_FATAL_MEMORY_EXCEEDED code occurs during the rendering process. The standard command set is used. The code below is half fake because it is very long, but describes an approximate action algorithm. Computer performance and RAM capacity do not affect the video, files used - minimal size. Has anyone experienced this and how can we solve it ?
Error screen

    


    const videoGenerate = async (project) => {
  const ffmpeg = createFFmpeg({
      corePath: 'ffmpeg/ffmpeg-core.js',
      workerPath: 'ffmpeg/ffmpeg-core.worker.js'
  });
  await loadFfmpeg(ffmpeg);
  project.projectName = "Default";
  project.fileType = "video/mp4";

  const resultVideo = {
    title: `${project.projectName}ConcatenatedVideo.mp4`,
  };
  // *For fetchFile method and ffmpeg.FS('writeFile', title, file);
  await uploadObjects(project.projectName, ffmpeg);
  // *
  const command = ['-i', project.video, resultVideo.title];
  await ffmpeg.run(...command);
  await ffmpeg.FS("unlink", resultVideo.title);
  resultVideo["blob"] = ffmpeg.FS('readFile', title);
  return resultVideo.blob;
};


    


    These dependencies are used : "@ffmpeg/core" : " 0.8.5", "@ffmpeg/ffmpeg" : " 0.9.7". Upgrading the library to the latest version does not work either.

    


  • avfilter/af_afir : adjust min partition size

    5 janvier 2019, par Paul B Mahol
    avfilter/af_afir : adjust min partition size
    

    Minimal value allowed by our FFT is 16 thus min partition size is 8.

    • [DH] doc/filters.texi
    • [DH] libavfilter/af_afir.c