Recherche avancée

Médias (91)

Autres articles (57)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (6708)

  • How do I upscale an iOS App Preview video to 1080 x 1920 ?

    30 août 2016, par Benjamin Thiel

    I just captured a video of my new app running on an iPhone 6 using QuickTime Player and a Lightning cable. Afterwards I created an App Preview project in iMovie, exported it and could successfully upload it to iTunes Connect.

    Apple requires developers to upload App Previews in different resolutions dependent on screen size, namely :

    • iPhone 5(S) : 1080 x 1920 or 640 x 1136
    • iPhone 6 : 750 x 1334 (what I have)
    • iPhone 6+ : 1080 x 1920

    Obviously, 1080 x 1920 is killing two birds with one stone. I know that upscaling isn’t the perfect solution, but it’s meeting my needs. Since I don’t own a 6+, another recording session won’t do the trick.

    Unfortunately, iTunes Connect is extremely picky about what to accept. Here’s what I tried, to no avail :

    • Handbrake, iMovie, QuickTime do not support upscaling
    • MPEG Streamclip
    • ffmpeg -i input.mp4 -acodec copy -vf scale=1080:1920 output.mp4

    Strangely enough, iTunes Connect keeps complaining about the wrong resolution when I try to upload the output.mp4 of ffmpeg.

  • My discord bot (python) isn't connecting to voice channel

    24 juin 2023, par BeanieYi

    My discord bot for some reason is not connecting to my voice channel when I type
 !play some url ... My bot is running because I've ran other tests on it. No error messages show up, so I'm lost as to why it's not working. This is the part of the code where it commands to bot to connect

    


        async def play_song(self, ctx):
        """
        Function plays music. Checks if user in voice channel
        """
        if len(self.queue) > 0:
            self.play = True
            url = self.queue[0][0]["source"]

            if self.vc is None or not self.vc.is_connected():   # If not in voice channel
                self.vc = await self.queue[0][1].connect()  # Wait until user joins channel
                if self.vc == None: # If user doesn't join channel, quit
                    await ctx.send("Could not connect D:")
                    return  
            else:
                await self.vc.move_to(self.queue[0][1]) # Moves bot to channel user is in

            self.queue.pop(0) 
            self.vc.play(discord.FfmpegPCMAudio(url, **self.ffmpeg_options), after=lambda e: self.next_song()) 
        else:
            self.play = False


    


    I added the following code below because this was the "new" method for cog, but it didn't yield any results for me. I also made sure my bot had permission on Discord to join channels and talk.

    


    async def setup(bot):
    await bot.add_cog(Event(bot))


    


  • Anomalie #4157 : Support de TLSv1.2 dans recuperer_url()

    3 juillet 2018, par cedric -

    Confirmé donc. Le patch suivant rétablit les connexions en TLSv1.1 et TLSv1.2 avec une negociation complete du bon protocole crypto :

     
    # svn diff
    Index : distant.php
    ===================================================================
    
    — - distant.php (révision 23960) +++ distant.php (copie de travail) @@ -1175,8 +1175,8 @@ $scheme = ’http’ ; $noproxy = ’’ ; elseif ($t[’scheme’] == ’https’)
    - $scheme = ’tls’ ;
    - $noproxy = ’tls ://’ ; + $scheme = ’ssl’ ; + $noproxy = ’ssl ://’ ; if (!isset($t[’port’]) || !($port = $t[’port’])) $t[’port’] = 443 ; @@ -1275,13 +1275,13 @@

    $connect = "" ;
    if ($http_proxy)
    - if (defined(’_PROXY_HTTPS_VIA_CONNECT’) and $scheme == "tls")
    + if (defined(’_PROXY_HTTPS_VIA_CONNECT’) and $scheme == "ssl")
    $path_host = (!$user ? ’’ : "$user@") . $host . (($port != 80) ? " :$port" : "") ;
    $connect = "CONNECT " . $path_host . " $vers\r\n"
    . "Host : $path_host\r\n"
    . "Proxy-Connection : Keep-Alive\r\n" ;
    else
    - $path = (($scheme == ’tls’) ? ’https://’ : "$scheme ://")
    + $path = (($scheme == ’ssl’) ? ’https://’ : "$scheme ://")
    . (!$user ? ’’ : "$user@")
    . "$host" . (($port != 80) ? " :$port" : "") . $path ;