Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (88)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

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

  • How to smoothly increase / decrease in zoom in and zoom out using ffmpeg in zoompan ?

    3 avril 2023, par dinesh indn

    I have created a new web application which functions as a screen recording tool.

    


    For instance, users can initiate the recording process, and once complete, they can proceed to the editing panel. Within the editing panel, there are various options available such as video zooming in and out based on duration, X and Y coordinates, etc.

    


    As a backend developer, I have utilized the FFmpeg library in Node.js. Although I have successfully implemented some of the zoom in and out functionalities, I am experiencing some difficulty in achieving smooth transitions.

    


    This is the command which I used for output video.

    


    ffmpeg -i input.mp4 -vf " zoompan=z='if(between(in_time,0,04),2,1)':d=1:x='iw/2-(iw/(zoom+0.01)/2)':y='ih/2-(ih/zoom/2)',zoompan=z='if(between(in_time,05,09),2,1)':d=1:x='iw/2-(iw/(zoom+0.01)/50)':y='ih/2-(ih/zoom/1)',zoompan=z='if(between(in_time,11,15),2,1)':d=1:x='iw/50-(iw/(zoom+0.01)/10)':y='ih/2-(ih/zoom/2)' ,zoompan=z='if(between(in_time,18,20),2,1)':d=1:x='iw/2-(iw/(zoom+0.01)/1)':y='ih/2-(ih/zoom/50)' ,zoompan=z='if(between(in_time,22,25),2,1)':d=1:x='iw/30-(iw/(zoom+0.01)/50)':y='ih/2-(ih/zoom/50)', zoompan=z='if(between(in_time,27,30),2,1)':d=1:x='iw/2-(iw/(zoom+0.01)/2)':y='ih/50-(ih/zoom/30)'" output.mp4

    


    Please find below the input video and the output video which I have processed :

    


    Input video : https://fidi-screen-records.s3.ap-south-1.amazonaws.com/videos/sam.mp4

    


    Output video : https://fidi-screen-records.s3.ap-south-1.amazonaws.com/finalVideos/1678798893088_24d034f7469b5e79_x3JT9w.mp4

    


    Ideally, I would like to achieve an output similar to the following video :

    


    Expected output video : https://twitter.com/mickeyxfriedman/status/1631360293564715008?s=46&t=LlV2Tx37C24-F4xCMdZuaA

    


    Could you help me to do smooth zoom in and out transition like the expected video which I shared ?
Do I need to add any packages ? or Do I have to make any changes in my coding ?

    


  • Cannot set duration for one image while converting images to mp4 using ffmpeg

    20 février 2023, par Peter.k

    I can't set duration for single image in the video. There are 24 images from here :
http://luna1.diviner.ucla.edu/~jpierre/diviner/level4_polar/hourly_maps/south/polar_south_80_summer_tbol-hour" named in for each %02d.png (concat this to get links). I use code

    


    ffmpeg -i e:\gals\moon\polar_south_80_summer_tbol-hour%02d.png -t 0.2 -r 5 -vcodec mpeg4 e:/test.mp4


    


    and always get 1 second video, but I need to have 0.2 seconds for each image, hence the whole video should be 4.8s. Someone in different threat say I need to set -framerate 5, to get 0.2s for each image, but this doesn't work. I use many variants of parameters : -d 4.8 -r 5, or -t 4.8 -r 5, or -r 24, and always get 1s of the whole video. Setting -loop 1 gets desired lenght, but it loops many times wrongly framed images.

    


    Please give me some advice.

    


  • voiceclient.play(discord.FFmpegPCMAudio) doesn't play any audio

    23 septembre 2021, par mm3239

    I'm trying to create a private music bot. It joined voice channel, but no sound came out and queue didn't worked. My play function is like this :

    


    async def play_music(self):
    if len(self.music_queue) > 0:
        self.is_playing = True

        index = self.music_queue[0][0]['index']

        #connecting to voice channel
        if not self.vc.is_connected():
            self.vc = await self.music_queue[0][1].connect()
        else:
            await self.vc.move_to(self.music_queue[0][1])

        self.music_queue.pop(0)

        self.vc.play(discord.FFmpegPCMAudio(self.music_files[index], **self.FFMPEG_OPTIONS), after=lambda e: self.play_next())


    


    When I execute the file, it should work like this :

    


    Me: /play abc.mp3
Bot: Song added to queue.
*abc song plays in voice channel*
Me: /play def.mp3
Bot: Song added to queue.
Me: /play ghi.mp3
Bot: Song added to queue.

Me: /queue
Bot: def.mp3
     ghi.mp3


    


    However, in reality, Discord :

    


    Me: /play abc.mp3
Bot: Song added to queue.
*silence*
Me: /play def.mp3
Bot: Song added to queue.
Me: /play ghi.mp3
Bot: Song added to queue.

Me: /queue
Bot: No music in queue.


    


    Console :

    


    music found!&#xA;[[{&#x27;index&#x27;: 2, &#x27;title&#x27;: &#x27;abc.mp3&#x27;}, <voicechannel>]]&#xA;music found!&#xA;[[{&#x27;index&#x27;: 0, &#x27;title&#x27;: &#x27;def.mp3&#x27;}, <voicechannel>]]&#xA;&#xA;music found!&#xA;[[{&#x27;index&#x27;: 1, &#x27;title&#x27;: &#x27;ghi.mp3&#x27;}, <voicechannel> position=5 bitrate=64000 user_limit=10 category_id=790202432072187909>]]&#xA;</voicechannel></voicechannel></voicechannel>

    &#xA;

    I can see something's wrong(abc and def prints shorter message in console, middle part of message is skipped), but as you can see, it doesn't raise any error or exception. Could anyone please help me correct my code ? I'm completely stuck, and it would be really appreciated if someone could tell me what the problem is.

    &#xA;