Recherche avancée

Médias (0)

Mot : - Tags -/gis

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

Autres articles (76)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (8627)

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

  • Separating webserver and processing server

    6 mars 2020, par John Doe

    I would like an architecture design advice.

    I have a projet composed of a public Node.JS API server (handling client HTTP browser requests)

    The purpose of my project is to convert an image to a video (I do this using ffmpeg as CLI and it can take some time)

    The business workflow should be the the following :

    1) A user sends an image URL and his email (as POST parameters) to the API

    2) The API should responds "OK 200" and send later an email containing a video of the image

    Here is my idea (and what my current program does) :

    1) The nodeJS API directly responds "OK 200" to the client

    2) The nodeJS server asynchronously downloads the image using npm axios library, then saves that image to current directory, then asynchronously launchs a heavy tool that convert
    the image to a video (can take some time), then sends an email to the client.

    In my design everything occurs on the same server (NodeJS API).
    I think this isn’t a good design at all and I should separate the Nodejs HTTP API and the heavy tasks video processing server.
    However, this separation means communicating image from a server to another one and i don’t know how to do that.

    I think there are useful services that I could use on AWS but I don’t know which one and how.

    Would it be possible to help me in the design of this application (and which cloud services could I use ?)

  • How to run python when I receive post request

    28 septembre 2021, par BigJ

    I made python code for capture the image from rtsp streaming server using ffmpeg. I want to make api that when I receive POST request include rtsp address in message, then run python file using with the rtsp address. Like running child-process.
    &#xA;I'm using loopback(typescript) for api developing.
    &#xA;Can you recommend useful library or sample code ??

    &#xA;