Anki add-on: 🎬️FFmpeg Downloader for Anki (Create by Shigeඞ)

This is an add-on for downloading FFmpeg to the add-on folder. When you install the add-on, FFmpeg is automatically downloaded from the Internet. It is relatively easy since there is no need to set environment variables, and no add-on configuration is required. If you already have FFmpeg installed on your laptop this add-on is not necessary. Github: imageio-ffmpeg Note This add-on stores FFmpeg in the add-on folder, not on your laptop. So if you just installed FFmpeg with this add-on you cannot use FFmpeg with other FFmpeg-using add-ons. Either the author of the add-on needs to adjust the code or add code to access other add-ons from this add-on. If you want to add support for other add-ons than mine, please contact me. What is FFmpeg? FFmpeg is a free open source software that can convert video and audio. Some add-ons may require FFmpeg when adding audio or video to cards. If you want to download FFmpeg directly to your laptop without using this add-on, you can get FFmpeg from these links. FFmpeg download page Or, see the “ Watch Foreign Language Movies with Anki ” add-on page of the popular add-on for clear instructions on how to download FFmeg. add-on: How it works Use imageio_ffmpeg to download the FFmpeg binary into the add-on's user file folder, which can then be called from another add-on. Technically it is possible to integrate FFmpeg directly into an add-on in the same way as this add-on. But FFmpeg is 80MB+ in size, it would be too large to include it in each add-on, so I separated it into different add-ons. info for developers If this add-on has already been downloaded to the user's laptop, you can use code like this to get the path to the FFmpeg executable. def get_ffmpeg_path(): try: from imageio_ffmpeg import get_ffmpeg_exe # type: ignore ffmpeg_exe = get_ffmpeg_exe() except Exception as e: print(f" Error: {e}") ffmpeg_exe = "" return ffmpeg_exe The import of the module by this add-on is done after the main window is loaded (gui_hooks.main_window_did_init), so you can't use it yet as soon as Anki is started. Github: imageio-ffmpeg pip: imageio-ffmpeg 🚨Report If you have any problems or requests feel free to send them to me. 👩‍🚀Reddit : You can request me to repair broken Add-ons. 🌟AnkiForums : You can request me to repair broken Add-ons, and it is ideal for open discussions. 🐙Github : Makes it easier to track problems. 💖Patreon DM : Response will be prioritized. 💖Please Support Shige's Anki add-ons development! Hi thank you for using this add-on I'm Shigeඞ! [ 🛠️Fix add-ons ] So far I fixed and customized 80+ broken add-ons for free and developed over 30 add-ons as a hobby ( all add-ons ). If you have requests to fix broken add-ons feel free to contact me. Fix broken addons (Free) [ 💖Donation ] I'm looking for supporters for my add-ons development because I like Anki!👍️ If you support my volunteer development you will get 14 add-ons for patrons only and 15 game themes included in AnkiArcade ($5/month). Get Patrons only addons | Patrons Q and A | Contact [ Special Thanks ] So far I received donations from 561 patrons and without their support I never could develop this, thank you very much!🙏 Patrons: Arthur Bookstein Haruka Luis Alberto, Letona Quispe 07951350313540 Lily Daniel Kohl-Fink Tim NamelessGO Kyle Mondlak ElAnki Abhi S Matthew Hartford Jonathan Contreras findus161 K Peasant of Anki Juan Salgado Ernest Chan Yaeerrrrrr Elisabeth Barber Jesse Asiedu GP O'Byrne David C KM Christopher Lam Kolorophyll Jake Stucki Kaitlyn Bowler Isabel Guan Steven Banner Heidi Leonora Lomoki Akporyoe ellie Tobias Klös Xiuxuan Wang Ujwal Chadha gus forester iuventius Patrick ellis tarek Iggi qiting zeng Carly Burdorf Austin Regal Muneeb Khan Aydin Herik Mia Hoang Hung Sameer Al Matheus Chagas Bryn Price Orlando Frey pie_is_good Svel1989 Take Root Vivian Cao Keeler Kime Kurt Grabow Zarina Balde Pansanity Gabriel Farrugia Lis Y. Fahim Shaik Augusto Stein Ashok Rajpurohit mootcourt NoirHassassin alpha male, shredded af Morgan Torres Dennis Obis Anh-Tai Nguyen Tae Lee Joseph Howell Gabriel Vinicio Guedes sab hoque Terence Bartenbach R Rebecca only Ythalo Vlogs Ketan Pal Aurora Dzurko Tyler Schulte Kmyungc Mac Will S. Meeyah Davis Eric Allen Devon Williams alex han Douglas Beeman Andrew Yick Robert Remedios Marley Easterbrook Temi Jide Ansel Ng Simeon Azfar Hussain Haley Schwarz Woody kenken Jeanna ...full list

GitHub repository: imageio/imageio-ffmpeg
Repository description: FFMPEG wrapper for Python
Languages: Python
Topics: ffmpeg, python, wrapper-library