Recherche avancée

Médias (91)

Autres articles (36)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (3753)

  • discord.py - Playing the same audio stream in several voice channels

    13 juillet 2020, par Cyxo

    I made a Discord bot using the discord.py library which aims at playing a web radio in several voice channels. Basically it's the same audio stream for every channel.

    


    What I'm doing right now is :

    


    voice_channel.play(discord.FFmpegPCMAudio(stream_url))


    


    However every FFmpegPCMAudio uses about 10% of my CPU and there's one for each vc so eventually my bot crashed a lot when playing in 10 channels (which isn't a lot).

    


    Since it's the same stream, I tried the following :

    


    player = FFmpegPCMAudio(stream_url)
for voice_channel in vcs:
    voice_channel.play(player)


    


    But the sound was stuttering a lot (maybe it was playing the sound a bit to each sequentially like the way threading works)

    


    Can you think of any other way I could reduce the load on the CPU since it is the same audio stream playing ? Either a discord.py trick or a FFmpeg trick maybe, like manually running one FFmpeg and using it for each channel ?

    


  • RTSP to RTMP using FFMPEG on Raspberry Pi to YouTube Livestream ends prematurely (and sometimes doesn't start)

    12 mars 2021, par user203875

    I have been running a program from my raspberry pi 4 that converts a RTSP network camera feed to RTMP for YouTube. The stream used to run non-stop every day. I didn't have to do anything. I have a program in place that would restart if the feed died.

    


    Nothing has changed with that program in 2 years. About a month ago, the feed stopped working. I just started into trying to figure out why. Maybe someone has some ideas on what is going on ?

    


    In order for me to start the feed, I must also start a studio.youtube.com browser session showing the feed information. If that web page is up and running, the live stream will start. While I can't say for certain that it NEVER starts without this session running, it seems that way.

    


    Usually the stream lasts for an hour or two. Rarely more than four hours.

    


    When I start up a studio.youtube.com session after the stream dies the "Dimiss" or "Edit in Studio" message is on the page. I have to hit "dismiss" before I can start up the stream again.

    


    Is there a solution to this ?

    


    Again, my program didn't change, so I'm at a loss for what I can do to fix this.

    


  • Encoding alac with more than two channels is not supported.

    21 mai 2011, par Carl Eugen Hoyos

    Encoding alac with more than two channels is not supported.