
Recherche avancée
Médias (2)
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (61)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (11770)
-
FFMPEG : how to overlay a moving PNG with multiply blend effect (overlay filter + blend filter) [closed]
22 avril 2024, par user24565885I tried hunting for all existing questions and couldn't find a match :-(


I have a video and a PNG image that I overlay on top of that. The PNG needs to move across the video (this I have working). But I want the PNG to use a "multiply" blend effect vs. a standard alpha overlay. Whenever I try to apply both filters I get an error.


This code works and moves the image (the last one) across as expected :


ffmpeg -i d6b5ec90-8823-41cf-9b81-3086ce83054a.mp4 -loop 1 -i 593e677d-02bb-49c2-a0c6-c3dd8f8c2f72.png -loop 1 -i 32fea58f-ebe1-447e-b079-06f8ebb9df52.png -loop 1 -i cb7435fb-5aff-4eeb-af2a-22b92c900db6.png -filter_complex "[0]fps=30,scale=3840:3840[o1];[1]fps=30,setpts=PTS+0.000/TB[t_1];[o1][t_1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='between(t,0.000,5.000)':shortest=1[o2];[2]fps=30,setpts=PTS+1.000/TB[t_2];[o2][t_2]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable='between(t,1.000,5.000)':shortest=1[o3];[3]fps=30[t_3];[o3][t_3]overlay='main_w*(1.5+(0-1.5)*max(0,1-(n-1.000*30)/(4.5*30)))':0:enable='between(t,1.000,4.500)':shortest=1" -r 30 -pix_fmt yuv420p -c:a aac -b:a 128k -c:v libx264 -b:v 8000k out.mp4



I now want that last effect to use multiply for blending and that's what I can't figure out. Applying both filters with a comma seems reasonable but bonks (NOTE : the MP4 and all PNGs are 3840x3840 so it's not a size issue)


[o3][t_3]overlay='main_w*(1.5+(0-1.5)*max(0,1-(n-1.000*30)/(4.5*30)))':0:enable='between(t,1.000,4.500)':shortest=1,blend=all_mode='multiply':all_opacity=1



The error I get is "Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_blend_10".


I've looked at this one : In FFmpeg, using -filter_complex, how can I overlay and blend at the same time ? but can't quite figure out how I would split, blend, then overlay in my situation where the last input PNG ([3]) needs to blend and move...


Would really appreciate the help if anyone has a solution.


THANKS !


-
Revision 07436abb86 : Use zero motion vector in choose_partitioning The zero motion vector was effect
27 octobre 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_encodeframe.c
Use zero motion vector in choose_partitioningThe zero motion vector was effectively used in the subsampled pixel
based variance calculation. This commit makes it directly use zero
mv to generate prediction.Change-Id : Ica83dc843e9f8da2f89c3ef451e50f16214c0def
-
avfilter/vf_psnr : Prevent integer overflow.
21 septembre 2013, par Neil Birkbeckavfilter/vf_psnr : Prevent integer overflow.
The 32-bit integer accumulator in MSE computation can overflow for 8-bit frame data.
(e.g., for 1080p white frame compared to a black frame can give sum of 255*255*1080*1920 > 2^32).Signed-off-by : Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at>