Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (93)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

Sur d’autres sites (6403)

  • Using HEVC with Alpha to Compose Moviepy Video

    3 avril, par James Grace

    I'm using moviepy, PIL and numpy and trying to compile a video with 3 components : A background image that is a PNG with no transparency, an Overlay Video that is a HEVC with Alpha, and a primary clip that is produced with a collection of PNG images with transparency.

    


    The video is composed with background + overlay video + main video.

    


    The problem I'm having is that the overlay video has a black background, so the background image is covered completely. Moviepy is able to import the HEVC video successfully by it seems as though the Alpha channel is lost on import.

    


    Any ideas ?

    


    Here's my code :

    


    from PIL import Image
import moviepy.editor as mpe
import numpy as np

def CompileVideo() :

    frames = ["list_of_png_files_with_transparency"]
    fps = 30.0
    clips = [mpe.ImageClip(np.asarray(Image.open(frame))).set_duration(1 / int(fps)) for frame in frames]
    ad_clip = mpe.concatenate_videoclips(clips, method="compose")
    bg_clip = mpe.ImageClip(np.asarray(Image.open("path_to_background_file_no_transparency"))).set_duration(ad_clip.duration)

    overlay_clip = mpe.VideoFileClip("path_to_HEVC_with_Alpha.mov")

    comp = [bg_clip, overlay_clip, ad_clip]

    final = mpe.CompositeVideoClip(comp).set_duration(ad_clip.duration)
    final.write_videofile("output.mp4", fps=fps)


    


  • Anomalie #4704 : Par sinum tri le nombre par ordre alpha

    28 mai 2021, par JLuc -

    ticket traité ?

  • avcodec/huffyuvdec : do not leave alpha values uninitialized

    18 juin 2014, par Michael Niedermayer
    avcodec/huffyuvdec : do not leave alpha values uninitialized
    

    fixes fate failure under valgrind

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/huffyuvdec.c