Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (55)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (7787)

  • log : Support for 256color terminals

    26 avril 2013, par Luca Barbato
    log : Support for 256color terminals
    

    And provide extended coloring capabilities for debugging.
    The default colors do not change in 256 more to keep
    supporting people using Black on White, White on Black and
    Solarized terminals.

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DH] doc/APIchanges
    • [DH] libavutil/log.c
    • [DH] libavutil/log.h
    • [DH] libavutil/version.h
  • Audio Downloader from YouTube with youtube-dl and ffmpeg [closed]

    22 janvier 2021, par Um9vdAo

    I am trying to make an audio downloader with youtube-dl and ffmpeg which will :

    &#xA;

    &#xA;
      &#xA;
    1. Download the best format of audio available on YouTube
    2. &#xA;

    3. Embed thumbnail in the file.
    4. &#xA;

    5. Convert the file to mp3.
    6. &#xA;

    7. Delete everything from the folder except the converted mp3 file.
    8. &#xA;

    &#xA;

    &#xA;

    Below is the code I've come up with :

    &#xA;

    @echo off&#xA;cls&#xA;set /p playlist="Enter YouTube Link: " &#xA;youtube-dl --cookies cookies.txt -f bestaudio[ext=m4a] -i --write-thumbnail --embed-thumbnail --max-sleep-interval 30 --min-sleep-interval 10 -o "%%(title)s.%%(ext)s" %playlist% --exec "ffmpeg -i {} -codec:a libmp3lame -qscale:a 0 {}.mp3 &amp;&amp; del {}"&#xA;

    &#xA;

    The issues I've been facing with my code :

    &#xA;

      &#xA;
    1. The converted file is not renamed correctly. It's named Filename.m4a.mp3 where I want it to be named Filename.mp3
    2. &#xA;

    3. Video thumbnail is saved as Filename.jpg and youtube-dl creates a file named cookies.txt. Those are not deleted automatically.
    4. &#xA;

    5. Lastly, this error shows up : ffmpeg error
    6. &#xA;

    &#xA;

    &#xA;

    [swscaler @ 00000143e0a4ffc0] deprecated pixel format used, make sure you did set range correctly&#xA;[mp3 @ 00000143e09f0340] Frame rate very high for a muxer not efficiently supporting it.&#xA;Please consider specifying a lower framerate, a different muxer or -vsync 2

    &#xA;

    &#xA;

    I'd really appreciate it if you helped me fix those issues. Thanks !

    &#xA;

  • How do I use ffmpeg in my renderer process in electron ?

    16 juillet 2023, par Infinibyte

    I'm trying to use ffmpeg in my renderer process in my electron app. I expose the modules in my preload.js file like this :

    &#xA;

    const { contextBridge, ipcRenderer } = require(&#x27;electron&#x27;);&#xA;const ffmpegStatic = require(&#x27;ffmpeg-static&#x27;);&#xA;const ffmpeg = require(&#x27;fluent-ffmpeg&#x27;);&#xA;// make ffmpeg available as a function in the renderer process&#xA;contextBridge.exposeInMainWorld(&#x27;ffmpeg&#x27;, () => ffmpeg(ffmpegStatic.path));&#xA;

    &#xA;

    And I try to acces it in my renderer.js file like this :

    &#xA;

    video.addEventListener(&#x27;change&#x27;, (event) => {&#xA;    const file = event.target.files[0];&#xA;    const filePath = file.path;&#xA;    const fileName = file.name;&#xA;    const fileExt = fileName.split(&#x27;.&#x27;).pop();&#xA;    const newFileName = fileName.replace(fileExt, &#x27;mp4&#x27;);&#xA;    const newFilePath = filePath.replace(fileName, newFileName);&#xA;&#xA;    // Run FFmpeg&#xA;    ffmpeg()&#xA;&#xA;        // Input file&#xA;        .input(filePath)&#xA;&#xA;        // Audio bit rate&#xA;        .outputOptions(&#x27;-ab&#x27;, &#x27;192k&#x27;)&#xA;&#xA;        // Output file&#xA;        .saveToFile(newFilePath)&#xA;&#xA;        // Log the percentage of work completed&#xA;        .on(&#x27;progress&#x27;, (progress) => {&#xA;            if (progress.percent) {&#xA;                console.log(`Processing: ${Math.floor(progress.percent)}% done`);&#xA;            }&#xA;        })&#xA;&#xA;        // The callback that is run when FFmpeg is finished&#xA;        .on(&#x27;end&#x27;, () => {&#xA;            console.log(&#x27;FFmpeg has finished.&#x27;);&#xA;        })&#xA;&#xA;        // The callback that is run when FFmpeg encountered an error&#xA;        .on(&#x27;error&#x27;, (error) => {&#xA;            console.error(error);&#xA;        });&#xA;});&#xA;

    &#xA;

    But then I get following error in the console : Uncaught TypeError : ffmpeg(...).input is not a function at HTMLInputElement.&#xA;I really don't know how to fix this, can anyone help me ?

    &#xA;

    I tried writing it differently and defining ffmpeg in my rendere.js but nothing worked...

    &#xA;