
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (99)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
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 (...)
Sur d’autres sites (10930)
-
running ECSTask in IOS
26 janvier 2017, par DecKnoI am new to IOS platform. I have a code snippet written using JAVA API.
AmazonECS amazonECS = new AmazonECSClient(credentials).withRegion(usWest1);
String command="bash /opt/run-task.sh "+"/mnt/s3/inputFile1::/mnt/s3/inputFile2"+" "+ "outputFile";
ContainerOverride containerOverrides = new ContainerOverride().withCommand(command).withName("<<container>>");
TaskOverride overrides = new TaskOverride().withContainerOverrides(containerOverrides);
RunTaskRequest runTaskRequest = new RunTaskRequest().withCluster("<<cluster>>").withTaskDefinition("<<task definition="definition" arn="arn">>")
.withOverrides(overrides).withGeneralProgressListener(new ProgressListener() {
@Override
public void progressChanged(ProgressEvent progressEvent) {
System.out.println(progressEvent.getBytesTransferred());
System.out.println(progressEvent.getEventType());
}
});
Task task = new Task().withTaskDefinitionArn("<<task definition="definition" arn="arn">>")
.withOverrides(overrides);
RunTaskResult runTaskResult = amazonECS.runTask(runTaskRequest).withTasks(task);
List<failure> failures = runTaskResult.withTasks(task).getFailures();
</failure></task></task></cluster></container>I am using ffmpeg to merge few video files as single file. I need to know if there is equivalent functionality available in IOS.
-
ffmpeg - overlay filter alpha premultiplied performs brighter on transparent images
26 avril 2022, par windows_airDescription


I'm using ffmpeg's overlay filter with alpha premultiplied parameter. I noticed that when a completely transparent image was overlay to the background video, the output video was much brighter.


In the following demo, I will use RGBA8888 format images for overlay. Its use of
RGBA (255,255,255,0)
indicates full transparency (aka completely transparent white), and the result demonstrates a very noticeable brightening (the expected result should be unchanged, since the image is completely transparent).
ps : UsingRGBA (0,0,0,0)
(aka completely transparent black) also results in a brightened image.

Code (overlay transparent white)


ffmpeg.exe -loglevel debug -i a1.mp4 -i a1.png -filter_complex "[0:v][1:v]overlay=x=0:y=0:alpha=premultiplied[v]" -map "[v]" -c:v:0 libx264 -f mp4 output.mp4





Code (overlay transparent black)


This command uses lavfi to simulate the transparent black output of RGBA. For demonstration purposes only, you may need ctrl+c to prevent infinite output.


ffmpeg.exe -y -i a1.mp4 -f lavfi -i "color=color=black@0.0:size=1920x540,format=rgba" -filter_complex "[0:v][1:v]overlay=x=0:y=0:alpha=premultiplied[v]" -map "[v]" -c:v:0 libx264 -f mp4 output.mp4





The results show that the upper part is more whitish (brighter).


Related files can be downloaded here : https://gist.github.com/windowsair/5315437a97dadf3f74f886486657183d



Back to the question, I had to use
premultiplied
to get the correct overlay result : Using thestraight
option will have a darkening effect in areas that are not fully transparent, which is why I insisted onpremultiplied
. Is this a ffmpeg problem ? How should I avoid the undesirable effect of brighter images from transparent image overlays ? Thank you !

-
ffmpg - Overlay merged video from a bunch of small videos on another video
31 août 2022, par Krishna ChebroluI have a situation where 3-4 small 5secs video clips to be merged and placed at a specific point in time of another video within a fixed frame of 800x600.


For example, main video is of 40 secs of 1280x720 resolution and have 4 small clips of 5 secs each to be placed in a frame of 800x600 from 10 to 30 secs one after the other (or) merge them before placing within the frame.


I tried multiple filters and failing to get the required output.


ffmpeg -y -i bg.mp4 -i c0.mp4 -i f.mp4 -filter_complex "split [main][tmp]; [tmp][1:v][1:a][2:v][2:a]concat=n=2:v=1:a=1[tmp1]; [main][tmp1] overlay=enable='between(t,10,24)':x=50:y=50[v]; [v]drawtext=enable='between(t,26,29)':font='DejaVu Serif':text='Kris Cheb':x=(w-tw)/2:y=((h-text_h)/4): fontsize=80: fontcolor=white, drawtext=enable='between(t,27,29)':text='Awesome Work..':x=(w-tw)/2:y=(((h-text_h)/3)+20): fontsize=38: fontcolor=white, drawtext=enable='between(t,27,29)':text='Congratulations!!':x=(w-tw)/2:y=(((h-text_h)/2)+10): fontsize=38: fontcolor=white"[v] -map [v] out.mp4



Of course, in the above command, I'm yet to add
scale
withforce_original_aspect_ratio=decrease
filter and associated attributes.

Could someone please suggest how to achieve this with ffmpeg ?


Thanks


[EDIT-1] :


To overcome this issue, as an alterative, I had split
bg.mp4
into multiple segmentsintro.mp4
,outro.mp4
&frame.png
and concatenated them with the following command, which is working fine. Of course, there is slight deviation from original requirement of placingc0.mp4
&f.mp4
as overlay in the middle segment and nowframe.png
is being used as overlay on these middle segment clips.

ffmpeg -y -i intro.mp4 -i c0.mp4 -i f.mp4 -i outro.mp4 -i frame.png 
-filter_complex "[0:v][0:a][1:v][1:a][2:v][2:a][3:v][3:a]concat=n=4:v=1:a=1[vv][a];
[vv][4:v]overlay=enable='between(t,4,16)':x=0:y=0[v];
[v]drawtext=text='NAME': font='Serif':fontsize=70: fontcolor=white: x=((w-tw)/2):y=(((h-text_h)/4)+10):enable='between(t,16,20)', 
drawtext=text='TEXT2':font='Serif':fontsize=40: fontcolor=black:x=((w-tw)/2): y= ((h/2)+30):enable='between(t,16,20)',
drawtext=text='<text3>':font='Serif':fontsize=40: fontcolor=black:x=((w- 
tw)/2):y=((h/2)+70):enable='between(t,16,20)'[v]" -vsync 2 -map 
[v] -map [a] out.mp4
</text3>


But, need help in replacing the audio of middle segment clips
c0.mp4
&f.mp4
with the audio frombgm.mp3
which will be given as a new input.

Appreciate all the help..