Recherche avancée

Médias (91)

Autres articles (67)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (6219)

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

    


    I have already got the AVPacket of ffmpeg with avcodec_encode_video2

    


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


    


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

    


    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;

  • 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,&#xA;but no matter what I try it always exit the same error.

    &#xA;

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

    &#xA;

    And I tried this as well :

    &#xA;

            return spawn(&#x27;ffmpeg&#x27;, [&#x27;-i&#x27;, tmpFilePath, &#x27;-i&#x27;, tmpLogoPath, &#x27;-filter_complex&#x27;, &#x27;"overlay=10:10"&#x27;, tmpFilePath]);&#xA;

    &#xA;

    console log :

    &#xA;

    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;

  • Make .png and .gif to mp4 video using java code [closed]

    17 février 2020, par Rahul Kumar

    I have tried to make mp4 video using ffmpeg commond
    with 2 .png image and one gif image to mp4 video

    Sequence of the video will be
    aa1.png -> bb1.gif ->cc1.png = output.mp4

    I have tried this code

    Process sysprocess = Runtime.getRuntime().exec(ffmpegPath+" -y -framerate 1 -start_number 1 -i  "+splitFileGif+"\\img9.png  -i "+splitFileGif+"\\"+animationImageFile.getOriginalFilename()+" -i "+splitFileGif+"\\main.mp3 -vf scale=720:756 -c:v libx264 -r 30 -pix_fmt yuv420p "+videoFilePath);