Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (50)

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

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

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (5820)

  • How to load test FFMPEG streams to NGINX RTMP server without Server error : Already publishing ?

    23 novembre 2022, par Nav

    My objective is to have an EC2 server running NGINX with RTMP module, and another EC2 server running multiple FFMPEG processes in the background, which stream a video to the first EC2 server. The video is stored on the second EC2 server. The idea is to measure the amount of CPU and RAM consumed and to see if the streaming fails at any point due to the server being overloaded. This would help identify the load a server can support, and help decide how many servers are required when handling n number of simultaneous users.

    


    This is the script I tried using :

    


    #!/usr/bin/env bash&#xA;for i in {1..10}; do&#xA;    ffmpeg -nostdin -re -i myVideo.mp4 -c:v copy -c:a aac -ar 44100 -ac 1 -f flv rtmp://<first server="server" ipv4="ipv4" address="address">/mystream &amp;&#xA;done;&#xA;</first>

    &#xA;

    When running the script, I get this error :

    &#xA;

    Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;[rtmp @ 0x55a0c3a4bc0] Server error: Already publishing&#xA;rtmp://<ip address="address">/mystream: Operation not permitted&#xA;[rtmp @ 0x55d9d5bc0c0] Server error: Already publishing&#xA;rtmp://<ip address="address">/mystream: Operation not permitted&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Stream mapping:&#xA;[rtmp @ 0x55779e9bc0] [rtmp @ 0x55dd17e1bc0] Server error: Already publishing&#xA;Server error: Already publishing&#xA;rtmp://<ip address="address">/mystream: Operation not permitted&#xA;rtmp://<ip address="address">/mystream: Operation not permitted&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;[rtmp @ 0x55c06b6dbc0] Server error: Already publishing&#xA;rtmp://<ip address="address">/mystream: Operation not permitted&#xA;[rtmp @ 0x56210db9bc0] Server error: Already publishing&#xA;rtmp://<ip address="address">/mystream: Operation not permitted&#xA;</ip></ip></ip></ip></ip></ip>

    &#xA;

    Should I use different ports for each FFMPEG streaming command ? So I'd have to enable a range of ports on the EC2 instance and specify a different port in the URL of the FFMPEG RTMP command and also allow multiple ports in NGINX-RTMP config ? Does anyone know a good way to do load testing for RTMP without errors ? How would I know if the server is unable to handle the load ? Would packets start dropping ? How would it be measured ? It's not necessary to use FFMPEG. Anything is fine, but tools like Apache Bench don't seem to be for RTMP.

    &#xA;

  • Anomalie #3386 : Spip derrière Varnish : port non-standard dans l’URL ?

    26 octobre 2016, par Yohann Prigent

    Ne faut-il pas utiliser la fonction getallheaders() pour récupérer ces entêtes, même en cas d’un Reverse Proxy Apache ?

  • Install FFMPEG on WAMP

    15 septembre 2023, par nico55555

    I've probably spent over 12 hours trying to install FFMPEG on WAMP. I'm aware that other people have had this question answered on this site, however it does not work for my setup.

    &#xA;&#xA;

    I have tried the below :

    &#xA;&#xA;

    Download ffmpeg_new&#xA;Copy php_ffmpeg.dll from the php5 folder to the C:\wamp\bin\php\php5.2.9-2\ext&#xA;Copy files from common to the windows/system32 folder&#xA;Add extension=php_ffmpeg.dll to php.ini file&#xA;Restarted all services (Apache, PHP...)&#xA;

    &#xA;&#xA;

    My current setup is PHP 5.2.1, Apache 2.0.63. I have a Windows 7 64bit computer.

    &#xA;&#xA;

    I get the following error in my PHP error log :

    &#xA;&#xA;

    [22-Jun-2012 01:39:31] PHP Warning : PHP Startup : Unable to load dynamic library 'c :/wamp/bin/php/php5.2.1/ext/php_ffmpeg.dll' - The specified module could not be found.&#xA; in Unknown on line 0

    &#xA;&#xA;

    Obviously I have placed the module in the ext folder.

    &#xA;&#xA;

    Phpinfo.php verifies that the FFMPEG module is not being loaded. I have tried installing PHP 5.3 (with a later FFMPEG version), 5.2.6 and 5.2.9-2, but the module still fails to load. Is there anything else I should try ? Does having a 64bit Windows 7 computer make any difference ?

    &#xA;