
Recherche avancée
Autres articles (73)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (5395)
-
ffmpeg installation on macOS for MoviePy fails with SSL error
26 juillet 2018, par shmibleI’m trying to write a Python program that uses MoviePy on Mac OS 10.11.16 to convert an MP4 file to GIF. I use :
import moviepy.editor as mp
and I get an error saying I need to call
imageio.plugins.ffmpeg.download()
so I can download ffmpeg. I use :import imageio
imageio.plugins.ffmpeg.download()which gives me the following error :
Imageio: 'ffmpeg.osx' was not found on your computer; downloading it now.
Error while fetching file: <urlopen error="error" certificate="certificate" verify="verify" failed="failed">.
Error while fetching file: <urlopen error="error" certificate="certificate" verify="verify" failed="failed">.
Error while fetching file: <urlopen error="error" certificate="certificate" verify="verify" failed="failed">.
Error while fetching file: <urlopen error="error" certificate="certificate" verify="verify" failed="failed">.
Traceback (most recent call last):
File "", line 1, in <module>
imageio.plugins.ffmpeg.download()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 55, in download
get_remote_file('ffmpeg/' + FNAME_PER_PLATFORM[plat])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/core/fetching.py", line 121, in get_remote_file
_fetch_file(url, filename)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imageio/core/fetching.py", line 177, in _fetch_file
os.path.basename(file_name))
OSError: Unable to download 'ffmpeg.osx'. Perhaps there is a no internet connection? If there is, please report this problem.
</module></urlopen></urlopen></urlopen></urlopen>I definitely have an internet connection. I found this link, and tried installing with Homebrew and Static builds, but neither have worked. It seems like compiling it myself would be a little too advanced for me (I’ve only briefly looked into it). I used
imageio.plugins.ffmpeg.download()
on IDLE. I read something about using PyCharm to run the MoviePy code, but I get the same initial error. ffmpeg is currently in my/usr/local/bin
folder. Any suggestions are welcome. Thank for your help.Edit : I’m using Python 3.6.1
-
Read Output in Batch
29 septembre 2016, par arielbejeI am using this code to try and download a video+subtitles using youtube-dl and then combine them using ffmpeg.
I am trying to set the video/subtitle output to title.extension instead of the regular title id.extesion, but to do that youtube-dl has a command that outputs it like an echo command, so I need to read it.
@echo off
echo Write a link and press enter
set /p link=
cls
youtube-dl.exe -u myusername -p mypassword --skip-download --sub-lang enUS --sub-format "ass" --output "%(uploader)s%(title)s.%(ext)s" "%link%"
youtube-dl.exe -u myusername -p mypassword -f worst --ffmpeg-location "%cd%\ffmpeg.exe" --hls-prefer-ffmpeg --console-title --output "%(uploader)s%(title)s.%(ext)s" "%link%"
youtube-dl.exe -u myusername -p mypassword --skip-download --get-title "%link%" > title.txt
for /f "delims=" %%x in (title.txt) do set title=%%x
ffmpeg.exe -i "%cd%\%title%.flv" -vf "ass=%cd%\%title%.ass" "%cd%\%title%.mkv"
pause -
spawn ENOENT error when trying to convert to mp3
14 août 2021, par seriouslyI was trying to make a youtube video to mp3 converter using an npm package called
youtube-mp3-downloader
the npm documentation says I have to download FFmpeg inorder for the program to run so I did download the FFmpeg windows build. And then I added the FFmpeg binary path to the code in order to run the program and get the expected output which is the mp3 file saved to a specified location and the output data but every time I run the program I get the errorspawn ../client/ffmpeg-4.4-full_build/bin ENOENT
. When I research about the error I came accross that I have to install theffmpeg
and thefluent-ffmpeg
dependencies to my node module and so I did but the error is still there. What am I doing wrong ? Any help is appreciated. Feel free to comment if you have any questions. Thanks in advance.



var YoutubeMp3Downloader = require("youtube-mp3-downloader");

//Configure YoutubeMp3Downloader with your settings
var YD = new YoutubeMp3Downloader({
 // FFmpeg binary location *Where the error is arising
 "ffmpegPath": "../client/ffmpeg-4.4-full_build/bin",
 // Output file location (default: the home directory)
 "outputPath": "../client/audio",
 // Desired video quality (default: highestaudio)
 "youtubeVideoQuality": "highestaudio",
 "queueParallelism": 2, // Download parallelism (default: 1)
 // Interval in ms for the progress reports (default: 1000)
 "progressTimeout": 2000,
 "allowWebm": false // Enable download from WebM sources (default: false)
});

//Download video and save as MP3 file
YD.download("Vhd6Kc4TZls");

YD.on("finished", function(err, data) {
 console.log(JSON.stringify(data));
});

YD.on("error", function(error) {
 console.log(error);
});

YD.on("progress", function(progress) {
 console.log(JSON.stringify(progress));
});