After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673268 - Failed to configure the video sink.
Failed to configure the video sink.
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: common
0.10.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-01 01:44 UTC by r.gao.unimelb
Modified: 2012-04-01 02:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description r.gao.unimelb 2012-04-01 01:44:37 UTC
Not sure what was the problem, gst actually plays video find by itself with no problem using autovideosink (xvimagesink)

$ gst-launch-0.10 filesrc location=/media/8C68A51968A502D6/TDDOWNLOAD/kmi039.wmv ! decodebin2 name=dec ! queue ! autovideosink dec. ! queue ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
ERROR: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: Output window was closed
Additional debug info:
xvimagesink.c(1311): gst_xvimagesink_handle_xevents (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage
Execution ended after 12485428145 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

However, using totem to play, will get the following message:

$ totem /media/8C68A51968A502D6/TDDOWNLOAD/kmi039.wmv 
** Message: Error: Internal GStreamer error: pad problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
gstplaysink.c(1362): gen_video_chain (): /GstPlayBin2:play/GstPlaySink:playsink0:
Failed to configure the video sink.

note have tried setting gconf-editor key /system/gstreamer/0.10/default/videosink to autovideosink or xvimagesink, but no luck

Have tried reinstall gstreamer, no luck
Comment 1 r.gao.unimelb 2012-04-01 02:00:21 UTC
Tried the debug mode in totem gst and have these:

debug-level=2:

0:00:02.476688129  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:420:bvw_error_msg: message = Internal GStreamer error: pad problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
0:00:02.476737416  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:422:bvw_error_msg: domain  = 5152 (gst-core-error-quark)
0:00:02.476757512  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:423:bvw_error_msg: code    = 5
0:00:02.476775486  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:424:bvw_error_msg: debug   = gstplaysink.c(1362): gen_video_chain (): /GstPlayBin2:play/GstPlaySink:playsink0:
Failed to configure the video sink.
0:00:02.476801005  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:425:bvw_error_msg: source  = <playsink0>
0:00:02.476822222  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:426:bvw_error_msg: uri     = file:///media/8C68A51968A502D6/TDDOWNLOAD/kmi039.wmv
** Message: Error: Internal GStreamer error: pad problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
gstplaysink.c(1362): gen_video_chain (): /GstPlayBin2:play/GstPlaySink:playsink0:
Failed to configure the video sink.



debug-level=3:

......
0:00:02.476688129  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:420:bvw_error_msg: message = Internal GStreamer error: pad problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
0:00:02.476737416  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:422:bvw_error_msg: domain  = 5152 (gst-core-error-quark)
0:00:02.476757512  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:423:bvw_error_msg: code    = 5
0:00:02.476775486  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:424:bvw_error_msg: debug   = gstplaysink.c(1362): gen_video_chain (): /GstPlayBin2:play/GstPlaySink:playsink0:
Failed to configure the video sink.
0:00:02.476801005  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:425:bvw_error_msg: source  = <playsink0>
0:00:02.476822222  2341 0xb7a540e0 ERROR                  totem bacon-video-widget-gst-0.10.c:426:bvw_error_msg: uri     = file:///media/8C68A51968A502D6/TDDOWNLOAD/kmi039.wmv
** Message: Error: Internal GStreamer error: pad problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
gstplaysink.c(1362): gen_video_chain (): /GstPlayBin2:play/GstPlaySink:playsink0:
Failed to configure the video sink.
.......
Comment 2 r.gao.unimelb 2012-04-01 02:51:22 UTC
Okay, i have fixed this...not a bug..but a simple setting problem as I suspected.

$ gstreamer-properties

the video plugin setting is set to custom for some reason....changed back to autodetect and it works.