
Recherche avancée
Autres articles (55)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP 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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP 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 (10258)
-
Play ffmpeg encrypted video file in js
16 février 2021, par moghafI 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 JPhusionI 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 RajIm 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.