Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (66)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Concatenating image with video for Freeze frame effect

    12 mai 2015, par Code_Ed_Student

    I am currently trying to achieve with ffmepg a freeze frame effect. This is something easy to do with adobe after effects shown here. However I would like to achieve a freeze frame effect(of 5 seconds duration) followed by the 15 second video for the final output video. This should amount to a final duration of 20 seconds. However with the settings below, I am getting a still image with the video following but it does not show a "freeze frame effect". How can I achieve a "freeze frame effect" in ffmpeg ?

    //create image

    ffmpeg -i "/media/test/test.mp4" -ss 00:00:00.023222 -vframes 1 "/media/test/test.png"

    //create freeze image effect

    ffmpeg -i "/media/test/test.mp4" -loop 1 -i "/media/test/test.jpg" -an \
    -filter_complex "[1:v]trim=start=0:end=5[ol];[0:v]setpts=[nv];[nv][ol]overlay=eof_action=pass[final]" \
    -map '[final]' -c:a aac -strict experimental -c:v libx264 -q 1 "/media/test/test_effect.mp4"
  • FFMPEG and Matplotlib for animations - strange outputs ?

    27 juin 2020, par user13132640

    I'm trying to create animations using FFMPEG and matplotlib. Using the below code, I am creating the FFMpeg writer, and then using a loop, writing a series of graphs to the animation. However, the outputs I'm getting are very strange ; sometimes, when I watch the .mp4 file, the first 5 seconds are blank, then the video "ends" (the playback time on my media player says that it's complete), and at that point, my animation shows up. Other times, some frames are missing or skipped. I've tried searching around, but frankly I haven't found anyone with similar issues.

    


    I just installed the latest version of FFMpeg today.

    


    FFMpegWriter = manimation.writers['ffmpeg']
metadata = dict(title='Animation test', artist='name')
writer = FFMpegWriter(fps=1, metadata=metadata) # 1 frames per second, each year is 1 second


    


    Then, the plotting part...(I've excluded the code where I setup the fig, ax etc.)

    


    with writer.saving(fig, "animation.mp4", dpi=200):
    year = "2005"
    for i in range(4):

        d1_plot = d1[d1['Year'].str.contains(year, na=False)]
        ax.scatter(d1_plot["Lat"], d1_plot["Long"], c='g', s=d1_plot["Size"], transform=ccrs.PlateCarree())
        ax.set_title(year)
        writer.grab_frame()
        year = str(int(year)+1)


    


  • ffmpeg transparent background with colorkey shows background bleeding

    2 novembre 2022, par Jan

    I am creating a video with transparent background video with the following command. After creation I want to overlay this video on another video

    


    ffmpeg -f lavfi -i color=red:s=1920x1080,colorkey=red,format=rgba -loop 1 -t 0.08 -i "CreditWhite.png" -filter_complex "[1:v]scale=1920:-2,setpts=if(eq(N\,0)\,0\,1+1/0.02/TB),fps=60[fg]; [0:v][fg]overlay=y=-'t*h*0.02':eof_action=endall[v]" -map "[v]" -pix_fmt yuva444p10le -vcodec prores_ks credits.mov


    


    Creating the video works fine but when I overlay this on another video (using openshot) I get a lot of color bleeding of the background colour around the edges. Any suggestions to improve the ffmpeg prompt to stop this from happening ? I tried very slightly increasing the opacity (0.06) as mentioned in another thread without success.
Video uploaded to youtube for reference

    


    UPDATE

    


    Using different colours had the same effect
enter image description here