[opensuse-factory] gstreamer playback working for anyone on Factory/Tumbleweed?
Hi, as gstreamer with its combination of packman codecs and lots of packages is quite easy to get wrong, I'd like to ask here before opening a bugzilla entry: Can anyone play this on Tumbleweed with gst-launch-1.0 playbin \ uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm (gst-launch-1.0 is in gstreamer-utils package) I'm always getting... ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source: Internal data flow error. Additional debug info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source: streaming task paused, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... It works on Leap 42.1 (different gstreamer version of course) I'm trying to use gstreamer in my own project, and was wondering what I'm doing wrong until I found that the simple demo commandline also does not work :-) Thanks, seife -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Saturday 2016-11-05 18:50, Stefan Seyfried wrote:
Hi,
as gstreamer with its combination of packman codecs and lots of packages is quite easy to get wrong, I'd like to ask here before opening a bugzilla entry: Can anyone play this on Tumbleweed with
gst-launch-1.0 playbin \ uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm
gst seems to have a problem.. jengelh@linux-sutw:~> gst-play-1.0 The\ Northernmost\ Town\ on\ Earth\ \(Svalbard\ in\ 4K\)-5NhIRwCq428.webm Press 'k' to see a list of keyboard shortcuts. Now playing /home/jengelh/The Northernmost Town on Earth (Svalbard in 4K)-5NhIRwCq428.webm WARNING No decoder available for type 'video/webm'. WARNING debug information: gsturidecodebin.c(939): unknown_type_cb (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0 ERROR Your GStreamer installation is missing a plug-in. for file:///home/jengelh/The%20Northernmost%20Town%20on%20Earth%20(Svalbard%20in%204K)-5NhIRwCq428.webm ERROR debug information: gsturidecodebin.c(1006): no_more_pads_full (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: no suitable plugins found: gstdecodebin2.c(4565): gst_decode_bin_expose (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: no suitable plugins found: Missing decoder: WebM (video/webm) The same video works with `ffplay` (from ffmpeg-3.2-110.1) on TW. [Same gst result with the sintel trailer] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Jan, Am 05.11.2016 um 19:09 schrieb Jan Engelhardt:
gst-launch-1.0 playbin \ uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm
gst seems to have a problem..
I think so, too, but we're seeing different errors.
jengelh@linux-sutw:~> gst-play-1.0 The\ Northernmost\ Town\ on\ Earth\ \(Svalbard\ in\ 4K\)-5NhIRwCq428.webm Press 'k' to see a list of keyboard shortcuts. Now playing /home/jengelh/The Northernmost Town on Earth (Svalbard in 4K)-5NhIRwCq428.webm WARNING No decoder available for type 'video/webm'. WARNING debug information: gsturidecodebin.c(939): unknown_type_cb (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0 ERROR Your GStreamer installation is missing a plug-in. for file:///home/jengelh/The%20Northernmost%20Town%20on%20Earth%20(Svalbard%20in%204K)-5NhIRwCq428.webm ERROR debug information: gsturidecodebin.c(1006): no_more_pads_full (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: no suitable plugins found: gstdecodebin2.c(4565): gst_decode_bin_expose (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: no suitable plugins found: Missing decoder: WebM (video/webm)
"Missing decoder". I'm seeing this with gst-play: ERROR Internal data flow error. for http://docs.gstreamer.com/media/sintel_trailer-480p.webm ERROR debug information: gstbasesrc.c(2948): gst_base_src_loop (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source: streaming task paused, reason not-negotiated (-4) So I'm not sure if we are experiencing the same issue... -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Saturday 2016-11-05 19:19, Stefan Seyfried wrote:
Hi Jan,
Am 05.11.2016 um 19:09 schrieb Jan Engelhardt:
gst-launch-1.0 playbin \ uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm
gst seems to have a problem..
I think so, too, but we're seeing different errors.
Missing decoder: WebM (video/webm)
"Missing decoder". I'm seeing this with gst-play: ERROR Internal data flow error.
So I'm not sure if we are experiencing the same issue...
Possibly. I don't have gstreamer-plugins-{good,bad,...} installed, only gstreamer-plugins-base. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Stefan, On Sat, 2016-11-05 at 18:50 +0100, Stefan Seyfried wrote:
Hi,
as gstreamer with its combination of packman codecs and lots of packages is quite easy to get wrong, I'd like to ask here before opening a bugzilla entry: Can anyone play this on Tumbleweed with
gst-launch-1.0 playbin \ uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm
Tested, works here (created a screenshot, see http://paste.opensuse.org /22402254 gst-launch-1.0 playbin \
uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm Setting pipeline to PAUSED ... Pipeline is PREROLLING ... libva info: VA-API version 0.39.3 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) libva info: VA-API version 0.39.3 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) libva info: VA-API version 0.39.3 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) libva info: VA-API version 0.39.3 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 Got context from element 'vaapidecode': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)NULL; Redistribute latency... Prerolled, waiting for buffering to finish... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstPulseSinkClock
I have to say though that I'm not using PackMan (in any way, repo not enabled); my GST is 'stock' plus the Oneplay codec pack (former fluendo). This is the combination that always caused me the less amount of grief. Cheers, Dominique
On Sat, 2016-11-05 at 19:17 +0100, Dominique Leuenberger / DimStar wrote:
Stefan,
On Sat, 2016-11-05 at 18:50 +0100, Stefan Seyfried wrote:
Hi,
as gstreamer with its combination of packman codecs and lots of packages is quite easy to get wrong, I'd like to ask here before opening a bugzilla entry: Can anyone play this on Tumbleweed with
gst-launch-1.0 playbin \ uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm
Tested, works here (created a screenshot, see http://paste.opensuse.o rg /22402254
gst-launch-1.0 playbin \
uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm
For the record, zypper records those gstreamer related packages on my system: zypper se -si gstreamer Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+---------------------------------+-------------+------------------ --+--------+------------------ i | GStreamer Multimedia Codecs | application | | noarch | GNOME:Next i | PackageKit-gstreamer-plugin | package | 1.1.4- 384.5 | x86_64 | GNOME:Next i | gstreamer | package | 1.8.3- 109.25 | x86_64 | GNOME:Next i | gstreamer-libnice | package | 0.1.13- 82.7 | x86_64 | GNOME:Next i | gstreamer-plugin-gstclutter | package | 2.0.18- 19.9 | x86_64 | GNOME:Next i | gstreamer-plugin-gstclutter-3_0 | package | 3.0.20- 125.2 | x86_64 | GNOME:Next i | gstreamer-plugins-bad | package | 1.8.3- 172.3 | x86_64 | GNOME:Next i | gstreamer-plugins-base | package | 1.8.3- 104.49 | x86_64 | GNOME:Next i | gstreamer-plugins-cogl | package | 1.22.2- 128.36 | x86_64 | GNOME:Next i | gstreamer-plugins-farstream | package | 0.2.8- 44.13 | x86_64 | GNOME:Next i | gstreamer-plugins-good | package | 1.8.3- 123.1 | x86_64 | GNOME:Next i | gstreamer-plugins-ugly | package | 1.8.3- 93.3 | x86_64 | GNOME:Next i | gstreamer-plugins-vaapi | package | 1.8.3- 34.3 | x86_64 | GNOME:Next i | gstreamer-utils | package | 1.8.3- 109.25 | x86_64 | GNOME:Next i | gstreamer-validate | package | 1.8.3- 22.2 | x86_64 | GNOME:Next i | libgstreamer-1_0-0 | package | 1.8.3- 109.25 | x86_64 | GNOME:Next i | libgupnp-dlna-backend-gstreamer | package | 0.10.5- 75.3 | x86_64 | GNOME:Next i | oneplay-gstreamer-codecs-pack | package | 22- 2 | x86_64 | (System Packages) i | vlc-beta-codec-gstreamer | package | 3.0.0-2016102201.3 | x86_64 | VLC Cheers, Dominique
Hi Dominique, Am 05.11.2016 um 19:27 schrieb Dominique Leuenberger / DimStar:
gst-launch-1.0 playbin \
uri=http://docs.gstreamer.com/media/sintel_trailer-480p.webm
For the record, zypper records those gstreamer related packages on my system:
this was a very important hint :-)
zypper se -si gstreamer
i | gstreamer-plugins-vaapi | package | 1.8.3-
this was the missing package. And no, I would never have guessed from the error message... I have now also removed all packman gstreamer packages and at least the sintel trailer can still be be played :-) (I still have ffmpeg & friends installed, maybe they are used) Thanks, now I can start debugging why my own code does not work (or maybe it now just does...) have fun, seife -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
lø., 05.11.2016 kl. 19.48 +0100, skrev Stefan Seyfried:
zypper se -si gstreamer i | gstreamer-plugins-vaapi | package | 1.8.3-
this was the missing package. And no, I would never have guessed from the error message...
That is probably just papering over the issue. gstreamer-plugins-good is what provides "webm" support. gst-vaapi should in no shape or form be mandatory (granted if you have hardware that can make use of it, then please do). Adding GST_DEBUG=3 (or 4, 5..) infront of your pipeline should provide you with more debuginfo on what goes wrong. Using your example pipeline, it fails for me too if I remove my gst- oneplayer-codecs (the box im on now does not have vaapi support enabled currently). However passing the url to totem plays the video just fine, so I guess you need to tweak the pipeline to something that works for playbin, even without gst-vaapi installed. As you can not expect users to have vaapi support. //Bjørn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Bjørn Lie
-
Dominique Leuenberger / DimStar
-
Jan Engelhardt
-
Stefan Seyfried