Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (102)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (13791)

  • How to create a ffmpeg filter that zooms by a set value over a time while playing the video ?

    13 janvier 2023, par Highmastdon

    I'd like to create a zoom effect where I start at 1 * inputwidth and end with 1.1 * inputwidth over a set time.

    


    I tried using zoompan but it :

    


      

    • pauses the frame, zooms in over the amount of time specified, continues sound while zooming.
    • 


    • zooms to the top-left corner, instead of center.
    • 


    • leaves the frame smaller than it was before. Do I need to upscale afterwards ?
    • 


    


    $ ffmpeg -i in.mp4 -t 10 \
-vf "fps=60,zoompan=z='if(lte(it,2),it/2*0.1+1,1.1)':d=1,scale=iw:ih" out.mp4


    


    I tried using scale with crop, but then I get the error shown below. I assume this isn't to be as a function of time.

    


    $ ffmpeg -i in.mp4 -t 10 \
-vf "fps=60, scale='t/5*2*iw':-1, crop='iw/2*t/5':'ih/2*t/5'" out.mp4

Expressions with frame variables 'n', 't', 'pos' are not valid in init eval_mode.


    


    If there's an other tool besides ffmpeg, that would be fine, except it should not be a gui-only way.

    


  • FFMPEG command playing the audios all at once

    14 décembre 2022, par Kaeden

    I want to play all the audios at a designated time frame using this command tho they all play at the beginning of the video here is the command

    


    ffmpeg -y -i ./temp/background.mp4 -itsoffset 1 -i ./temp/tts/0.mp3 -itsoffset 3 -i ./temp/tts/1.mp3 -itsoffset 4 -i ./temp/tts/10.mp3 -itsoffset 7 -i ./temp/tts/11.mp3 -itsoffset 8 -i ./temp/tts/12.mp3 -itsoffset 10 -i ./temp/tts/13.mp3 -itsoffset 12 -i ./temp/tts/14.mp3 -itsoffset 14 -i ./temp/tts/2.mp3 -itsoffset 15 -i ./temp/tts/3.mp3 -itsoffset 18 -i ./temp/tts/4.mp3 -itsoffset 20 -i ./temp/tts/5.mp3 -itsoffset 22 -i ./temp/tts/6.mp3 -itsoffset 23 -i ./temp/tts/7.mp3 -itsoffset 25 -i ./temp/tts/8.mp3 -itsoffset 27 -i ./temp/tts/9.mp3 -filter_complex amix=inputs=5[a] -map 0:v -map [a] -c:v copy -async 1 -c:a aac ./temp/withoutsubs.mp4


    


    I was expecting all the audios to play at their right time

    


  • discord.py and ffmpeg : Play a sound effect while playing music

    26 juin 2022, par JPhusion

    I 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()