
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (52)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (5700)
-
FFMPEG blending comes out looking grayscale rather than colourful
17 novembre 2022, par OneWorldWhen i do a blend of two pngs, it comes out looking grayscale whereas it should have colour.


These are the two PNG input assets that I then create MP4s from :-






Here is the command :-


ffmpeg -i black_circle.png -i pikachu.png -filter_complex "[0:v]setsar=sar=1,format=rgb24[rgb1];[1:v]setsar=sar=1,format=rgb24[rgb2];[rgb1]split[out1_1][out1_2];[out1_1]crop=50:50:0:0:exact=1,setsar=1[cropped1];[cropped1][rgb2]blend=screen[blended1];[out1_2][blended1]overlay=0:0" pikachu_screened_on_circle_rgb.png



And here is the output :-




However, Pikachu should retain his Red, Green and Blue, but instead Pikachu looks grayscale.


I was wondering why this is ?


And what i need to do so that Pikachu retains his yellow skin, and rosey cheeks ?


So I thought initially that it might be something to do with the white and black circle being a grayscale asset. But then I replaced the black and white circle with this asset :-




and I saw that when something is black FFMPEG makes it grayscale :-




The command using these two assets instead is this :-


ffmpeg -i rgb_backing.png -i pikachu.png -filter_complex "[0:v]setsar=sar=1,format=rgb24[rgb1];[1:v]setsar=sar=1,format=rgb24[rgb2];[rgb1]split[out1_1][out1_2];[out1_1]crop=50:50:0:0:exact=1,setsar=1[cropped1];[cropped1][rgb2]blend=screen[blended1];[out1_2][blended1]overlay=0:0" pikachu_screened_on_rgb_backing.png



Is there a way to invert black to white in FFMPEG ?


-
Center crop image overlay using FFmpeg
27 mai 2020, par HB.I currently have an image that is being overlayed on top of a video, as demonstrated in this image :






The blue square is representing the video and the purple lines are representing the image on top of the video.





Currently, I have the following command :



"-i", InputVideoPath, "-i", InputImagePath, "-filter_complex", "[0:v]scale=iw*sar:ih,setsar=1,pad='max(iw\\,2*trunc(ih*9/16/2))':'max(ih\\,2*trunc(ow*16/9/2))':(ow-iw)/2:(oh-ih)/2[v0];[1:v][v0]scale2ref[v1][v0];[v0][v1]overlay=x=(W-w)/2:y=(H-h)/2[v]", "-map", "[v]", "-map", "0:a", "-c:v", "libx264", "-preset", "ultrafast", "-r", "30", OutputPath




This adds black padding to the sides of the video and outputs the following :






But I would like the center crop the image that is being overlayed instead, giving me this output :






I've seen answers that demonstrate how to crop an image or crop 2 videos, but I couldn't find a way to center crop an image that is being overlayed on top of a video.



The video I'm testing with is
1920x1080
and the size of the image is not constant.


Any help in achieving this will be appreciated.





EDIT (This edit is to add more clarification).



Please have a look at the image below :






The image above demonstrates :



- 

- Purple Lines : The entire screen of the device/player, this will be used as the input image. The user draws on the screen/player.
- Blue : The input video, scaled to fill the screen
- Green : The actual size of the input video









With this example, the player/image is
1920x1080
and the actual video size is640x640
. So the video is scaled440x440
to fill the player.




I tried to use a simple overlay, with the hopes that it will crop the video/image and output a video with the image at the same position as what was displayed on the device, by doing the following :



ffmpeg -i InputVideo -i InputImage -filter_complex "overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -c:v libx264 -preset ultrafast OutputPath




But, the image is not at the same position as what it was on the device.



I suspect that I will have to take into account the size difference between the scaling of the video to fit into the video player.



I'm not sure how I can do this ?


-
In Advanced SubStation Alpha (Ass file) how can I animate each word as it is spoken ?
29 mai 2024, par Nick PowersHello I am trying to get Ass (Advanced SubStation Alpha) code to animate (highlight in green) each word as it is spoken and then have it revert back to white afterwards. What happens with my code is very odd. At first I cannot even see any text. It then appears with multiple lines overlapped, partially hanging off the screen. From this point it "kind of" works. I can see the desired highlighting happening but because the text is all jumbled and overlapping it can hardly be called a success.


In case it is relevant I am using ffmeg to burn in the subtitles. I am using the following command :


ffmpeg -i FortuneTeller1.mp4 -vf "ass=FortuneTeller1.ass" Subtitled.mp4


The resolution of the source video is 1080x1920 (vertical).


My ultimate goal is to burn Hormozi style text with per word animations. I'm far from that so any input would be appreciated ! If you need any additional info/code to help troubleshoot this please let me know what you need and I will provide it.


I have the following Ass code in the Events section :


Dialogue: 0,0:00:02.48,0:00:03.28,Default,,0,0,0,,{\c&H00FF00&\pos(640,480)}In{\c&H00FFFFFF&} the tapestry of time, a visitor from shadows past shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:03.48,0:00:04.28,Default,,0,0,0,,In {\c&H00FF00&\pos(640,480)}the{\c&H00FFFFFF&} tapestry of time, a visitor from shadows past shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:04.68,0:00:09.68,Default,,0,0,0,,In the {\c&H00FF00&\pos(640,480)}tapestry{\c&H00FFFFFF&} of time, a visitor from shadows past shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:09.88,0:00:01.48,Default,,0,0,0,,In the tapestry{\c&H00FF00&\pos(640,480)}of{\c&H00FFFFFF&} time, a visitor from shadows past shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:02.08,0:00:04.89,Default,,0,0,0,,In the tapestry of {\c&H00FF00&\pos(640,480)}time{\c&H00FFFFFF&}, a visitor from shadows past shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:06.89,0:00:10.49,Default,,0,0,0,,In the tapestry of time,{\c&H00FF00&\pos(640,480)}a{\c&H00FFFFFF&} visitor from shadows past shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:10.89,0:00:03.29,Default,,0,0,0,,In the tapestry of time, a {\c&H00FF00&\pos(640,480)}visitor{\c&H00FFFFFF&} from shadows past shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:03.69,0:00:07.49,Default,,0,0,0,,In the tapestry of time, a visitor {\c&H00FF00&\pos(640,480)}from{\c&H00FFFFFF&} shadows past shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:08.09,0:00:11.49,Default,,0,0,0,,In the tapestry of time, a visitor from {\c&H00FF00&\pos(640,480)}shadows{\c&H00FFFFFF&} past shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:11.89,0:00:04.89,Default,,0,0,0,,In the tapestry of time, a visitor from shadows {\c&H00FF00&\pos(640,480)}past{\c&H00FFFFFF&} shall emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:05.29,0:00:03.61,Default,,0,0,0,,In the tapestry of time, a visitor from shadows past {\c&H00FF00&\pos(640,480)}shall{\c&H00FFFFFF&} emerge, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:03.65,0:00:04.09,Default,,0,0,0,,In the tapestry of time, a visitor from shadows past shall {\c&H00FF00&\pos(640,480)}emerge{\c&H00FFFFFF&}, igniting flames of forgotten yearnings.
Dialogue: 0,0:00:04.13,0:00:04.57,Default,,0,0,0,,In the tapestry of time, a visitor from shadows past shall emerge, {\c&H00FF00&\pos(640,480)}igniting{\c&H00FFFFFF&} flames of forgotten yearnings.
Dialogue: 0,0:00:04.61,0:00:04.97,Default,,0,0,0,,In the tapestry of time, a visitor from shadows past shall emerge, igniting {\c&H00FF00&\pos(640,480)}flames{\c&H00FFFFFF&} of forgotten yearnings.
Dialogue: 0,0:00:05.03,0:00:05.09,Default,,0,0,0,,In the tapestry of time, a visitor from shadows past shall emerge, igniting flames {\c&H00FF00&\pos(640,480)}of{\c&H00FFFFFF&} forgotten yearnings.
Dialogue: 0,0:00:05.13,0:00:05.55,Default,,0,0,0,,In the tapestry of time, a visitor from shadows past shall emerge, igniting flames of {\c&H00FF00&\pos(640,480)}forgotten{\c&H00FFFFFF&} yearnings.
Dialogue: 0,0:00:05.59,0:00:06.31,Default,,0,0,0,,In the tapestry of time, a visitor from shadows past shall emerge, igniting flames of forgotten {\c&H00FF00&\pos(640,480)}yearnings.{\c&H00FFFFFF&}.