
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (41)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (5959)
-
Python ffmpeg : overlaying videos is dropping all audio
6 août 2022, par swagrovI am using ffmpeg-python (source) to create the effect where you add a blurred background to fill in the sides of a tall vertical video as shown below :



The problem is that the output has no audio attached. Since the clips are the same, I want to keep the audio from one of the clips in the final output. How can I keep the audio ? (I don't want to overlay the audio from both and get an echo effect, however !)



This is the function I'm using :



import ffmpeg
def add_blurred_bg():
 HEIGHT = 720 
 WIDTH = 1280
 in_file = ffmpeg.input('input.mp4')
 probe = ffmpeg.probe('input.mp4')
 video_stream = next((stream for stream in probe['streams'] if stream['codec_type'] == 'video'), None)
 iw=int(video_stream['width'])
 ih=int(video_stream['height'])
 nw = HEIGHT*iw/ih
 (
 ffmpeg
 .overlay(
 in_file.filter('scale', WIDTH, -2).crop(0,(WIDTH*HEIGHT/nw-HEIGHT)/2,WIDTH,HEIGHT).filter('gblur', sigma=40),
 in_file.filter('scale', -2, HEIGHT),
 x=(WIDTH-nw)/2
 )
 .output('output.mp4')
 .run()
 )



-
How to merge 3 video in one screen with blur
12 avril 2019, par FejorHow to merge 3 videos on one screen, with blur on 2 of videos
I already wrote code and it’s look likes this
ffmpeg -i input.avi input1.avi input2.avi -filter_complex "[0:v]gblur=sigma=6.5[v10];[1:v][v11];[2:v]gblur=sigma=6.5[v12];[v10][v11][v12]hstack=inputs=3[v]" -map "[v]" output.avi
And i get error like this
o such filter: ''
Error initializing complex filters.
Invalid argumentWhat i should do ?
-
Overlay scaled image over video
30 septembre 2023, par nulladdrHow do I scale an image and place it over a video using
ffmpeg
?

Using a script below I get an error
Invalid stream specifier: wm.
.

ffmpeg.exe -i img0.png -i vid1.mp4 -i vid2.mp4 -i vid3.mp4 -filter_complex_script fcs.txt
 -map [outv] -map [outa] out.mp4



fcs.txt :


[0:v]scale=-1:128[wm];

[1:v]gblur=sigma=30:steps=5[bg1];
[1:v]scale=-1:1080,eq=saturation=1.05[fg1];
[bg1][fg1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2[bf1];
[bf1][wm]overlay=(1920-200):(1080-200)[fv1];

[2:v]gblur=sigma=30:steps=5[bg2];
[2:v]scale=-1:1080,eq=saturation=1.05[fg2];
[bg2][fg2]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2[bf2];
[bf2][wm]overlay=(1920-200):(1080-200)[fv2];

[3:v]gblur=sigma=30:steps=5[bg3];
[3:v]scale=-1:1080,eq=saturation=1.05[fg3];
[bg3][fg3]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2[bf3];
[bf3][wm]overlay=(1920-200):(1080-200)[fv3];

[fv1][1:a][fv2][2:a][fv3][3:a]concat=n=3:v=1:a=1[outv][outa]



The full error message :


[png_pipe @ 0000019fc01f2c00] Invalid stream specifier: wm.
Last message repeated 1 times
Stream specifier 'wm' in filtergraph description [0:v]scale=-1:128[wm];