
Recherche avancée
Autres articles (54)
-
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (7613)
-
Black overlay appears when merging a transparent video to another video
13 juin 2012, par RakeshSThis is what I have done so far :
Command to create a transparent PNG image :
convert -size 640x480 -background transparent -fill blue \
-gravity South label:ROCK image1-0.pngCommand to create a transparent video :
ffmpeg -loop 1 -f image2 -i image1-0.png -r 20 -vframes 100 \
-vcodec png -pix_fmt bgra mov-1.mov(as per this post) - I expect this video to be a transparent video.
Command to overlay a video with another :
ffmpeg -i final-video.mov -sameq -ar 44100 \
-vf "movie=mov-1.mov [logo];[in][logo] overlay=0:0 [out]" \
-strict experimental final-video.movAbove commands works perfect and I have not faced any problem, but I don't get what I expect which is kinda watermarking effect, I want mov-1.mov to be transparent with final-video.mov.
Questions :
- Is there any way to verify if the generated video is transparent ? other than merging ?
- Not sure why the above mov-1.mov is not transparent when it is merged with final-video.mov, any info to solve this problem would be great.
Please help.
-
Text Watermarking on video without loss of audio and video quality
8 janvier 2021, par Aditya KumarI am using following command to add text watermark on a video file(for mp4, mpg,m4v,flv,mov etc..) :


ffmpeg -i input.mp4 -vf "drawtext=text='Opentext':x=(w-text_w)/2:y=(h-text_h)/2:fontsize=24:fontcolor=white" TextOutput.mp4



For some of the file transformation the property of video file changes. for example- When I tried to add text watermark on a mkv file I got this message :




[matroska @ 0000001867d36ec0] Non-monotonous DTS in output stream 0:1 ;
previous : 2273, current : 1596 ; changing to 2273. This may result in
incorrect timestamps in the output file.




This is one of the issues, i have mentioned here. There are others as well, such as :


- 

- video quality is reduced
- video file size is changed(increses/decreases drastically)
- Audio lagging occurs etc...








So, I want to preserve the quality of video after adding the text watermark. How can I do that ?


-
Overlay video onto another video at multiple points in time
22 décembre 2024, par kbcoolI have a case where I want to have a background video and use a second video overlaying the first but at multiple points in time. The second video is shorter.



So for example the main video is a minute long and the second video is 10 seconds. I want to overlay the second video once at 15seconds then again at 35 seconds and then again at 55 seconds (terminating when the main video does).



I am able to get the second video to overlay successfully using overlay filter and between option but it only ever works for the first overlay. The second overlay seems to show the last or first frame of the video(??) but for the period I set in between. I am guessing it needs to be rewound and played somehow.



Eg :



ffmpeg -i background.mp4 -i overlay.mov -filter_complex "[0][1]overlay=0:0:enable='between(t,0,2)'[out];[out][1]overlay=-200:200:enable='between(t,4,8)'[out]" -map "[out]" -t 00:00:10 -y output.mp4




I have also tried specifying the overlay as an input twice eg :



ffmpeg -i background.mp4 -i overlay.mov -i overlay.mov -filter_complex "[0][1]overlay=0:0:enable='between(t,0,2)'[out];[out][2]overlay=-200:200:enable='between(t,4,8)'[out]" -map "[out]" -t 00:00:10 -y output.mp4




The same thing happens.



I'm sure the answer is simple and probably to do with how I'm using inputs but I'm not able to wrap my head around how to get the overlay video to play twice at different times on top of the original.



I have also tried using the setpts filter to rewind the overlay but again the results are exactly the same.



Eg :



ffmpeg -i background.mp4 -i overlay.mov -filter_complex "[0][1]overlay=0:0:enable='between(t,0,2)'[out];[1]setpts=PTS-STARTPTS,[out]overlay=-200:200:enable='between(t,4,8)'[out]" -map "[out]" -t 00:00:10 -y output.mp4




There are a lot of similar questions involving overlaying multiple videos but I can't find anything about reusing the same video at multiple points in time.