Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (104)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

Sur d’autres sites (13028)

  • Revision 80451 : Faire fonctionner correctement sur les points de Gis Vider le cache au ...

    4 février 2014, par kent1@… — Log

    Faire fonctionner correctement sur les points de Gis
    Vider le cache au traitement du formulaire de conf
    Indentation
    Incrément de version

  • Revision 80451 : Faire fonctionner correctement sur les points de Gis Vider le cache au ...

    4 février 2014, par kent1@… — Log

    Faire fonctionner correctement sur les points de Gis
    Vider le cache au traitement du formulaire de conf
    Indentation
    Incrément de version

  • Enable cache on ffmpeg to record streaming

    13 mars 2020, par james

    now I’m using steamlink and ffmpeg to record streams and save them to a file, many times the video file saved have so much lag. I found this link https://www.reddit.com/r/Twitch/comments/62601b/laggy_stream_on_streamlinklivestreamer_but_not_on/
    where they claim that the lag problem occurs from the fact of not having the cache enabled on the player.
    I tried putting options -hls_allow_cache allowcache -segment_list_flags cache with the result that the ffmpeg process starts for 8seconds more or less, after which it ends and starts again immediately afterwards without returning a video file,if I don’t put those two options the video is recorded correctly but most of the time with some lag.

    Obviously if I visit streaming from the browser I have no lag problem

    this is the code

    from streamlink import Streamlink, NoPluginError, PluginError
    streamlink = Streamlink()
    #this code is just a snippet, it is inside a while loop to restart the process
    try:
       streams = streamlink.streams(m3u8_url)
       stream_url = streams['best'].url
       #note hls options not seem to work
       ffmpeg_process = Popen(
           ["ffmpeg", "-hide_banner", "-loglevel", "panic", "-y","-hls_allow_cache", "allowcache", "-segment_list_flags", "cache","-i", stream_url, "-fs", "10M", "-c", "copy",
           "-bsf:a", "aac_adtstoasc", fileName])

       ffmpeg_process.wait()

    except NoPluginError:
       print("noplugin")

    except PluginError:
       print("plugin")

    except Exception as e:
       print(e)

    what are the best options to enable the cache and limit the lag as much as possible ?