
Recherche avancée
Autres articles (101)
-
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...)
Sur d’autres sites (10960)
-
ffmpeg showwaves - Change color of waveform on top of an image
15 août 2020, par Grant SYNKOPI need help with ffmpeg.



I wrote this code :



@echo off 
for %%F in (*.opus *.ogg) do 
( 
 ffmpeg -y -i "%%F" -loop 1 -i "default.jpg" -filter_complex " 
 [0:a]showwaves=s=2560x1440:mode=cline:r=30,colorkey=0x000000:0.01:0.1,format=yuva420p[v];
[1:v][v]overlay[outv]" -map "[outv]" -pix_fmt yuv420p -map 0:a -vcodec libvpx-vp9 -lossless 1 -speed 8 -acodec copy -shortest "%%~nF.webm" 
)




What it does is that for each .opus or .ogg audio file, it'll output a video with a default.jpg background image (which is completely white) and a waveform on top of it, with the audio playing.
Problem is, I would change the color of the waveform to black, but I don't understand how colorkey works even after reading the documentation...



Basically, I want to obtain something like this (but the waveform being in black) : https://www.youtube.com/watch?v=k9arneFijG8



Thanks in advance.


-
ffmpeg with background png
9 août 2023, par huetaI need a video with aspect ratio 9:16 to be overlaid on a png picture with aspect ratio 16:9 (as in the screenshot). So far I have come to this :
-filter_complex "[0:v]scale=w=1920:h=1080:force_original_aspect_ratio=decrease,pad=1920:1080 :(ow-iw)/2 :(oh-ih)/2[base] ;[1:v]format=rgba,scale=1920:1080[v1] ;[v1][base]overlay=0:0"
but the output instead of png picture is just a black background, maybe someone knows what the problem is ?enter image description here


-filter_complex "[0:v]scale=w=1920:h=1080:force_original_aspect_ratio=decrease,pad=1920:1080 :(ow-iw)/2 :(oh-ih)/2[base] ;[1:v]format=rgba,scale=1920:1080[v1] ;[v1][base]overlay=0:0"
but the output instead of png picture is just a black background


-
lavf/qtpalette : Treat 1-bit video as palettized
29 décembre 2015, par Mats Petersonlavf/qtpalette : Treat 1-bit video as palettized
This commit for qtpalette.c and qtpalette.h adds 1-bit video to the
"palettized video" category, since if the video sample description
contains a palette, the two colors in the palette can be any color, not
necessarily black & white.Unfortunately, I’ve noticed that the qtrle (QuickTime Animation) decoder
blindly assumes that 1-bit video is black & white. I don’t have enough
knowledge about the decoder to fix this, though.Below is a link to a sample 1-bit QuickTime Animation clip of a rotating
earth that uses blueish colors, and they will be correctly rendered in
QuickTime, but not in FFmpeg (which will use black & white).https://drive.google.com/open?id=0B3_pEBoLs0faUlItWm9KaGJSTEE
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>