Recherche avancée

Médias (91)

Autres articles (25)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (3889)

  • php fread returns empty after one time of execution for popen

    20 avril 2021, par Hamed

    I'm trying to get real-time output from ffmpeg command with popen, but it returns empty after one time of execution in the loop.

    


    &lt;?php&#xA;&#xA;$a = popen(&#x27;ffpb -i mymovie.mp4 -vf subtitles=subtitles.srt mysubtitledmovie.mp4 2>&amp;1&#x27;, &#x27;r&#x27;);&#xA;&#xA;&#xA;while (true) {&#xA;    $b = fread($a, 2096);&#xA;&#xA;    var_dump($b) . "<br />\n";&#xA;&#xA;    ob_flush();&#xA;    flush();&#xA;&#xA;    sleep(1);&#xA;}&#xA;

    &#xA;

    The output : :

    &#xA;

    mymovie.mp4:   0%|          | 0/61080.0 [00:00&lt;?, ? frames/s]"&#xA;string(105) "Unexpected exception: &#x27;ascii&#x27; codec can&#x27;t encode characters in position 43-47: ordinal &#xA;not in range(128)&#xA;"&#xA;string(0) ""&#xA;string(0) ""&#xA;string(0) ""&#xA;

    &#xA;

  • Revision 3011c53d36 : Fix a run-time integer overflow Change-Id : I87255d8a25ef8c7d235cbf3c8887d7bed78

    8 août 2014, par Yaowu Xu

    Changed Paths :
     Modify /vp9/vp9_cx_iface.c



    Fix a run-time integer overflow

    Change-Id : I87255d8a25ef8c7d235cbf3c8887d7bed7892cfe

  • It takes a long time to add drawtext to large videos in ffmpeg

    28 novembre 2022, par AlwaysStudent

    I wanted to add text to the video uploaded to my server. And I am using the following ffmpeg code. But for large size videos the following code works very slowly and takes a very long time. Is there any way to shorten the time, can you help me with this.

    &#xA;

    shell_exec("ffmpeg -I video.mp4 -vf \"drawtext=text=&#x27;Text Here&#x27;:fontfile=font.ttf:fontcolor=&#x27;red&#x27;:fontsize=&#x27;40&#x27;:x=w-mod(max(t-1\,0)*(w&#x2B;tw)/30\,(w&#x2B;tw)):y=main_h/2\" -acodec copy output.mp4 -preset ultrafast");&#xA;

    &#xA;