
Recherche avancée
Autres articles (58)
-
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9163)
-
How to change colour in WebM video using FFMPEG
21 septembre 2020, par gowtham kosarajuI Have a web video file in this want to change the colour of the video pixels which are in black to blue color. I tried with the below command.


Input video :
https://share.getcloudapp.com/WnuJoLGX


ffmpeg -vcodec libvpx-vp9 -i input.webm -filter_complex "[0:v]format=rgba,lutrgb=r='if(eq(val,0),240,val)':g='if(eq(val,0),111,val)':b='if(eq(val,0),69,val)':a='val'[out]" -vcodec libvpx-vp9 -map "[out]" output.webm



Output video : https://share.getcloudapp.com/geuzn6be


But output video looks stuttering at the edges. Can anyone guide me on how to make video smoother ?


-
avformat/mxfdec : Read Mastering Display Colour Volume from MXF
9 septembre 2020, par Harry Mallon -
Overlay timelapse video on solid background colour using ffmpeg
13 septembre 2020, par hamchapmanI've got a load of screenshots of a homepage that are named
homescreen000001.png
,homescreen000002.png
, etc and I'm trying to create a time-lapse video of these images using ffmpeg.


I've got it working in general when I run the following :



ffmpeg -f image2 \
 -i ~/Desktop/homescreen%06d.png \
 -r 0.5 \
 -s 1440x900 \ 
 -b:v 1M \
 -vcodec libx264 \ 
 -pix_fmt yuv420p \
 ~/Desktop/timelapse.mp4




However, it turns out that some of the images have transparent backgrounds so the background is showing up as black on those images.



I'd like a white background so I've been trying to set that up using ffmpeg as follows :



ffmpeg -f image2 \
 -loop 1 \
 -i ~/Desktop/whitebg.png \
 -i ~/Desktop/homescreen%06d.png \
 -filter_complex overlay \ 
 -r 0.5 \
 -s 1440x900 \ 
 -b:v 1M \
 -vcodec libx264 \ 
 -pix_fmt yuv420p \
 ~/Desktop/timelapse.mp4




Here
whitebg.png
is 2px x 2px png with a white background, and that's it.


This ffmpeg command produces a really tiny (in file size) video that's just a white background.



Can anyone explain how I can overlay the images as a time-lapse video over a white background using ffmpeg ?