Recherche avancée

Médias (91)

Autres articles (109)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (11558)

  • why I can't compile x264 or ffmpeg downloaded from git

    4 avril 2013, par Monjura Rumi

    It has been just a few days that I am using x264, ffmpeg and trying to take help from codes in git. I am always having some peculiar problem. It seems like no one or few people faced such problems. Here is one of those problems. If I download x264 or ffmpeg using git then I could not compile that source code. At first terminal will show ./configure: Permission denied. Then If I change permission of configure file using chmod 755 command then it will show ./configure: /bin/bash^M: bad interpreter: No such file or directory. To build x264 and ffmpeg I have followed this link https://github.com/lince/libffmpeg-c/wiki. My attempt to compile x264 has failed. Can you please tell me how can one use source code downloaded from git ?

  • #/bin/sh in one line

    27 juillet 2012, par GoodGuyGreg

    I'm working on some Haskell project using FFmpeg. I need to batch create from a media folder with MP4 files and create screenshots from all of them. I got the code and am using it on a terminal in Unix. It works, but how do I make it in one line to be executed in system "xxxx" in Haskell ?

    If not using several system"xx"...

    #/bin/sh
    for i in $(ls *.mp4)
    do
       ffmpeg -i $i -vframes 7 -y -ss 10 -s 150x150 -an -sameq -f image2 -r 1/5  $i%1d.jpg
    done

    I tried :

    import System.Cmd
    function = do{system "#/bin/sh";
    system "for i in $(ls *.mp4)";
    system "do";
    system "ffmpeg -i $i -vframes 7 -y -ss 10 -s 150x150 -an -sameq -f image2 -r 1/5  $i%1d.jpg";
    system "done";}

    but it gives a error :

    -vframes: No such file or directory
    /bin/sh: Syntax error: "done" unexpected
  • How can i get constant output bitrate for fluent-Ffmpeg conversion of m3u8 video stream to audio stream

    24 octobre 2019, par Rushikesh Phalke

    I am using fluent-FFmpeg to convert m3u8 video stream to audio stream. the audio stream I am getting as output has a variable bitrate. How can I achieve getting constant bitrate instead of a variable bitrate ?

    I have tried providing

    .addOption(’-b:a 48k’)

    .addOption(’-bufsize 48k’)

    to keep constant bitrate of 48kbps. But that didn’t work.

    Here is the code sample :

    const ffmpeg = require('fluent-ffmpeg');
    const { Transform } = require('stream');

    let dest = new Transform({
       transform: (chunk, enc, next) => {
           //chunk duration
           next(null, chunk);
       }
    }).on('data', () => {});


    let m3u8_url = 'https://fuel-streaming-prod01.fuelmedia.io/v1/sem/40f15d3b-689f-48a5-9c61-a4f9583ed619.m3u8';

    let command = ffmpeg()
       .format('flac') // required for working with streams
       .on('start', function() {
           console.log('ffmpeg : processing Started');
       })
       .on('progress', (progress) => {
           console.log('ffmpeg : Processing');
       })
       .on('end', () => {
           console.log('ffmpeg : Processing finished !');
       })
       .on('error', (err) => {
           console.log('ffmpeg : ffmpeg error :' + err.message);
       })
       //.addOption('-b:a 48k')
       //.addOption('-bufsize 48k')
       .output(dest) //transform stream
       .audioBitrate('48k')
       .audioCodec('flac') // needed for getting proper metadata

    command.run();