
Recherche avancée
Autres articles (67)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (5437)
-
resize movie to rectangular of 200x200
1er décembre 2013, par RubytasticHow would one resize to 200x200 rectangular movie ?
I tried several suggestions all fail like :
ffmpeg -i 001.mov -vf "scale=-1:360" 001.mp4
But this does not make it rectangular
-
How can I extract the first frame from a movie AND overlay a watermark on it at the same time ?
29 mai 2017, par Eric VasilikI want to, with a single ffmpeg command line, extract the first frame from a movie (as a .jpg and sized to fit inside a box of a given size), and overlay a centered PNG on that frame.
I’ve run into problems using -vf and -filter_complex at the same time.
-
Cannot use input file in filter_complex_script (movie filter)
28 juin 2022, par Nick GammonI am trying to edit some video footage using ffmpeg rather than a GUI editor.


This example works, to read a PNG file and overlay a resized video on top of it :


ffmpeg -y \
 -loop 1 -i 'Title.png' \
 -i 'Presentation.mp4' \
 -filter_complex_script 'my.nodes' \
 -map "[video]" -map 1:a -codec:a copy output.mkv



The file my.nodes contains :


[1:v]scale=430:240[a];
[1:v]scale=1280:720[b];
[0:v][a]overlay=0:0[c];
[c][b]overlay=overlay_w*2:overlay_h:shortest=1[video]




However rather than referring to the input files as numbers (1:v etc.) I wanted to use the "movie" filter to input the files as a source filter, like this :


ffmpeg -y \
 -filter_complex_script 'my_improved.nodes' \
 -map "[video]" output.mkv



The file my_improved.nodes contains :


movie=Title.png[title];
movie=Presentation.mp4[talk];
[talk]scale=430:240[a];
[talk]scale=1280:720[b];
[title][a]overlay=0:0[c];
[c][b]overlay=overlay_w*2:overlay_h:shortest=1[video]



This gives the error :


Invalid file index 0 in filtergraph description movie=Title.png[title];
movie=Presentation.mp4[talk];
[talk]scale=430:240[a];
[talk]scale=1280:720[b];
[title][a]overlay=0:0[c];
[c][b]overlay=overlay_w*2:overlay_h:shortest=1[video]
.




How can I embed video/image names into the filter itself ?