-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video player init problem #442
Comments
I was able to get the video to run with 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
|
Sorry for the delay. You're on Raspberry Pi, right? Can you try building with At least the
parts look like a gstreamer/kernel issue that has been reported some times now. I have an idea for a workaround but I'm not sure it'll work, unfortunately. These parts:
I'm also not sure are flutter-pi related, there's not a single place that calls |
@ardera After running the same code with
|
I have a problem with loading a video with
gstreamer
andvideo_player
.code:
Just a simple widget that loads a video from the assets. Works on web and Android, but on flutter-pi:
What a I doing wrong here?
The text was updated successfully, but these errors were encountered: