Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (63)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (8861)

  • How to change python runtime in firebase functions

    1er août 2023, par MrBom

    I currently have python311, but it seems that it doesnt include ffmpeg. So I'm looking for ways to either change to python39 or figure out how to install and use ffmpeg.

    


    When I try

    


    import subprocess
print(subprocess.run(shlex.split("ffmpeg -version")))


    


    inside a firebase function, all I get is FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
I've tried a few different places like /opt/bin/ffmpeg or ffmpeg/ffmpeg since I have have ffmpeg inside the folder functions, but it always the same error.

    


    Recommendation to use python39 for ffmpeg

    


    Edit : Things I found but couldnt get it to work :

    


    gcloud functions deploy <my function="function"> --runtime python39</my>

    &#xA;

    Made this from gcloud

    &#xA;

  • Anomalie #4692 : Utilisation de memoization en remplacement de xcache si disponible pour retrouver...

    9 mars 2021, par cedric -

    Oui et non : quand on a un filesystem qui est en de type NFS sur les mutus ou "cloud" le gain commence à être très marginal, et par ailleurs filecache créé un nombre fini de slots pour ne pas avoir à gérer la purge, et si on l’utilise a tort et à travers pour des broutilles on va donc écraser les slots des cache SPIP qui sont très couteux à calculer par des cache de résultat de fonction (qui sont bien moins couteux) et au final on y perdra largement.

    La fonction cache_me() de memoization ne fait pas le distinguo de savoir quelle méthode de cache est dispo, si c’est un cache mémoire rapide et "infini" ou un cache disque lent à utiliser avec parcimonie (et idéalement c’est pas elle qui doit le faire, mais chaque méthode qui devrait elle même déclarer dans quelle catégorie elle se place)

  • FFMPEG re-broadcast/proxy MJPEG stream

    10 septembre 2022, par Ollie Pugh

    I have an MJPEG stream coming from an RPI on my home network and have an NGINX acting as a proxy on an EC2.

    &#xA;

    For the camera access the flow of stream to the user is the following

    &#xA;

    RPi -> mjpeg-proxy (running on EC2) -> NGINX (running on same EC2) -> user

    &#xA;

    the point of mjpeg-proxy is to reduce the load on the RPi and only have one stream to the Pi and allow the EC2 to distribute that one stream.

    &#xA;

    Now this work fine-ish from my PC (on same network as Pi) the streams work perfectly. But when it comes to my phone on roaming data, the stream is super choppy and the latency grows massively (this project needs minimal latency, like sub 300ms).

    &#xA;

    I can't understand why this would happen ? Because even when running of my local PC its going through the Proxy hosted in the cloud, so its not as if its an advantage to it being local ?

    &#xA;

    the stream is fine on another device, e.g. my laptop, but thats on the same network as the RPi. But like I said, it shouldn't makea difference as its going through a proxy !

    &#xA;

    I was wondering if using FFMPEG to re-stream the mjpeg stream would be beneficial as node is notoriously slow. But I don't really want to be writing my own mjpeg-proxy in C++ to speed this all up.

    &#xA;

    I have looked online for answers to FFMPEG MJPEG proxy and have been very unsuccesful

    &#xA;