I have an app where users can upload videos, and I initially used the video_trimmer package to ensure that users can't upload videos longer than 2 minutes. However, since FlutterFlow updated the intl package to a version that is incompatible with video_trimmer, I've been facing issues. Here's a summary of what I've tried and the problems encountered:
What I've Tried:
1. Switching to video_editor_2 Package:
- The video_editor_2 package uses an export video function (ffmpeg) that requires a higher Android SDK.
- I attempted to use the LTS version of ffmpeg, which supposedly supports SDK 16+, but after deployment, I encountered an error message stating that SDK 24 is required. This matches the requirements of the regular ffmpeg package, leading me to question if the LTS version is being used correctly.
2. Custom Export Function:
- I tried implementing a custom export function, but I couldn't get it to work as intended.
3. Forked Version of video_trimmer:
- I considered using a forked version of video_trimmer with the updated intl dependency, but FlutterFlow doesn't support using forked packages.
Issues Encountered:
- Incompatibility of video_trimmer with the current intl version used by FlutterFlow.
- Higher Android SDK requirement for the export video functionality in video_editor_2, even with the LTS version of ffmpeg.
- Custom export function implementation challenges.
- FlutterFlow's limitations on using forked packages.
Request for Help:
I'm seeking advice on possible solutions or alternative approaches to handle video trimming and exporting within the constraints of FlutterFlow. Any suggestions or insights would be greatly appreciated.