Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (5)

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

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

  • 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 (2600)

  • Play ffmpeg encrypted video file in js

    16 février 2021, par moghaf

    I have encrypted a video file using ffmpeg by this command :

    


    fmpeg -i sample.mp4 -vcodec copy -acodec copy -encryption_scheme cenc-aes-ctr -encryption_key 76a6c65c5ea762046bd749a2e632ccbb -encryption_kid a7e61c373e219033c21091fa607bf3b8 sample.mp4


    


    Now I just want to play the video on a local website. Is there any way to play this encrypted video using javascript ?
Of course, there is not any streaming(HLS or anything else) approach, and playing the encrypted mp4 file in the browser is my goal.

    


    I also tried shakaplayer clearKey configuration as below but encountered the 6001 error :

    


    player.configure({
  drm: {
    clearKeys: {
      // 'key-id-in-hex': 'key-in-hex',
      'a7e61c373e219033c21091fa607bf3b8': '76a6c65c5ea762046bd749a2e632ccbb'
    }
  }
});


    


  • discord.py and ffmpeg : Play a sound effect while playing music

    26 juin 2022, par JPhusion

    I would like to play a sound effect while playing music in a vc using discord.py and ffmpeg. I know you cannot play more than one audio source at a time, so instead I am trying to pause the music, play the sound effect and continue the music.

    


    This is what I've come up with so far, but because I am playing the sound effect, the resume() method no longer works after the pause().

    


    @commands.command()
    async def sfx(self, ctx):
        try:
            voice = await ctx.author.voice.channel.connect()
        except:
            voice = ctx.guild.voice_client
        try:
            voice.pause()
            # voice.play(discord.FFmpegPCMAudio('./media/sfx/notification.mp3'))
        except:
            voice.pause()
            # voice.play(discord.FFmpegPCMAudio(executable=r"C:\Users\josh\Programming\Discord\ffmpeg\bin\ffmpeg.exe", source='./media/sfx/notification.mp3'))
        guild = self.client.get_guild(752756902525403156)
        member = guild.get_member(876292773639233596)
        print(member.activities[0].name)
        await asyncio.sleep(1)
        voice.resume()
        if member.activities[0].name == "Not playing music":
            await voice.disconnect()


    


  • play amr audio using ffmpeg in ios (amr decoder)

    6 décembre 2018, par Naveen Raj

    Im developing an iOS application. I have a stream of audio data in AMR audio format. Using ffmpeg(avcodec_decode_audio4), i converted AVPacket to decoded AVFrame. Now how to play this decoded audio data ? Thanks in advance.