Flutter FFmpeg Pipe Test
The main part of code to check is here in this location of project root. lib\Listener\ListenerWidgetVideo.dart
There in ListenerWidgetVideo.dart, at the end of the file there is a method called ProcessPipe() That ProcessPipe() is where i tested the ffmpeg pipe.
- First put the sample video file provided in assets/video folder, anywhere in device and then after starting the app, choose that video file by pressing Choose button
- Now scroll sideways to view more buttons and you will see Process Pipe button, press that and see the output of ffmpeg processes in IDE.
- I have used android device for testing this. So for iOS this won't work because few things are not added to info.plist
- Storage Permission button won't do anything if already granted permission to read and write external storage when app starts or when choosing video.
- video playback won't be smooth because app is in debug mode.