-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Video/GIF Modification extension #12068
Add Video/GIF Modification extension #12068
Conversation
- feat: add progress for other commands - fix: nan issue - chore: rename command - refactor: rename variables - chore: update icons - chore: remove subtitles - chore: update icon - chore: remove dot - chore: remove loggable - fix: lint issues - refactor: to use standard finder selector - chore: add logs - chore: update downloading title - feat: add progress tracking - chore: clenaup names - chore: add unique names on conflicts - chore: setup better gif compression - refactor: to use objects - chore: add logfile - feat: add resize-mp4 command - feat: add optimize-mp4 command - feat: add convert-to command - feat: add ffmpeg cli download - chore: initial setup
Congratulations on your new Raycast extension! 🚀 We will aim to make the initial review within five working days. Once the PR is approved and merged, the extension will be available on our Store. |
- chore: update how progress system works - feat: add toast and trimmed.string objects
- chore: tidying up - chore: return original string if it\'s not trimmed
- chore: improve finder frontmost app message - chore: improve error handling - refactor: size validation - refactor: move \`extension\` abstraction into a file
- chore: remove legacy screenshots - chore: show hud instead of toast when processing finished - chore: update convert command to make it more usable
Upd: in recent updates the extension has become more convenient for power keyboards users. In addition, it now correctly notifies the user when video successfully encoded in the background. |
- chore: extract paletteFile path to File abstraction - chore: remove unused fs call
Just found this extension: #11894 by @pablopunk. I'm not sure raycast needs two extensions in the store with the same functionality. As I see the only difference is the entry point and UX. You can close my PR @pernielsentikaer if you see fit, because |
@tonypinkevych Mine only focuses on compressing videos. If you'd like, you could make a PR to add more commands and I'll happily review it 🙌🏻. Also, I'm not installing |
I don't know I agree, merging it into the current would be nice |
@pernielsentikaer This site comes highly recommended on reddit, so I don't know. We can keep the local version of ffmpeg installed by homebrew. But that would reduce the number of potential users because of the external dependency. I'll do another PR to extend |
All code moved to #12147 |
Description
Motivation
I got tired of moving between different apps when I need something small like converting or optimizing a video. That's why I started using the
ffmpeg
cli. But it doesn't really fit because I have to memorize all the tricky parts of their cli. So I decided to create a simple wrapper around it.What it does
The extension allows you to optimize, convert and resize video and gif files using
ffmpeg
andffprobe
. At the moment the extension only works with a selection in the Finder.How it works
On first run, the extension will download the
ffmpeg
andffprobe
binaries from https://www.osxexperts.net. I have not found any other public hosting of binaries for Intel and Silicon chips. So I am open to recommendations for security improvements.The fetching mechanism can be checked at binary.ts file. The endpoints and sha256 hashes at ffmpeg.ts and ffprobe.ts respectively.
The binaries will then be stored in
environment.supportPath
and used from there.Screencast
video-gif-modification.mp4
Checklist
npm run build
and tested this distribution build in Raycastassets
folder are used by the extension itselfREADME
are placed outside of themetadata
folder