Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (23)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

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

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (3554)

  • Révision 17310 : #FORMULAIRE_TRADUIRE{objet,#ID_OBJET}

    28 février 2011, par cedric -

    permet de modifier la langue d’un objet (il remplace #FORMULAIRE_CHANGER_LANGUE) mais aussi, si la table correspondante a bien un champ id_trad, d’editer les references de traduction de l’article La prise en compte du post ’changer_lang’ est du ressort de action/editer_xxx de l’objet, qui peut (...)

  • Marketing Analytics in Banking : How to Be Effective and Compliant

    Marketing analytics is reshaping decision-making in the financial sector, with recent studies showing it influences over half of all marketing strategies. However, marketers surveyed by MarketingWeek identify data and analytics as the biggest skill gap in their department.

    Read More

  • Why FFmpeg is consuming more and more bandwith when restreaming a YouTube HLS stream ?

    3 janvier 2023, par NiHuShu

    I've been creating a bot in Python which allows to copy one YouTube livestream and stream it to another channel using the HLS protocol.

    


    This is the command I'm using in Python to start the FFmpeg process :

    


    m3u8_url = streamlink.streams(stream_url)['1080p'].url
ffmpeg_process = Popen(
    ["ffmpeg", "-i", m3u8_url, "-c", "copy","-ignore_io_errors", "1", "-f", "hls", "-http_persistent", "1", '-attempt_recovery', '1',
    '-method', 'POST', '-hls_time', '1', '-hls_playlist_type', 'event', '-g', '5', '-reconnect_at_eof', '1',
    'https://a.upload.youtube.com/http_upload_hls?cid=' + stream_key + '&copy=0&file=stream.m3u8'])


    


    I'm using streamlink to extract the 1080p m3u8 playlist of a given livestream and then using "-c", "copy"I'm just passing the raw HLS stream back to YouTube servers.

    


    The problem is that at first FFmpeg is using around 1.5 Mbps for both upload and download, but as the stream progresses the used bandwidth per second grows substantially. After 5 hours FFmpeg uses 5 Mbps of upload and about half of that in download, but it just keeps on growing. It's gotten to a point where my VPS was blocked as after a few days it was using > 1500 Mbps of bandwidth (with 10 active streams).

    


    The only thing that comes to my mind is that for some reason with every .ts segment, FFmpeg is trying to send all the previous ones as well. It might be worth mentioning that YouTube Studio is complaining that the incoming stream bandwith is too low and it should be 4.5 Mbps.

    


    I've tried changing the "-method" from PUT to POST, which helped reducing the download bandwidth, but didn't change anything in regards to upload.