Recherche avancée

Médias (91)

Autres articles (111)

  • 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 (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (5727)

  • ffmpwg failed with code 1 at ChildProcess

    13 janvier 2021, par awabs

    I am trying to add a watermark over the a video in firebase storage using firebase functions and ffmpeg,
but no matter what I try it always exit the same error.

    


     return spawn('ffmpeg', ['-i', tmpFilePath, '-vf',`drawtext="text='hello World'`, tmpFilePath]);


    


    And I tried this as well :

    


            return spawn('ffmpeg', ['-i', tmpFilePath, '-i', tmpLogoPath, '-filter_complex', '"overlay=10:10"', tmpFilePath]);


    


    console log :

    


    ChildProcessError: `ffmpeg -i /tmp/anything -vf drawtext="text=&#x27;Stack Overflow&#x27; /tmp/anything` failed with code 1&#xA;at ChildProcess.<anonymous> (/workspace/node_modules/child-process-promise/lib/index.js:132:23)&#xA;at ChildProcess.emit (events.js:315:20)&#xA;at ChildProcess.EventEmitter.emit (domain.js:506:15)&#xA;at maybeClose (internal/child_process.js:1021:16)&#xA;at Socket.<anonymous> (internal/child_process.js:443:11)&#xA;at Socket.emit (events.js:315:20)&#xA;at Socket.EventEmitter.emit (domain.js:506:15)&#xA;at Pipe.<anonymous> (net.js:674:12)&#xA;at Pipe.callbackTrampoline (internal/async_hooks.js:120:14)&#xA;</anonymous></anonymous></anonymous>

    &#xA;

  • How to convert the AVPacket of ffmpeg to the webm stream with c++ code ?

    2 décembre 2020, par MichaelGD

    I am confused how to convert the ffmpeg AVPacket to a living stream in order to I can play it with HTML5.

    &#xA;

    I have already got the AVPacket of ffmpeg with avcodec_encode_video2

    &#xA;

    AVPacket pkt_;    &#xA;ret = avcodec_encode_video2(c_, &amp;pkt_, picture_, &amp;got_frame);&#xA;

    &#xA;

    And I also know how to dump the packet to webM file.

    &#xA;

    file_.write(reinterpret_cast<char>(&amp;(pkt_.size)), sizeof(int));&#xA;file_.write(reinterpret_cast<char>(&amp;timestamp), sizeof(uint64_t));&#xA;file_.write(reinterpret_cast<char>(pkt_.data), pkt_.size);&#xA;</char></char></char>

    &#xA;

    But, How can I create a stream server with the packets for front-end playing ?

    &#xA;

  • Creating App from Terminal code

    11 août 2014, par user3084141

    Good evening,
    I want to create an app that demuxes Audio from a Videofile with ffmpeg,that uses the following Terminal-code

    "ffmpeg location" -i "Source.file (Video.mp4)" -vn -ss "time" -t "sec" -acodec copy "Destination.file ("Audio.m4a")"

    I couldn’t find a ffmpeg gui for OSX that would let me do that.
    The Programm should ask for a Source file, a destination, start time and length.
    ffmpeg could be integrated or specified.

    Maybe it’s easier to Automate a Service.

    I’m sorry the I don’t have any experience on mac and automating Terminal commands.
    I have to start from 0 only a little bit visual basic experience.