
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (90)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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, parPré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, parDans 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 -
avutil/pixdesc : add alpha component information to pixfmts with reserved but undefine...
17 octobre 2024, par James Almeravutil/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>
-
preserve alpha channel when changing resolution in webm vp9 ffmpeg
28 juin 2022, par Patrick VelliaI am running the streamio-ffmpeg gem in my Ruby code here to operate the FFMPEG command.


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.


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.


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


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



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.


Here's my Ruby code :


def process_alpha_transparency(output)
 render_res = []
 case @height
 when 1080..2160
 render_res.append("1920x1080", "1280x720", "852x480")
 when 720..1079
 render_res.append("1280x720", "852x480")
 when 480..719
 render_res.append("852x480")
 when 0..479
 render_res.append(@resolution)
 end

 formats = ["webm", "mov"]
 combined_time_start = Time.now

 render_res.each do |res|
 formats.each do |format|
 puts "Rendering a #{res} resolution version."
 if format == "webm"
 options = {
 resolution: res 
 }

 time_start = Time.now
 @movie.transcode("videos/#{output}_transparent_#{res}.#{format}", options)
 time_elapsed = Time.now - time_start

 puts "Te resolution rendering completed in #{time_elapsed.to_i.to_s} seconds."
 end
 end
 end

 combined_elapsed_time = Time.now - combined_time_start
 puts "The process completed in #{combined_elapsed_time.to_i.to_s} seconds."

 
end