npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-videoeditor-ios

v0.1.3

Published

Empower iOS developers to take their video editing capabilities to the next level with our comprehensive React Native npm library. Our package offers a versatile suite of features to crop, trim, add filters, overlay images, text, shapes, and GIFs seamless

Downloads

69

Readme

react-native-videoeditor-ios

Empower iOS developers to take their video editing capabilities to the next level with our comprehensive React Native npm library. Our package offers a versatile suite of features to crop, trim, add filters, overlay images, text, shapes, and GIFs seamlessly onto videos within your React Native iOS applications. Whether you're building a social media app, a video-sharing platform, or enhancing user-generated content, our library simplifies the integration of advanced video editing functionality, saving you valuable development time and effort.

Key Features:

Video Trimming: Trim videos to achieve the desired length.

Filters and Effects: Apply a wide range of filters and effects to enhance video aesthetics and creativity.

iOS Compatibility: Tailored specifically for iOS applications, ensuring optimal performance and compatibility.

User-Friendly API: Intuitive and well-documented API for easy integration and customization.

Real-time Preview: Enable users to see edits in real-time before finalizing changes.

High-Quality Output: Deliver edited videos in a variety of resolutions and formats while maintaining video quality.

Whether you're building a video editing app, a platform for user-generated content, or simply need to enhance your iOS app with video editing capabilities, our React Native Video Editing Toolkit empowers you to create compelling and engaging video experiences for your users. Get started today and unlock the full potential of video editing in your iOS applications.

In Future Release:

  • Image Overlays: Superimpose images onto videos to add logos, watermarks, or visual elements.
  • Text Overlays: Embed dynamic text overlays with customizable fonts, colors, and animations to convey messages or captions.
  • Shapes and Graphics: Enhance videos with geometric shapes, lines, and custom graphics for creative expression.
  • GIF Integration: Seamlessly integrate GIFs into videos to create captivating, dynamic content.
  • Android Support

Installation

npm install react-native-videoeditor-ios

or

yarn add install react-native-videoeditor-ios
pod install

Usage

import VideoEditor from 'react-native-videoeditor-ios';

// ...

const filters = [
    {
      name: 'Original',
      type: '',
      color: 'white',
      icon: '',
      text: 'O',
    },
    {
      name: 'Invert',
      type: 'CIColorInvert',
      color: 'pink',
      icon: 'https://imgv3.fotor.com/images/blog-richtext-image/a-man-surfing-with-different-filter.png', // (optional) add image uri to show as a filter preview
      text: 'I',
    },
    {
      name: 'Mono',
      type: 'CIColorMonochrome', // dont change the type
      color: 'pink',
      icon: '',
      text: 'M',
    },
    {
      name: 'Posterize',
      type: 'CIColorPosterize',
      color: 'pink',
      icon: '',
      text: 'P',
    },
    {
      name: 'False Color',
      type: 'CIFalseColor',
      color: 'pink',
      icon: '',
      text: 'F',
    },
    {
      name: 'Max Gray',
      type: 'CIMaximumComponent',
      color: 'pink',
      icon: '',
      text: 'MC',
    },
    {
      name: 'Min Gray',
      type: 'CIMinimumComponent',
      color: 'pink',
      icon: '',
      text: 'MC',
    },
    {
      name: 'Chrome',
      type: 'CIPhotoEffectChrome',
      color: 'pink',
      icon: '',
      text: 'C',
    },
    {
      name: 'Fade',
      type: 'CIPhotoEffectFade',
      color: 'pink',
      icon: '',
      text: 'F',
    },
    {
      name: 'Instant',
      type: 'CIPhotoEffectInstant',
      color: 'pink',
      icon: '',
      text: 'I',
    },
    {
      name: 'Gray Scale',
      type: 'CIPhotoEffectMono',
      color: 'pink',
      icon: '',
      text: 'EM',
    },
    {
      name: 'Noir',
      type: 'CIPhotoEffectNoir',
      color: 'pink',
      icon: '',
      text: 'N',
    },
    {
      name: 'Process',
      type: 'CIPhotoEffectProcess',
      color: 'pink',
      icon: '',
      text: 'P',
    },
    {
      name: 'Tonal',
      type: 'CIPhotoEffectTonal',
      color: 'pink',
      icon: '',
      text: 'T',
    },
    {
      name: 'Transfer',
      type: 'CIPhotoEffectTransfer',
      color: 'pink',
      icon: '',
      text: 'T',
    },
    {
      name: 'Sapia',
      type: 'CISepiaTone',
      color: 'pink',
      icon: '',
      text: 'S',
    },
  ];

// just remove whatever filters you don't want from the array

const videoEditingRef = React.useRef(null); // create ref to save the edited video

await videoEditingRef.current.completeEditing() // call this to save the edited video

<VideoEditor ref={videoEditingRef} uri={video} filters={filters} /> // add video from the gallery or phone camera

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library