Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (53)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (5875)

  • FFMPEG filter instances names don't work with "sendcmd" ?

    13 septembre 2023, par VladStepu2001

    I have two drawbox filter instances that I need to animate separately.
    
I've used sendcmd for the one instance already, and it worked fine.

    


    But when I've added the second one, I gave a name to both of them like this :

    


    drawbox@one=0:0:iw:ih:red:fill,drawbox@two=0:0:iw:ih:black:fill


    


    Then, I've tried to use sendcmd like this :

    


    drawbox@one=0:0:iw:ih:red:fill,drawbox@two=0:0:iw:ih:black:fill,
sendcmd=c='0.0-5.0 [expr] drawbox@one w W*(T/5)
           0.0-5.0 [expr] drawbox@two h H*(T/5)'


    


    But that didn't work, the rectangles stayed still.

    


    What I am doing wrong ?

    


  • avcodec/mpegvideo : Change mpeg2 unquant to work with higher precission qscale

    17 septembre 2015, par Michael Niedermayer
    avcodec/mpegvideo : Change mpeg2 unquant to work with higher precission qscale
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/mpegvideo_init_mips.c
    • [DH] libavcodec/mpegvideo.c
    • [DH] libavcodec/x86/mpegvideo.c
  • electron app fluent-ffmpeg " Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"

    27 juillet 2020, par Martin

    I am trying to run an ffmpeg command in my electron app. I have created the function ffmpegTest() based off instructions for setting up ffmpeg here :

    &#xA;

    https://alexandercleasby.dev/blog/use-ffmpeg-electron

    &#xA;

    and the example query for ffmpeg-fluent here :

    &#xA;

    https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/examples/image2video.js

    &#xA;

    function ffmpegTest(){&#xA;    console.log(&#x27;ffmpeg-test&#x27;)&#xA;    //require the ffmpeg package so we can use ffmpeg using JS&#xA;    const ffmpeg = require(&#x27;fluent-ffmpeg&#x27;);&#xA;    //Get the paths to the packaged versions of the binaries we want to use&#xA;    const ffmpegPath = require(&#x27;ffmpeg-static&#x27;).replace(&#xA;        &#x27;app.asar&#x27;,&#xA;        &#x27;app.asar.unpacked&#x27;&#xA;    );&#xA;    const ffprobePath = require(&#x27;ffprobe-static&#x27;).path.replace(&#xA;        &#x27;app.asar&#x27;,&#xA;        &#x27;app.asar.unpacked&#x27;&#xA;    );&#xA;    //tell the ffmpeg package where it can find the needed binaries.&#xA;    ffmpeg.setFfmpegPath(ffmpegPath);&#xA;    ffmpeg.setFfprobePath(ffprobePath);&#xA;    &#xA;    var imgPath = "C:\\Users\\marti\\Documents\\martinradio\\uploads\\israel song festival 1979\\front.jpg"&#xA;    var outputPath = "C:\\Users\\marti\\Documents\\martinradio\\uploads\\israel song festival 1979\\output.m4v"&#xA;&#xA;    // make sure you set the correct path to your video file&#xA;    var proc = ffmpeg(imgPath)&#xA;    // loop for 5 seconds&#xA;    .loop(5)&#xA;    // using 25 fps&#xA;    .fps(25)&#xA;    // setup event handlers&#xA;    .on(&#x27;end&#x27;, function() {&#xA;    console.log(&#x27;file has been converted succesfully&#x27;);&#xA;    })&#xA;    .on(&#x27;error&#x27;, function(err) {&#xA;    console.log(&#x27;an error happened: &#x27; &#x2B; err.message);&#xA;    })&#xA;    // save to file&#xA;    .save(outputPath);&#xA;&#xA;    console.log("end of ffmpeg-test")&#xA;}&#xA;

    &#xA;

    it is trying to convert an image to a video, my filepaths are accurate, but when I run this function, I get this output in console :

    &#xA;

    ffmpeg-test&#xA;index.js:137 end of ffmpeg-test&#xA;index.js:132 an error happened: ffmpeg exited with code 1: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;Conversion failed!&#xA;

    &#xA;

    After the error prints out, I can see my output.m4v file inside my output folder, but it is 0KB in size and wont open. Is there some way I can specify my bit_rate / rate / width / height in my fluent-ffmpeg command so I can run this simple ffmpeg command ?

    &#xA;

    thanks

    &#xA;