GNOME Bugzilla – Bug 673268
Failed to configure the video sink.
Last modified: 2012-04-01 02:51:22 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
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. .......
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.