nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhhv6t5daezumn0wd68yvfwvdhk6tcpz9mhxue69uhkummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcscpyug, I tested multiple implementations.
All FFmpeg-based options were slow and too bulky, so I decided to use the Flutter video_compress package instead.
It supports all levels of compression and handles a wider range of video formats.
Note, after creating subscription to get a real-time compression progress bar. Remember to close that subscription properly before starting a new compression, this was the main reason for the errors during development.
Also this my 2nd flutter project, so I might be doing a lot of things incorrectly
https://github.com/iefanx/compresspro