Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (9983)

  • avformat/flacdec : Also set channels when setting channel_layout

    29 août 2021, par Andreas Rheinhardt
    avformat/flacdec : Also set channels when setting channel_layout
    

    This brings the FLAC demuxer in line with all the other demuxers.
    Furthermore, if it is not done and the FLAC decoder is disabled,
    the FLAC parser will overwrite the channel layout with the standard
    channel layout for that number of channels.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavformat/flacdec.c
  • 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.

    &#xA;

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

    &#xA;

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

    &#xA;

    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.

    &#xA;

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

    &#xA;

    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.

    &#xA;

    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.

    &#xA;

  • ffmdec : make sure the time base is valid

    8 mars 2015, par Andreas Cadhalpun
    ffmdec : make sure the time base is valid
    

    A negative time base can trigger assertions.

    Signed-off-by : Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/ffmdec.c