GNOME Bugzilla – Bug 667578
[0.11] playsink: Visualizations don't work anymore, negotiation problem
Last modified: 2012-02-20 14:22:26 UTC
Happens with all visualizers that are ported. For example: [...] message from "player" (element): playbin-stream-changed, uri=(string)file:///home/slomo/Projects/gstreamer/head-0.11/samples/8_Channel_ID.wav; message from "player" (element): playbin-stream-changed, uri=(string)file:///home/slomo/Projects/gstreamer/head-0.11/samples/8_Channel_ID.wav; 0:00:11.995659778 11514 0x7fffe00043a0 ERROR default video.c:903:gst_video_info_from_caps: wrong name 'audio/x-raw', expected video/x-raw message from "v_sink-actual-sink-xvimage" (tag): taglist, audio-codec=(string)"Uncompressed\ 24-bit\ PCM\ audio"; message from "a_sink-actual-sink-pulse" (tag): taglist, audio-codec=(string)"Uncompressed\ 24-bit\ PCM\ audio"; message from "wavparse0" (error): GstMessageError, gerror=(GError)NULL, debug=(string)"gstwavparse.c\(2063\):\ gst_wavparse_loop\ \(\):\ /GstPlayBin:player/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstWavParse:wavparse0:\012streaming\ task\ paused\,\ reason\ not-negotiated\ \(-4\)"; The audio/x-raw caps arrive at xvimagesink.
Breakpoint 1, gst_video_info_from_caps (info=0x7fffde4f7480, caps=0x66f050) at video.c:904 904 return FALSE; (gdb) bt
+ Trace 229420
In the GstPlaySinkVideoConvert bin, both the videoconvert and the videoscale are bypassed and unused, instead an identity element is linked. Since we're feeding into xvimagesink by default, we get a not-negotiated. gst-launch-0.11 playbin uri=file:///path/to/foo.flac flags="soft-volume+text+audio+video+vis" video-sink=ximagesink works just fine, however.
this fixes it for me: commit 4370d42cb9928d894904cbf769f2e33c30b4b0ee Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Feb 20 15:17:29 2012 +0100 playback: find raw caps correctly