Audio gst bug workaround.
Lawrence Anthony
lawrence at theindianmaiden.com
Thu Sep 13 15:04:14 PDT 2012
I am trying to get around a certain gst bug so I can finish my project and am hoping that an audio expert can point me in the right direction. My pipeline is pretty straight forward at this point:
gst-launch -v -m decklinksrc mode=11 ! alsasink
Does anybody know of a way to get around this bug? I have tried quite a few combos of audioconvert but nothing seems to work.
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got message #4 from element "alsasink0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #5 from element "decklinksrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #6 from element "pipeline0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
Got message #9 from element "decklinksrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Got message #10 from element "pipeline0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING;
Setting pipeline to PLAYING ...
Got message #11 from element "pipeline0" (new-clock): GstMessageNewClock, clock=(GstClock)"\(GstSystemClock\)\ GstSystemClock";
New clock: GstSystemClock
Got message #12 from element "decklinksrc0" (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING;
/GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0.GstPad:videosrc: caps = video/x-raw-yuv, format=(fourcc)UYVY, width=(int)1920, height=(int)1080, framerate=(fraction)30000/1001, interlaced=(boolean)true, pixel-aspect-ratio=(fraction)1/1, color-matrix=(string)hdtv, chroma-site=(string)mpeg2
Got message #14 from element "decklinksrc0" (error): /GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0.GstPad:audiosrc: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, depth=(int)16, width=(int)16, channels=(int)2, rate=(int)48000
GstMessageError, gerror=(GError)NULL, debug=(string)"gstdecklinksrc.cpp\(1248\):\ gst_decklink_src_task\ \(\):\ /GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0";
ERROR: from element /GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstdecklinksrc.cpp(1248): gst_decklink_src_task (): /GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0
Execution ended after 1002079593 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, depth=(int)16, width=(int)16, channels=(int)2, rate=(int)48000
/GstPipeline:pipeline0/GstAlsaSink:alsasink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0.GstPad:videosrc: caps = NULL
/GstPipeline:pipeline0/GstDecklinkSrc:decklinksrc0.GstPad:audiosrc: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
More information about the gstreamer-devel
mailing list