Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (45)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6588)

  • avcodec/acelp_pitch_delay : Inline small functions only used once

    18 février 2021, par Andreas Rheinhardt
    avcodec/acelp_pitch_delay : Inline small functions only used once
    

    ff_acelp_decode_8bit_to_1st_delay3, ff_acelp_decode_4bit_to_2nd_delay3
    and ff_acelp_decode_5_6_bit_to_2nd_delay3 are all only used once (by
    g729dec) whereas ff_acelp_decode_9bit_to_1st_delay6 and
    ff_acelp_decode_6bit_to_2nd_delay6 are completely unused ; with the
    possible exception of ff_acelp_decode_4bit_to_2nd_delay3, these
    functions are so small that inlining them is appropriate ; and as long as
    ff_acelp_decode_4bit_to_2nd_delay3 is only called once, this is also
    true for it.

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

    • [DH] libavcodec/acelp_pitch_delay.c
    • [DH] libavcodec/acelp_pitch_delay.h
  • Small discord bot with a set of working music commands, about 6 days ago the play function completely stopped functioning (more below)

    24 février 2021, par TheColoradoKid

    It is a small discord python bot for my server with various features, which had included music commands until they stopped out of the blue without showing any error for the problem.&#xA;It uses FFMpeg, and youtubeDl along with pytube to gather the song and store it locally to play it, I have pip updated all of these and they are definitely on the current versions as I have made sure of this online.&#xA;Any help or insight anyone could provide would be greatly appreciated. I'm sorry if the code is convoluted in the way it's written I'm still pretty new to coding and this is one of my first proper larger projects.

    &#xA;

    If you need any information I'm happy to give what I can to help.

    &#xA;

    Here is the code for the play command :

    &#xA;

    @client.command()&#xA;async def play(ctx, *args):&#xA;    global queu&#xA;    #global autom&#xA;    if not args:&#xA;        voice = get(client.voice_clients, guild=ctx.guild)&#xA;        if not voice.is_playing():&#xA;            server = ctx.message.guild&#xA;            voice_channel = server.voice_client&#xA;            if queu:&#xA;                async with ctx.typing():&#xA;                    player = await YTDLSource.from_url(queu[0], loop=client.loop)&#xA;                    voice_channel.play(player, after=lambda e: print(&#x27;Player error: %s&#x27; % e) if e else None)&#xA;&#xA;                await ctx.send(&#x27;**Now playing:** {}&#x27;.format(player.title))&#xA;                del(queu[0])&#xA;                # while autom == True:&#xA;                #     try:&#xA;                #         a = client.get_command(&#x27;auto&#x27;)&#xA;                #         await ctx.invoke(a)&#xA;                #     except:&#xA;                #         print(&#x27;&#x27;)&#xA;            elif not queu:&#xA;                await ctx.send("You can&#x27;t play if there isn&#x27;t anything in the queue\nIf auto mode was on it has now been disabled, to use it gain please add to the queue and run ``;auto on``")&#xA;                autom = False&#xA;    if args:&#xA;        global gueu&#xA;        search_keywords = ""&#xA;        print(args)&#xA;        for word in args:&#xA;            search_keywords &#x2B;= word&#xA;            search_keywords &#x2B;= &#x27;&#x2B;&#x27;&#xA;        link = "https://www.youtube.com/results?search_query="&#xA;        link &#x2B;= search_keywords&#xA;        #print(link)&#xA;        html = urllib.request.urlopen(link)&#xA;        video_ids = re.findall(r"watch\?v=(\S{11})", html.read().decode())&#xA;        url = ("https://www.youtube.com/watch?v=" &#x2B; video_ids[0])&#xA;        #print(url)&#xA;        queu.append(url)&#xA;        #print(queu)&#xA;        await ctx.send("``{}`` added to queue!\n If the song doesn&#x27;t start please either let the current song end and run ``;play``/``;next`` again or run ``;next`` to play now".format(url))&#xA;        try:&#xA;            p = client.get_command(&#x27;play&#x27;)&#xA;            await ctx.invoke(p)&#xA;        except:&#xA;            print(&#x27;failed&#x27;)&#xA;

    &#xA;

  • avformat/smacker : Check for too small pts_inc

    17 janvier 2021, par Michael Niedermayer
    avformat/smacker : Check for too small pts_inc
    

    Fixes : negation of -2147483648 cannot be represented in type 'int' ; cast to an unsigned type to negate this value to itself
    Fixes : 26910/clusterfuzz-testcase-minimized-ffmpeg_dem_SMACKER_fuzzer-6705429132476416

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/smacker.c