Comments (1)
I was able to get the video to run with flutterpi_gstreamer_video_player: ^0.1.1+1
But warnings shows and after a while it crashes:
modesetting.c: Could not set DRM client universal planes capable. drmSetClientCap: Operation not supported
flutter-pi.c: Could not create drmdev from device at "/dev/dri/card1". Continuing.
flutter: The Dart VM service is listening on http://127.0.0.1:46339/ugpJgQjzxDc=/
flutter: platformName :- Linux
plugins/gstreamer_video_player/player.c: Failed to set custom HTTP headers because gstreamer source element has no 'extra-headers' property.
(flutter-pi:2906): GStreamer-CRITICAL **: 08:47:40.451: gst_sample_set_caps: assertion 'gst_sample_is_writable (sample)' failed
** (flutter-pi:2906): WARNING **: 08:47:49.412: v4l2h264dec0: 1 frames 451-451 left undrained after CMD_STOP, eos sent too early: bug in decoder -- please file a bug
(flutter-pi:2906): GStreamer-CRITICAL **: 08:47:49.463: gst_sample_set_caps: assertion 'gst_sample_is_writable (sample)' failed
** (flutter-pi:2906): WARNING **: 08:49:19.453: v4l2h264dec0: 1 frames 2711-2711 left undrained after CMD_STOP, eos sent too early: bug in decoder -- please file a bug
plugins/gstreamer_video_player/player.c: gstreamer error: code: 1, domain: gst-stream-error-quark, msg: Internal data stream error. (debug info: ../gst/isomp4/qtdemux.c(6937): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:src/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:
streaming stopped, reason error (-5))
plugins/gstreamer_video_player/player.c: last gstreamer state change failed. gst_element_get_state(element name: pipeline0): GST_STATE_CHANGE_FAILURE
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(nativeerror, Input/output error, 5, null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
<asynchronous suspension>
#2 FlutterpiVideoPlayer.getPosition (package:flutterpi_gstreamer_video_player/src/platform.dart:155:20)
<asynchronous suspension>
#3 VideoPlayerController._applyPlayPause.<anonymous closure> (package:video_player/video_player.dart:586:41)
<asynchronous suspension>
my main
:
void main() {
// I added this check, so it still works for the web and android version to (debugging)
if (Platform.isLinux) {
FlutterpiVideoPlayer.registerWith();
}
runApp(const MyApp());
}
from flutter-pi.
Related Issues (20)
- Orange Pi Zero 3 configuration HOT 3
- Does flutter-pi work on Orange Pi 3 LTS? HOT 1
- Error installing flutterpi_tool HOT 1
- Member not found: 'windows_arm64' HOT 1
- MissingPluginException No implementation found for method openFile HOT 1
- Mouse Only Moves on Half the Screen with flutter-pi Rotated 90 Degrees
- RK3566 board get black screen with a cursor
- New Snapp CLI Update: Easy Raspberry Pi Setup from scratch, and Custom Device Integration HOT 2
- Flutter-pi and nanodlp image display conflict problem. HOT 1
- How can I install the precompile flutter-pi package on Raspberry Pi? HOT 1
- Memory leak on NXP IMX8x HOT 3
- Directory Structure after build HOT 2
- Flutter-pi compiled app on CoreMP183 errors HOT 1
- [Seeking for help] "io.flutter.rast" received signal SIGSEGV, Segmentation fault on NXP IMX8 HOT 2
- Is it possible to replace `systemd` with `libuv` HOT 16
- How to rotate touch input by 180 degrees without rotating the displayed app? HOT 2
- Smooth scrolling question HOT 12
- flutter-pi -r 180 doesn't rotate the shadows HOT 3
- Is the embedder engines pre-warmed?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-pi.