Bug#762579: gstreamer1.0-vaapi: Does not work at all (with totem)
On Tue, 2014-09-23 at 12:50 +0200, Julian Andres Klode wrote: Package: gstreamer1.0-vaapi Version: 0.5.9-2 Severity: important Trying to play back a simple MP4 movie with H.264 video and AAC audio, does not work at all. Only displays an error. I found that running $ gst-launch-1.0 playbin uri=file://location of the file video-sink=cluttersink audio-filter=scaletempo flags=0x17 which is the pipeline handled by totem[1] but with no de-interlace and no color balance by software, it works fairly OK. Sadly, it is not straightforward to set this flags in totem. I cooked a hackish patch for this use-case, which modifies the playbin (gst-plugins-base1.0 source package), enabling the flags setting through the environment variable GST_PLAYBIN_FLAGS Then you could run the $ GST_PLAYBIN_FLAG=0x17 totem location of the file vmjl 1. https://wiki.gnome.org/Apps/Videos/BugReporting --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -3786,8 +3786,23 @@ no_chain: gboolean gst_play_sink_set_flags (GstPlaySink * playsink, GstPlayFlags flags) { + const gchar *env; + g_return_val_if_fail (GST_IS_PLAY_SINK (playsink), FALSE); + env = g_getenv (GST_PLAYBIN_FLAGS); + if (env) { +gulong newflags; +int olderrno; + +olderrno = errno; +errno = 0; +newflags = strtoul (env, NULL, 0); +if (errno == 0 newflags = ((1 12) - 1)) + flags = (GstPlayFlags) newflags; +errno = olderrno; + } + GST_OBJECT_LOCK (playsink); playsink-flags = flags; GST_OBJECT_UNLOCK (playsink);
Bug#762579: gstreamer1.0-vaapi: Does not work at all (with totem)
Package: gstreamer1.0-vaapi Version: 0.5.9-2 Severity: important Trying to play back a simple MP4 movie with H.264 video and AAC audio, does not work at all. Only displays an error. libva info: VA-API version 0.35.1 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_35 libva info: va_openDriver() returns 0 0:00:00.389620686 22381 0x7fa54c0a79e0 ERRORvaapidecode ../../../gst/vaapi/gstvaapidecode.c:397:gst_vaapidecode_push_decoded_frame: video sink rejected the video buffer (error -4) 0:00:00.389730217 22381 0x7fa55802a540 ERRORvaapidecode ../../../gst/vaapi/gstvaapidecode.c:278:gst_vaapidecode_decode_frame: decode loop error -4 0:00:00.424314735 22381 0x7fa59a74db50 ERRORdefault totem-gst-helpers.c:61:totem_gst_message_print: message = GStreamer hat einen allgemeinen Datenstromfehler festgestellt. 0:00:00.424355955 22381 0x7fa59a74db50 ERRORdefault totem-gst-helpers.c:63:totem_gst_message_print: domain = 5183 (gst-stream-error-quark) 0:00:00.424371172 22381 0x7fa59a74db50 ERRORdefault totem-gst-helpers.c:64:totem_gst_message_print: code= 1 0:00:00.424383075 22381 0x7fa59a74db50 ERRORdefault totem-gst-helpers.c:65:totem_gst_message_print: debug = qtdemux.c(4434): gst_qtdemux_loop (): /GstPlayBin:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: streaming stopped, reason not-negotiated 0:00:00.424399141 22381 0x7fa59a74db50 ERRORdefault totem-gst-helpers.c:66:totem_gst_message_print: source = qtdemux0 0:00:00.424412753 22381 0x7fa59a74db50 ERRORdefault totem-gst-helpers.c:67:totem_gst_message_print: uri = (NULL) -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (980, 'unstable'), (500, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gstreamer1.0-vaapi depends on: ii libc6 2.19-11 ii libglib2.0-02.41.5-2 ii libgstreamer-plugins-base1.0-0 1.4.2-1 ii libgstreamer-vaapi1.0-0 0.5.9-2 ii libgstreamer1.0-0 1.4.2-1 ii multiarch-support 2.19-11 gstreamer1.0-vaapi recommends no packages. Versions of packages gstreamer1.0-vaapi suggests: pn gstreamer1.0-vaapi-doc none -- no debconf information -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. Be friendly, do not top-post, and follow RFC 1855 Netiquette. - If you don't I might ignore you. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#762579: gstreamer1.0-vaapi: Does not work at all (with totem)
On Di, 2014-09-23 at 12:50 +0200, Julian Andres Klode wrote: Package: gstreamer1.0-vaapi Version: 0.5.9-2 Severity: important Trying to play back a simple MP4 movie with H.264 video and AAC audio, does not work at all. Only displays an error. [...] This is a known problem with clutter-gst since a long time. There's some work done upstream on improving that and people had it working, but I don't know if it's merged or part of any clutter-gst release yet. signature.asc Description: This is a digitally signed message part