Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (90)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (5408)

  • proresdec2 : Only try to decode alpha plane if four output planes were allocated.

    19 mai 2013, par Carl Eugen Hoyos
    proresdec2 : Only try to decode alpha plane if four output planes were allocated.
    

    Fixes a crash with MPlayer.

    • [DH] libavcodec/proresdec2.c
  • avutil/pixdesc : add alpha component information to pixfmts with reserved but undefine...

    17 octobre 2024, par James Almer
    avutil/pixdesc : add alpha component information to pixfmts with reserved but undefined alpha bits
    

    This can be useful to simplify certain processes that need to know how many
    reserved bits there are and where they are placed, even if they are ultimately
    unused, as will be shown in the next commit.
    For any other case where the user simply looks at nb_components components, it
    will make no difference.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavutil/pixdesc.c
    • [DH] libavutil/tests/pixelutils.c
  • preserve alpha channel when changing resolution in webm vp9 ffmpeg

    28 juin 2022, par Patrick Vellia

    I am running the streamio-ffmpeg gem in my Ruby code here to operate the FFMPEG command.

    &#xA;

    Setting a Webm with codec VP9 that has alpha transparent frames in it as the input, I want to change the resolution from 1080p to 720p and preserve the alpha transparent frames when outputting to the same format/codec.

    &#xA;

    I've tried it several different ways, but every time it outputs with a black background where the alpha transparent background should be, but ffprobe shows that ALPHA_MODE is set to 1.

    &#xA;

    Here's the command that streamio-ffmpeg tells the system :

    &#xA;

    ["/usr/local/bin/ffmpeg", "-y", "-i", "part1.webm", "-s", "1920x1080", "-aspect", "1.7777777777777777", "videos/movie_transparent_1920x1080.webm"]&#xA;

    &#xA;

    This one should have been exactly the same as the original, since the original resolution WAS 1080p. The resulting file is actually black background instead of transparent.

    &#xA;

    Here's my Ruby code :

    &#xA;

    def process_alpha_transparency(output)&#xA;    render_res = []&#xA;    case @height&#xA;    when 1080..2160&#xA;        render_res.append("1920x1080", "1280x720", "852x480")&#xA;    when 720..1079&#xA;        render_res.append("1280x720", "852x480")&#xA;    when 480..719&#xA;        render_res.append("852x480")&#xA;    when 0..479&#xA;        render_res.append(@resolution)&#xA;    end&#xA;&#xA;    formats = ["webm", "mov"]&#xA;    combined_time_start = Time.now&#xA;&#xA;    render_res.each do |res|&#xA;        formats.each do |format|&#xA;            puts "Rendering a #{res} resolution version."&#xA;            if format == "webm"&#xA;                options = {&#xA;                    resolution: res &#xA;                }&#xA;&#xA;                time_start = Time.now&#xA;                @movie.transcode("videos/#{output}_transparent_#{res}.#{format}", options)&#xA;                time_elapsed = Time.now - time_start&#xA;&#xA;                puts "Te resolution rendering completed in #{time_elapsed.to_i.to_s} seconds."&#xA;            end&#xA;        end&#xA;    end&#xA;&#xA;    combined_elapsed_time = Time.now - combined_time_start&#xA;    puts "The process completed in #{combined_elapsed_time.to_i.to_s} seconds."&#xA;&#xA;    &#xA;end&#xA;

    &#xA;