Ffmpeg Converter

approved

by MrAnyx

Convert most used file formats into another format to optimize your vault space.

6 stars424 downloadsUpdated 1y agoAGPL-3.0
View on GitHub

Obsidian FFmpeg Converter

Optimize your vault space by converting your images, video and audio into a more compact format or with reduced quality.

Most users can reduce the size of their vault by 70%.

The conversion of your assets is optimized thanks to FFmpeg, a powerful open-source tool.

⚠️ Disclaimer : You should always backup your vault before using this plugin.

Supported formated

Files supported by this plugin are the save as the accepted files from Obsidian.

Image : .avif, .bmp, .png, .jpg, .jpeg, .gif, .webp

Video : .mp4, .mkv, .mov, .ogv, .webm

Audio : .mp3, .wav, .m4a, .flac, .ogg, .3gp, .webm

Requirements

To use this plugin, you must install FFmpeg >= 0.9 and FFprobe >= 0.9. Any newer version will work properly.

Installation

To install this plugin, simply go to the officiel plugin store from Obsidian and search for FFmpeg Converter.

You must install FFmpeg first in order to use this plugin properly. Once downloaded, simply add the bin folder of FFmpeg to your environment variables and you're good to go !

Rollback image in case of error

In case of error during the convertion process, there is a command Rollback temporary files that will convert the temporary back to the original file without affecting the file itself. it will simply rename it properly based on the original file name.

Manually installing the plugin

Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/obsidian-ffmpeg-converter/.

Development

  • Clone this repo.
  • Make sure your NodeJS is at least v16 (node --version).
  • pnpm i to install dependencies.
  • pnpm dev to start compilation in watch mode.

Please refer to the official documentation for more details about obsidian plugins.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.