
Recherche avancée
Autres articles (100)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (15118)
-
FFMPEG : Overlaying one video on another one, and making black pixels transparent
26 juillet 2016, par Michael AI’m trying to use FFMPEG to create a video with one video overlayed on top another.
I have 2 MP4s. I need to make all BLACK pixels in the overlay video transparent so that I can see the main video underneath it.
I found two ways to overlay one video on another :
First, the following positions the overlay in the center, and therefore, hides that portion of the main video beneath it :
ffmpeg -i 1.mp4 -vf "movie=2.mp4 [a]; [in][a] overlay=352:0 [b]" combined.mp4 -y
And, this one, places the overlay video on the left, but it’s opacity is set to 50% so at least other one beneath it is visible :
ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex "[0:v]setpts=PTS-STARTPTS[top]; [1:v]setpts=PTS-STARTPTS, format=yuva420p,colorchannelmixer=aa=0.5[bottom]; [top][bottom]overlay=shortest=0" -acodec libvo_aacenc -vcodec libx264 out.mp4 -y
My goal is simply to make all black pixels in the overlay (2.mp4) completely transparent. How can this be done.
-
FFmpeg remove background of video with no black outline
26 février 2024, par Duc Pham TheIm using this ffmpeg command to overlay a video on video(with remove black background)


ffmpeg -i /home/ducpt/bunny.mp4 -i overlay_video.mp4 -filter_complex "[1:v]colorkey=0x000000:0.1:0.1[ckout];[0:v][ckout]overlay=enable='between(t,0, 4)':format=rgb[out]" -map '[out]' output.mp4



I used filter_complex "colorkey 0x000000:0.1:0.1" to remove background of overlay video but result have a black outline.


This is screenshot of video overlay original



And this is result




I tried to use unpremultiply=inplace=1 to remove black outline but not working


ffmpeg -i /home/ducpt/bunny.mp4 -i overlay_video.mp4 -filter_complex "[1:v]colorkey=0x000000:0.1:0.1[ckout];[ckout]unpremultiply=inplace=1 [ckout2];[0:v][ckout2]overlay=enable='between(t,0, 4)':format=rgb[out]" -map '[out]' output.mp4



Please help me remove black outline :(


Sorry for my bad English !


-
lavf/avio : Be more explicit in logging white/black list matches
11 mars 2017, par Alexander Strasserlavf/avio : Be more explicit in logging white/black list matches
The current form of the messages indicating matches in the white
or black lists seems to be a bit too much relying on context.Make the messages more explicit.
Signed-off-by : Alexander Strasser <eclipse7@gmx.net>