Recherche avancée

Médias (91)

Autres articles (112)

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

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

Sur d’autres sites (12562)

  • Can not add string to the video using ffmpeg base on PHP

    1er août 2017, par Thanh Dao

    I’m new in ffmpeg and I’m trying to make a demo using ffmpeg.
    Below is the PHP script

    $cmd = '"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -i C:\wamp\www\vine-project\cron/tmp/t_42953497622724.mp4 --enable-libfreetype -vf "drawtext=fontfile=C:\wamp\www\demo-ffmpeg\cron/arial.ttf:text='Stack Overflow':fontcolor='Black':fontsize=19" -codec:v libx264 -codec:a copy C:\wamp\www\demo-ffmpeg\cron/tmp/text_42953497622724.mp4';
    @exec($cmd, $output);
    echo '<pre>';
    print_r($output);
    echo '</pre>';

    And then below is the result of output :

    Array
    (
    )

    Before, I joined multi videos and add background successfully.
    Input video file is exists.
    What is my wrong ? Are something incorrect ?
    3 cups of beer for each help :D
    Sorry for my bad English

    Thanks for attention !

  • Can not add string to the video using ffmpeg base on PHP

    13 septembre 2016, par Hạ Tím

    I’m new in ffmpeg and I’m trying to make a demo using ffmpeg.
    Below is the PHP script

    $cmd = '"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -i C:\wamp\www\vine-project\cron/tmp/t_42953497622724.mp4 --enable-libfreetype -vf "drawtext=fontfile=C:\wamp\www\demo-ffmpeg\cron/arial.ttf:text='Stack Overflow':fontcolor='Black':fontsize=19" -codec:v libx264 -codec:a copy C:\wamp\www\demo-ffmpeg\cron/tmp/text_42953497622724.mp4';
    @exec($cmd, $output);
    echo '<pre>';
    print_r($output);
    echo '</pre>';

    And then below is the result of output :

    Array
    (
    )

    Before, I joined multi videos and add background successfully.
    Input video file is exists.
    What is my wrong ? Are something incorrect ?
    3 cups of beer for each help :D
    Sorry for my bad English

    Thanks for attention !

  • What command convert mjpeg IP camera streaming to mp4 file with lowest CPU usage ?

    19 mars 2019, par ChanhLM

    like above question, I want find out what ffmpeg command can help me reduce cpu usage when running 50 IP camera (running same 50 command).

    My ffmpeg command :

    ffmpeg  -f mjpeg -y -use_wallclock_as_timestamps 1 -i 'http://x.x.x.x:8090/test1?.mjpg' -r 3 -reconnect 1 -loglevel 16 -c:v mjpeg -an -qscale 10 -copyts '1.mp4'

    50 command like that take my computer (4 core) 200% CPU

    I want this computer can run for 150 camera, any advise ?

    =========================================================

    using -c:v copy can make it faster but fize size is terrible

    I try slow down frame rate by 3 with -r 3 or -framerate 3 to decrease file size but not succesful (because vcodec copy can’t do that).

    Have any option to force input frame rate by 3 ?

    (sorry for my bad English)