Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (57)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (3239)

  • h264 : make slice threading work with deblocking_filter=1

    13 avril 2016, par Anton Khirnov
    h264 : make slice threading work with deblocking_filter=1
    

    In such a case, decode the MBs in parallel without the loop filter, then
    execute the filter serially.

    The ref2frm array was previously moved to H264SliceContext. That was
    incorrect, since it applies to all the slices and should properly be in
    H264Context (it did not actually break decoding, since this distinction
    only becomes relevant with slice threading and deblocking_filter=1,
    which was not implemented before this commit). The ref2frm array is thus
    moved back to H264Context.

    • [DBH] libavcodec/h264.c
    • [DBH] libavcodec/h264.h
    • [DBH] libavcodec/h264_slice.c
  • Discord.py ffprobe/avprobe and ffmpeg/avconv not found error

    20 juillet 2021, par Exd Craft

    Im hosting this discord bot using android device and the bot is used to play music using youtube_dl module, and when i launch the play music command, i got and error where ffprobe/avprobe and ffmpeg/avconv not found. I know how to solve this problem in pc but im still dont know how to fix this on android. For the test here, im using a music from soundcloud since its more faster to download the music.

    


    Here's the error message on the terminal

    


    Logged in as Test Bot#6599\
[soundcloud] user-785177525/yoasobi-yoru-ni-kakeru-x-l-a-b-remix: Downloading info JSON\
[soundcloud] None: Downloading webpage\
[soundcloud] None: Downloading webpage\
[soundcloud] user-785177525/yoasobi-yoru-ni-kakeru-x-l-a-b-remix: Downloading info JSON\
[soundcloud] 895894084: Downloading JSON metadata\
[soundcloud] 895894084: Downloading JSON metadata\
[soundcloud] 895894084: Downloading JSON metadata\
[download] Destination: YOASOBI - Yoru ni Kakeru [x l a b. Remix]-895894084.mp3\
[download] 100% of 3.60MiB in 00:03\
ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.


    


    Here's the sample code for the play music command

    


    

    

         @client.command()
     async def playsc(ctx, url : str, *, message):
         song_there = os.path.isfile("song.mp3")
         try:
             if song_there:
                 os.remove("song.mp3")
         except PermissionError:
             em8 = discord.Embed(title = "Music Is Currently Playing", description = 'Please wait for the current playing music to end or use %leave <:_Paimon6:827074349450133524>.\nMusic provided by {ctx.author.mention} <:_Paimon6:827074349450133524>',color = ctx.author.color)
             await ctx.send(embed = em8)
             return

         voiceChannel = discord.utils.get(ctx.guild.voice_channels, name=message)
         await voiceChannel.connect()
         voice = discord.utils.get(client.voice_clients, guild=ctx.guild)
         em6 = discord.Embed(title = "Downloading Soundcloud Music", description = f'{url}\n\nPlease wait for paimon to setup the music you provide.\nMusic provided by {ctx.author.mention} <:_Paimon6:827074349450133524>',color = ctx.author.color)
         await ctx.send(embed = em6, delete_after = 2)
         await ctx.message.delete()

         ydl_opts = {
             'format': 'bestaudio/best',
             'postprocessors': [{
                 'key': 'FFmpegExtractAudio',
                 'preferredcodec': 'mp3',
                 'preferredquality': '192',
             }],
         }
         with youtube_dl.YoutubeDL(ydl_opts) as ydl:
             ydl.download([url])
         for file in os.listdir("./"):
             if file.endswith(".mp3"):
                 os.rename(file, "song.mp3")
         voice.play(discord.FFmpegPCMAudio("song.mp3"))
        
         em1 = discord.Embed(title = "Now Listening Soundcloud Music", description = f'{url}\n\nPlease use %leave first to change music.\nMusic provided by {ctx.author.mention} <:_Paimon6:827074349450133524>',color = ctx.author.color)
         await ctx.send(embed = em1)

    


    


    



  • Best library for video rendering [on hold]

    19 avril 2015, par galbarm

    I’m trying to rewrite the video rendering component in my application from scratch.

    Currently, it is using Direct3D of the the old managed DirectX 9.

    The video is originating from IP cameras and is being decoded using FFmpeg.

    The video is currently being be displayed within a UserControl inside the application. This is not supposed to change.

    Which libary should I choose to use for the rendering of the video ?

    Additional points :

    1. it is preferred that the rendering library will be .NET, but c++ is also optional.

    2. It should be optimized for displaying multiple videos simultaneously.
      This point is important. The application needs to display as many videos as possible from different IP cameras.

    3. It should be optimized for displaying camera video (it is not gaming video so that’s why I’m not sure DirectX is the natural option).

    4. It should support 64bit. Windows only.

    5. Bonus : it should integrate with FFmpeg in some way, to reduce development effort and maybe even increase performance.