Skip to content

Cross-Platform FFmpeg Binary Management & Build Optimizations

Choose a tag to compare

@yiddishCoder yiddishCoder released this 29 Jun 17:09
· 2 commits to main since this release

�� What's New in v1.0.1

✨ Major Improvements

  • Custom FFmpeg Binary Management: Replaced static npm packages with a custom cross-platform binary downloader
  • Optimized Build Sizes: Significantly reduced build sizes by including only platform-specific binaries
  • Automatic Binary Downloads: Binaries are now automatically downloaded during npm install

🔧 Technical Enhancements

  • Cross-Platform Support: Proper binary management for Windows x64, macOS (Intel/Apple Silicon), and Linux x64
  • Build Configuration: Converted electron-builder config from YAML to JSON for easier maintenance
  • Platform Naming Fix: Fixed platform directory naming to match electron-builder conventions (win instead of win32)

�� Build Improvements

  • Smaller Executables: Each platform build now includes only its required FFmpeg binaries
  • Streamlined Distribution: Removed large executables from Git tracking in favor of GitHub Releases
  • Better Resource Management: Optimized extraResources and asarUnpack configuration

🛠️ Developer Experience

  • Postinstall Scripts: Automatic binary download on npm install
  • Consistent Path Resolution: Updated binary utility to work correctly in both development and production
  • Cleaner Repository: Reduced repository size by excluding build artifacts

🐛 Bug Fixes

  • Fixed platform naming inconsistencies between binary downloader and electron-builder
  • Corrected Windows executable naming from "VideoReencoder" to "Video Compressor"