Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (28)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (5247)

  • How to decrypt AES 128 encrypted HLS stream when URI for key is "k/timestamp"

    25 janvier 2021, par Wilfred Almeida

    I have downloaded 1784 .ts files and they are AES 128 encrypted.

    


    The .m3u8 file has #EXT-X-KEY:METHOD=AES-128,URI="k/timestamp",IV=0x496daa1c6914000e408c65cead91fc29 which I guess indicates that the key must be in a file named timestamp. I got the "timestamp" file and now I want to decrypt.

    


    I tried replacing the URI with URI="file:timestamp" with all the .ts, the .m3u8 and the timestamp file all in same directory and ran the ffmpeg command

    


    ffmpeg -allowed_extensions ALL -protocol_whitelist file,tcp,crypto,http,https  -i playlist.m3u8 -c copy op.mp4

    


    but got the errors Error when loading first segment 'hls_350k_000.ts'                                  playlist.m3u8: Invalid data found when processing input even though it opened the file successfully.

    


    I tried specifying the URI as URI="http://localhost/mydir/timestamp" but got the same error as specified above. I had all .ts,.m3u8,"timestamp" file in XAMPP's htdocs folder.

    


    When I open the "timestamp" file in browser's inspect->Network->Click on file->preview, I see weird text like kf¯2“.ú¸“Á•ª   Bn5ydr/x$.9+cgKC!<ßû¢ÌNñ®jûŸŸ and it changes everytime I refresh the site.

    


    I specified the link of the file in URI and tried, same error.

    


    I tried specifying .key extension to the "timestamp" file, same error.

    


    I downloaded the "timestamp" file by entering its URL into browser which I got from inspect->Network->Click on file->Headers, I didn't download it as HAR or other stuff.

    


    I tried playing the .m3u8 file in chrome using chrome by using Native HLS Playback extension with files hosted using XAMPP but it doesn't play, video player shows loading and the chrome's console has following errors

    


    (anonymous) @ player.js:57
player.js:11 trying to recover from media Error ...
handleMediaError @ player.js:11
hls.0.12.4.min.js:1 Uncaught (in promise) DOMException: The play() request was interrupted by a new load request.
player.js:57 Player error: mediaError - fragParsingError
(anonymous) @ player.js:57
player.js:17 trying to swap Audio Codec and recover from media Error ...
handleMediaError @ player.js:17
player.js:57 Player error: mediaError - fragParsingError
(anonymous) @ player.js:57
player.js:22 cannot recover, last media error recovery failed ...
handleMediaError @ player.js:22
DevTools failed to load SourceMap: Could not load content for chrome-extension://emnphkkblegpebimobpbekeedfgemhof/hlsjs/hls.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME


    


    I tried combining the .ts files using ffmpeg but got the same errors specified above.

    


    How do I decrypt the files and combine them into a single vlc playable file ?

    


  • Get video stream from camera in MFC

    3 février 2017, par lolo

    I need to get the video from a camera and play it into a MFC dialog just as any player, using the URL of the camera, but I get confused in the way to find information and how to do it.

    It’s possible to embed a video player into the MFC Application ? That was the option someone told me but I’m not pretty sure if that’s the best way.

  • music bot stopping music entirely instead of skipping one song discord.py

    26 septembre 2018, par Y4h L

    When i use my skip command, my program stops playing music, instead of skipping a song.
    Here’s the code :

    queues = {}
    players = {}
    opts = {
               'default_search': 'auto',
               'quiet': True,
           }
    voice_states = {}

    class voice:
       def __init__(self, client):
           self.client = client

       @commands.command(pass_context=True)
       async def skip(self, ctx):
           id = ctx.message.server.id
           players[id].stop()

       @commands.command(
           pass_context=True
       )
       async def play(self, ctx, url):
           server = ctx.message.server
           channel = ctx.message.author.voice.voice_channel
           try:
               await self.client.join_voice_channel(channel)
           except:
               print(" ")
           if server.id not in players or players[server.id].is_done():
               server = ctx.message.server
               voice_client = self.client.voice_client_in(server)
               player = await voice_client.create_ytdl_player(url, after=lambda: queue(server.id), ytdl_options=opts)
               players[server.id] = player
               await self.client.say('Now Playing ' )
               player.start()
           else:
               server = ctx.message.server
               voice_client = self.client.voice_client_in(server)
               player = await voice_client.create_ytdl_player(url, after=lambda: queue(server.id),  ytdl_options=opts)

               if server.id in queues:
                   queues[server.id].append(player)
               else:
                   queues[server.id] = [player]
               await self.client.say('Now Playing ' )
               await self.client.say('Video queued.')

       def queue(self, id):
           if queues[id] != []:
               player = queues[id].pop(0)
               players[id] = player
               player.start()

    def setup(client):
       client.add_cog(voice(client))

    i receive no error codes,
    just no queue.
    Fixes to my code or own solutions are appreciated.
    Sorry, for long code, but you need all the context