Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (66)

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

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7951)

  • How can I apply zoom in/out filter on specific frame in video using ffmpeg ?

    4 novembre 2019, par Axita Kathiriya

    I want to apply zoom filter on specific frame on video using ffmpeg.

    for example, I want to make a slideshow of 5 images and each image will take 4-5 seconds for slide. I want zoom in/out effect on each image. So, i want to apply this effect at that time when particular image stay for 4-5 seconds. Please see this video link. I want same result like this using ffmpeg : https://youtu.be/nNTiyRDhlRY please refer first two slides of this link.

  • TypeError : source must be an AudioSource not FFmpegOpusAudio

    9 juin 2024, par salice
    async def play(ctx, *, link):
    try:
        voice_client = await ctx.author.voice.channel.connect()
        voice_clients[voice_client.guild.id] = voice_client
    except Exception as e:
        print(e)
    if 1==1:
        if youtube_base_url not in link:
            query_string = urllib.parse.urlencode({
                'search_query': link
            })

            content = urllib.request.urlopen(
                youtube_results_url + query_string
            )

            search_results = re.findall(r'/watch\?v=(.{11})', content.read().decode())

            link = youtube_watch_url + search_results[0]

        loop = asyncio.get_event_loop()
        data = await loop.run_in_executor(None, lambda: ytdl.extract_info(link, download=False))

        song = data['url']
        player = discord.FFmpegOpusAudio(song, **ffmpeg_options)

        voice_clients[ctx.guild.id].play(player, after=lambda e: asyncio.run_coroutine_threadsafe(play_next(ctx), bot.loop))


    


    ffmpeg installed and added in PATH
ffmpeg lib for python added

    


    I tried other variations of ffmpeg(like FFmpegPCMAudio) but this didn't solve the problem. I also tried to just copy-paste(Someone else's code that performs the same functions), which also did not give anything. I think the problem is not in the code.

    


    Traceback :

    


    Traceback (most recent call last):
  File "c:\Users\Saliceterik\AppData\Local\Programs\Python\Python310\lib\site-packages\disnake\ext\commands\core.py", line 173, in wrapped
    ret = await coro(*args, **kwargs)
  File "C:\Users\Saliceterik\Desktop\snackerbot\launch_serviceTyan_s-upd.py", line 122, in play
    voice_clients[ctx.guild.id].play(player, after=lambda e: asyncio.run_coroutine_threadsafe(play_next(ctx), bot.loop))    
  File "c:\Users\Saliceterik\AppData\Local\Programs\Python\Python310\lib\site-packages\disnake\voice_client.py", line 583, in play
    raise TypeError(f"source must be an AudioSource not {source.__class__.__name__}")
TypeError: source must be an AudioSource not FFmpegOpusAudio```


    


  • Opencv linking to current version of ffmpeg only, Updating ffmpeg version breaks opencv library

    5 octobre 2019, par Amit

    I had manually compiled opencv ver3.2 library on mac system, which had been working fine till now. Recently it seems that i had updated the version for ffmpeg, which is managed by brew package manager, leading to breakage of opencv library looking for libavcodec.57.dylib.

    Upon looking into library path, i found that libavcodec.dylib is symlinked to libavcodec.58.dylib, which is the most probable cause to above problem.

    Now i have two options,

    - Recompile opencv to link against the latest version of libavcodec

    - Revert the version of libavcodec to 57

    I am looking for a solution in which opencv works independently of the version of libavcodec and should dynamically link with current installed version of library. I should only be recompiling opencv when it is essentially required, like change in API of libavcodec.