Recherche avancée

Médias (91)

Autres articles (19)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (4101)

  • how to stop discord bot spam for Voice Channel ?

    6 décembre 2020, par elmehdi haytom

    how can i make my discord bot doesn't work for a voice channel after he did 1 time i write this code but he append the same id and it doesn t stop

    


                spam = 0
            with open("servers/"+str(ctx.message.guild.name)+"/spam.txt","r") as f :
                for line in f.readlines():
                    if line == str(ctx.author.voice.channel.id):
                        spam=1
                    else:pass
                f.close
                if spam == 1:
                    await ctx.send("{} you can t use tho bot right now wait a moment")
                    return
                elif spam == 0:
                    ####some code here 
                    with open("servers/"+str(ctx.message.guild.name)+"/spam.txt","a") as f :
                        f.write(str(ctx.author.voice.channel.id)+"\n")


    


  • stop ffmpeg gently (to allow it to finish writing mp4 file) when streaming from udp

    19 septembre 2023, par ierdna

    i'm trying to receive a udp stream on a server and write it to an mp4 file. this works fine :

    



      ffmpeg -i udp://127.0.0.1:12345 -codec copy out.mp4


    



    if i press CTRL+C (or send SIGINT to the process) the ffmpeg quits and i have a working mp4 file.

    



    however, if the data stops coming in on the udp port (e.g. after 10 minutes of streaming) and i try to stop ffmpeg it requires 2 interrupt signals at which point ffmpeg exits abruptly and results in an unplayable mp4 file.

    



    does anyone know how to prevent ffmpeg from hanging when there's no input data or to force it to write out the mp4 header ?

    



    i know i can specify a url option

    



     udp://127.0.0.1:12345?timeout=<microseconds>&#xA;</microseconds>

    &#xA;&#xA;

    however, i need to be able to ignore occasional (5-10 minute long) pauses during the process of recording and only quit at the end. &#xA;so even if i set timeout=60000000 it will cause my app to wait for 10 minutes when i want to stop the stream (e.g. if there's no data) and i need it to quit immediately when i send a SIGINT to it

    &#xA;

  • ffmpeg how to mix 2 RTP streams that individually start and stop randomly ?

    13 novembre 2020, par JMain

    I want to do this :

    &#xA;

    ffmpeg listens to 2 incoming rtp streams, and continuously send those mixed together to a single outgoing rtp stream

    &#xA;

    However, the 2 incoming streams are going to be starting and stopping randomly and independently of each other, as they have audio. They don't send audio silence, they stop sending when there is silence and then they start sending again when there is audio. ffmpeg seems to error on this situation.

    &#xA;

    I have this :&#xA;ffmpeg -i rtp ://0.0.0.0:11000 -i rtp ://0.0.0.0:12000 -filter_complex amix -f rtp rtp ://10.10.10.10:13000

    &#xA;

    This is what happens with ffmpeg :&#xA;It wait for the audio to start, and then it sends to the output. But, when the input stop sending, I get this error :&#xA;rtp ://0.0.0.0:11000 Unknown error&#xA;rtp ://0.0.0.0:12000 Unknown error

    &#xA;

    and it crashes.

    &#xA;

    How can I keep it active even when one or the other input isn't sending, and how can I prevent it from crashing ?

    &#xA;

    If ffmpeg outputs silence all the time when it doesn't receive anything, that would be acceptable too.

    &#xA;