
Recherche avancée
Autres articles (13)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (1818)
-
12 ways Matomo Analytics helps you to protect your visitor’s privacy
-
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 ?


-
What is PII ? Your introduction to personally identifiable information