Unsolved Unable to play video Qt5 multimedia ubuntu 16.04
-
Hi,
Can you read that video directly using GStreamer ?
-
@SGaist
Actually I can't -sudo gst-launch -v playbin2 uri=file://U1_Test_Test030.avi
Setting pipeline to PAUSED ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "file://U1_Test_Test030.avi"
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstGioSrc) source
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstURIDecodeBin:uridecodebin0/GstGioSrc:source: Could not open resource for reading.
Additional debug info:
gstgiosrc.c(324): gst_gio_src_get_stream (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstGioSrc:source:
Could not open location file://U1_Test_Test030.avi for reading: Operation not supported
Setting pipeline to NULL ...
Freeing pipeline ... -
@Jonathan-Levanon Why sudo?
-
@jsulm Without sudo it's the same..
-
Which version is this get-launch ?
-
@SGaist
gst-launch-0.10 version 0.10.36
GStreamer 0.10.36
https://launchpad.net/distros/ubuntu/+source/gstreamer0.10 -
Might be a silly question but do you have proper access to that file ?
Did you check whether it's broken ?
Can you test again but with the 1.0 tools ?
-
@SGaist
I have access, triple-checked it.
With 1.0 I get
ERROR: pipeline could not be constructed: no element "playbin2".Tried remove and reinstall all gstreamer-1.0 stuff, nothing changed
I've used export GST_DEBUG=4, log is on https://pastebin.com/742JBtba
-
What if you try to use only
playbin
? -
@SGaist Same error ERROR: pipeline could not be constructed: no element "playbin".
-
You should run
gst-inspect
to see what you have available on your system.