<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">I have two scenario w.r.t <span id="misspell-0" class="">GST</span>_DEBUG_DUMP_DOT_DIR which causes problem while displaying video from webcam using v4l2src and xvimagesink.<br></div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="font-weight: bold;">scenario 1.</span> <span class="tab">    </span>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 <span style="font-weight:
 bold;">not being displayed</span> at all and gst-launch throwing error. the log is below</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">$ export GST_DEBUG_DUMP_DOT_DIR=/path-to-dot-file-dir/</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div class="yui_3_2_0_18_13490847872481745" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">$ gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! xvimagesink</div><div style="color: rgb(0, 0, 0);
 font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to get value for control 9963778 on device '/dev/video0'.<br>Additional debug info: <br>v4l2_calls.c(773): gst_v4l2_get_attribute (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:<br>system error: Invalid argument<br>WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to get value for control 9963779 on device '/dev/video0'.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">.......</div><div
 style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">...same error is coming endlessly..</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="font-weight: bold;">scenario 2.</span> <span class="tab">    </span><span id="misspell-33" class=""><span>Whereas</span></span> if i set GST_DEBUG_DUMP_DOT_DIR <span style="font-weight: bold;">to nothing</span>, then video window is being displayed the incoming video from my webcam with above pipeline. Hence No problem in this case. Log is below -- <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new
 roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">$ export GST_DEBUG_DUMP_DOT_DIR=<br>somanath@somanath:~/som_streaming/test_gst_som$ gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! xvimagesink<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Output window was closed<br>Additional debug info:<br>xvimagesink.c(1326): gst_xvimagesink_handle_xevents (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0<br>Execution ended after 8208983368 ns.<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>Freeing pipeline
 ...</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div class="yui_3_2_0_18_13490847872481361" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Hence could any one can give me some pointer about the <span style="font-weight: bold;"><span id="misspell-55" class=""><span>inconsistency</span></span></span> between scenario 1 and 2 wrt GST_DEBUG_DUMP_DOT_DIR variable set/reset ? </div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">I am <span id="misspell-56" class=""><span>beginner</span></span> in gstreamer, please excuse me for the way in which i am representing my queries.<br></div><div class="yui_3_2_0_18_13490847872481778"
 style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div class="yui_3_2_0_18_13490847872481778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div class="yui_3_2_0_18_13490847872481778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div class="yui_3_2_0_18_13490847872481778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">PS: with GST_DEBUG_DUMP_DOT_DIR, all other src element is working fine, like videotestsrc, playbin2, etc<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new
 york,times,serif; background-color: transparent; font-style: normal;"><br></div><div class="yui_3_2_0_18_13490847872481367" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Thanks & Regards,<br>Somanath<br></div><div class="yui_3_2_0_18_13490847872481784" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div class="yui_3_2_0_18_13490847872481784" style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new
 york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div></div></body></html>