Recherche avancée

Médias (91)

Autres articles (79)

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

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

  • Support audio et vidéo HTML5

    10 avril 2011

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

Sur d’autres sites (7920)

  • Revision 511d218c60 : SSSE3 convolution optimization Optimizing all SSSE3 assembly for convolution : 1

    21 novembre 2013, par levytamar82

    Changed Paths :
     Modify /vp9/common/x86/vp9_asm_stubs.c


     Add /vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c


     Modify /vp9/vp9_common.mk



    SSSE3 convolution optimization

    Optimizing all SSSE3 assembly for convolution :
    1. vp9_filter_block1d4_h8_sse2
    2. vp9_filter_block1d8_h8_sse2
    3. vp9_filter_block1d16_h8_sse2
    4. vp9_filter_block1d4_v8_sse2
    5. vp9_filter_block1d8_v8_sse2
    6. vp9_filter_block1d16_v8_sse2
    my optimization include :
    - processing 2x8 elements in one 128 bit register instead of processing
    8 elements in one 128 bit register.
    - removing unecessary loads.
    This optimization gives between 2.4% user level gain for 480p input
    and 1.6% user level gain for 720p.
    This Optimization done only for 64bit.

    Change-Id : Icb586dc0c938b56699864fcee6c52fd43b36b969

  • How to use avcodec_register() in C++ program

    31 juillet 2017, par Michael Ivanov

    I don’t want to register all the codecs with avcodec_register_all() ;
    I want to register one specific codec.
    Strangly, I cannot find any working example that shows how to use avcodec_register() . Most of the examples I found suggest something like this :

    extern AVCodec ff_h264_decoder;

    avcodec_register(&ff_h264_decoder);

    But I am getting

    unresolved external symbol

    Error from the linker. I tried to wrap the struct with extern "C" , but still the same.Do I need to link h264 lib to access those structs ?

  • AttributeError : 'FFmpegAudio' object has no attribute '_process' while trying to play audio from URL

    13 août 2022, par jmcamacho7

    I can't find any solution online and I don't know what's wrong.

    


    My code is : (Not pasting the URL getting since that works fine)

    


    from urllib import parse, request
import re
import pafy
from discord import FFmpegPCMAudio, PCMVolumeTransformer

FFMPEG_OPTIONS = {
    'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'
}

@bot.command(pass_context=True)
async def play(ctx, * , search):
  query_string = parse.urlencode({'search_query': search})
  html_content = request.urlopen('http://www.youtube.com/results?' + query_string)
  search_results=re.findall('watch\?v=(.{11})',html_content.read().decode('utf-8'))
  print(search_results[0])
  
  if(ctx.author.voice):
    channel = ctx.message.author.voice.channel
    await ctx.send("https://www.youtube.com/watch?v="+search_results[0])  
    url = "https://www.youtube.com/watch?v="+search_results[0]
    conn = await channel.connect()
    conn.play(discord.FFmpegAudio(url, **FFMPEG_OPTIONS))
  else:
    await ctx.send("Necesitas estar en un canal de audio para usar este comando")


    


    It just gives me this error everytime I try it :

    


    Traceback (most recent call last):
  File "/home/runner/HakuBot/venv/lib/python3.8/site-packages/discord/player.py", line 103, in __del__
    self.cleanup()
  File "/home/runner/HakuBot/venv/lib/python3.8/site-packages/discord/player.py", line 154, in cleanup
    proc = self._process
AttributeError: 'FFmpegAudio' object has no attribute '_process'


    


    Anyway to solve this ?