Skip to content

Releases: Fausto95/react-native-forge

0.1.0 - First public release

25 Jan 14:17

Choose a tag to compare

0.1.0 - First Release 🎉

Initial release of React Native Forge, a powerful video processing module for React Native and Expo applications.

Features

  • ✨ Frame extraction capabilities
    • Extract frames at specific timestamps
    • Generate all frames from a video with progress tracking
  • 📏 Video aspect ratio manipulation
    • Pad videos to match specific aspect ratios
  • ⚡️ Native implementation for optimal performance
    • iOS implementation using AVFoundation
    • Android implementation using MediaCodec
  • 📱 Cross-platform support
    • iOS
    • Android

API

  • getAllFrames: Extract frames at one-second intervals
  • getFrame: Get a single frame at specific timestamp
  • padToRatio: Adjust video to target aspect ratio
  • getDuration: Get video duration in seconds

Details

  • Efficient memory management with frame recycling
  • Progress tracking for long-running operations
  • Configurable output quality and dimensions