Hi I am in the process of developing an app with flutter with video recording functionality. I have come across 2 plugins with ability to capture/save an image as a file with flutter:
Camera v0.0.2 and Image_picker v0.2.1 , they work well and are official flutter plugins.
In essence I would like to build a mini camera plugin with video recording capabilities with flutter, which would work with iOS and Android seamlessly.
Any suggestions, direction, methods to upgrade these plugins are welcome.
To start recording the video, we will add a record button. It should overlay the video preview, so we will put the CameraPreview and the button into a Stack widget. Now, we need to create a new state variable _isRecording and set it to false. Line 2: We need to handle both, start and stop recording actions.
Video recording is now enabled by our team on the official camera plugin v0.2.0
by submitting a pull request to the repository.
The example app for this plugin uses additional plugins path_provider
and video_player to display a sample of the video recorded.
Hope this helps other flutter developers cheers!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With