
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (51)
-
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Les statuts des instances de mutualisation
13 mars 2010, parPour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)
Sur d’autres sites (6524)
-
FFmpeg : How to color-key all colors except blue and white ?
21 février 2018, par DanielNgI know how to colorkey a specific color from an overlay video based on the documentation from FFmpeg. Here is the code I used to colorkey the black color out of a video then overlay it with a base video keeping the audio from the overlaid video :
"ffmpeg -i " + baseVid + " -i " + overlayVid + " -y" + ' -filter_complex "[1:v]colorkey=0x000000:0.6:0.0[ckout];[0:v][ckout]overlay=shortest=1[out]" -shortest -map 1:a -map "[out]" ' + output
However, my problem is that the overlaid video also contains other colors such as blue, white, brown, grey, green. Even though they are only small portions compared to the black that has been removed, they make the colorkeyed overlaid video look really dirty. I want to keep only the two main colors (blue and white) and removing the rest from the overlaid video. How do I do this using FFmpeg. I tried this code but it did not work.
-
FFMPEG add circular mask to videos, convert to black and white and concatenate
3 mai 2018, par YassineHello everyone i’m a beginner and i would appreciate your help.
I’m making a mobile application that generates custom video resumes based on the user’s videos taken from his phone, the user has to upload 5 different videos to the server from the mobile application, in the server side i want to :
- Add a .png circular mask to each video.
- Make each video black and white.
-
Concatenate the videos with other already existing title videos
(e.g [userVideo1] [title1] [userVideo2] [title2]...) Visual Example[Edit : I would like more features]
- Add background music
- Add watermark logo in the middle
- Remove silent footage from the beginning and from the end
- Some input videos might be rotated, i want to rotate videos back to normal if they are rotated.
So far i managed to add the circular mask, make the videos black and white and concatenate 3 videos including a premade title video, but the second user video has no sound in the output.
This is the script i ended up with :
ffmpeg -i uservid1.mov -i uservid2.mp4 -i mask.png -i title1.mp4 -preset
ultrafast -filter_complex "
[2:v][0:v]scale2ref[s1][s2];
[s2][s1]overlay[vid1];
[2:v][1:v]scale2ref[s3][s4];
[s4][s3]overlay[vid2];
[vid1]hue=s=0[v0];
[vid2]hue=s=0[v1];
[v0]scale=720x400[in0];
[v1]scale=720x400[in1];
[3:v]scale=720x400[in3];
[in0]setsar=sar=0[final0];
[in1]setsar=sar=0[final1];
[in3]setsar=sar=0[final3];
[final0][final3][final1]concat=n=3;"
-codec:a copy finalCV.mp4 -
avformat/mxfenc : add white/black ref /color range
5 avril 2018, par Michael Niedermayeravformat/mxfenc : add white/black ref /color range
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>
- [DH] libavformat/mxfenc.c
- [DH] tests/ref/fate/copy-trac4914
- [DH] tests/ref/fate/mxf-reel_name
- [DH] tests/ref/fate/time_base
- [DH] tests/ref/lavf/mxf
- [DH] tests/ref/lavf/mxf_d10
- [DH] tests/ref/lavf/mxf_dv25
- [DH] tests/ref/lavf/mxf_dvcpro50
- [DH] tests/ref/lavf/mxf_opatom
- [DH] tests/ref/lavf/mxf_opatom_audio