Recherche avancée

Médias (0)

Mot : - Tags -/xml-rpc

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

Autres articles (76)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (13891)

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

  • AForge FFMPEG library could not load exception

    11 novembre 2014, par Asanga Ranasinghe

    I am trying to use the video writer function in Aforge library. It gives the following exception. I tried changing the build target, but it also didn’t worked out. How to solve this problem ?

    Could not load file or assembly ’AForge.Video.FFMPEG, Version=2.2.5.0,
    Culture=neutral, PublicKeyToken=03563089b1be05dd’ or one of its
    dependencies. An attempt was made to load a program with an incorrect
    format

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