ai_jiggle_video 1772.77.463
ai_jiggle_video: ^1772.77.463 copied to clipboard
Professional integration for an AI jiggle video generator.
ai-jiggle-video #
A Dart package for adding subtle, dynamic camera shake effects to video frames, enhancing visual interest and realism. This package provides a simple, customizable way to introduce jiggle to your video processing pipelines.
Installation #
To install the ai-jiggle-video package, run the following command in your Dart project:
bash
dart pub add ai_jiggle_video
Usage Examples #
Here are a few examples showcasing how to use the ai_jiggle_video package:
1. Basic Jiggle Effect: dart import 'package:ai_jiggle_video/ai_jiggle_video.dart';
void main() { final jiggler = VideoJiggler(); final originalFrame = /* Your video frame data */;
final jiggledFrame = jiggler.applyJiggle(originalFrame);
// Process the jiggled frame further. print('Jiggle applied to frame.'); }
2. Customizing Jiggle Intensity: dart import 'package:ai_jiggle_video/ai_jiggle_video.dart';
void main() { final jiggler = VideoJiggler(intensity: 0.5); // Reduced intensity final originalFrame = /* Your video frame data */;
final jiggledFrame = jiggler.applyJiggle(originalFrame);
// Process the jiggled frame further. print('Jiggle applied with custom intensity.'); }
3. Applying Jiggle to a Sequence of Frames: dart import 'package:ai_jiggle_video/ai_jiggle_video.dart';
void main() async { final jiggler = VideoJiggler();
// Simulate a video frame stream final frames = [/* List of video frame data */];
for (final frame in frames) { final jiggledFrame = jiggler.applyJiggle(frame); // Process each jiggled frame. print('Jiggle applied to frame in sequence.'); await Future.delayed(Duration(milliseconds: 50)); // Simulate processing time }
print('Jiggle applied to all frames.'); }
4. Using different Jiggle Types: dart import 'package:ai_jiggle_video/ai_jiggle_video.dart';
void main() { final jiggler = VideoJiggler(jiggleType: JiggleType.random); final originalFrame = /* Your video frame data */;
final jiggledFrame = jiggler.applyJiggle(originalFrame);
// Process the jiggled frame further. print('Random Jiggle applied to frame.'); }
5. Adjusting the Jiggle Frequency: dart import 'package:ai_jiggle_video/ai_jiggle_video.dart';
void main() { final jiggler = VideoJiggler(frequency: 10); // Increased frequency final originalFrame = /* Your video frame data */;
final jiggledFrame = jiggler.applyJiggle(originalFrame);
// Process the jiggled frame further. print('Jiggle applied with custom frequency.'); }
Feature Summary #
- Easy Integration: Seamlessly integrates into existing video processing workflows.
- Customizable Intensity: Control the strength of the jiggle effect.
- Configurable Frequency: Adjust the rate at which the jiggle occurs.
- Multiple Jiggle Types: Supports various jiggle patterns for diverse visual effects.
- Lightweight and Efficient: Designed for performance and minimal overhead.
- Null Safety: Built with Dart's null safety features for robust code.
License #
MIT License
This package is part of the ai-jiggle-video ecosystem. For advanced features and enterprise-grade tools, visit: https://supermaker.ai/video/ai-jiggle-video/