problem with GST_DEBUG_DUMP_DOT_DIR & v4l2src

somanath sahoo bapi_mvit2004 at yahoo.com
Mon Oct 1 03:35:39 PDT 2012


Hi,

I have two scenario w.r.t GST_DEBUG_DUMP_DOT_DIR which causes problem while displaying video from webcam using v4l2src and xvimagesink.


scenario 1.     If i set GST_DEBUG_DUMP_DOT_DIR environment variable before launching gst-launch-0.10 with v4l2src in order to send video data from my webcam to xvimagesink, video output window is not being displayed at all and gst-launch throwing error. the log is below

$ export GST_DEBUG_DUMP_DOT_DIR=/path-to-dot-file-dir/

$ gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! xvimagesink

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to get value for control 9963778 on device '/dev/video0'.
Additional debug info: 
v4l2_calls.c(773): gst_v4l2_get_attribute (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Invalid argument
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to get value for control 9963779 on device '/dev/video0'.
.......
...same error is coming endlessly..

scenario 2.     Whereas if i set GST_DEBUG_DUMP_DOT_DIR to nothing, then video window is being displayed the incoming video from my webcam with above pipeline. Hence No problem in this case. Log is below -- 


$ export GST_DEBUG_DUMP_DOT_DIR=
somanath at somanath:~/som_streaming/test_gst_som$ gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Output window was closed
Additional debug info:
xvimagesink.c(1326): gst_xvimagesink_handle_xevents (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0
Execution ended after 8208983368 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Hence could any one can give me some pointer about the inconsistency between scenario 1 and 2 wrtGST_DEBUG_DUMP_DOT_DIR variable set/reset ? 
I am beginner in gstreamer, please excuse me for the way in which i am representing my queries.




PS: with GST_DEBUG_DUMP_DOT_DIR, all other src element is working fine, like videotestsrc, playbin2, etc


Thanks & Regards,
Somanath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121001/7eaa6632/attachment-0001.html>


More information about the gstreamer-devel mailing list