Open CodyPChristian opened 2 years ago
Are you using 64-bit? I'm a bit surprised how you got omxplayer running on bullseye, thought that was unsupported there.
If you're using bullseye, you might have more luck by using the in development gstreamer video player in the feature/gstreamer-video-player branch.
For that, you don't need to install any pub packages. Just specify -DBUILD_GSTREAMER_VIDEO_PLAYER_PLUGIN=On -DBUILD_OMXPLAYER_VIDEO_PLAYER_PLUGIN=Off
when configuring flutter-pi and install some gstreamer packages:
$ sudo apt install libgstreamer1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-g
ood gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-plugins-base-apps
Hey, trying to get this working on a RP4 using your omxplayer_video_player code and the sample app. I first made sure I followed the instructions here: https://github.com/ardera/flutter-pi and got that fully working. I then modified the flutter_gallery project to load a video player so I can test performance. I first used the normal video_player package and tested that, nothing played but also no errors. I then installed your package and now I get errors in the output. GUI wisd everything loads, white area where player should be, I hit play and nothing. I exit the app and check console and see the errors.
I'm on a RP 4b using bullseye.
video_player 2.2.16 and I also tried 2.0.0
I included a photo below of the output, I also tried to OCR the image for you to get the output in text form.
Here is the modified main.dart file from the flutter_gallery project (same commit as your readme)