<br>
<div class="gmail_quote">2009/6/25 Julien Isorce <span dir="ltr"><<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="gmail_quote">
<div>You could tell us the output you get with the 2 following pipelines:<br><br>gst-launch-0.10 -v dshowvideosrc ! "video/x-dv, systemstream=0" ! fakesink<br><br>and<br><br>gst-launch-0.10 -v dshowvideosrc ! "video/x-dv, systemstream=1" ! fakesink<br>
</div></div></blockquote>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="gmail_quote">
<div>One should fail with a link error. The other one should lead to the crash you got.</div></div></blockquote>
<div> </div>
<div>Sorry, no joy with this. Both complained about an erroneous pipeline. I don't think this could be the same error as before with feeding dshowvideosrc into ffmpegcolorspace, as if I remover the systemstream property, or set it to either true or false, gst-launch crashes. Setting it to anything else appears to cause the erroneous pipeline error.</div>
<div> </div>
<div> D:\Camera\Common\GStreamer\bin>gst-launch-0.10.exe -v dshowvideosrc ! "video/x-dv, systemstream=0" ! fakesink<br>WARNING: erroneous pipeline: could not link dshowvideosrc0 to fakesink0</div>
<div>D:\Camera\Common\GStreamer\bin>gst-launch-0.10.exe -v dshowvideosrc ! "video/x-dv, systemstream=1" ! fakesink<br>WARNING: erroneous pipeline: could not link dshowvideosrc0 to fakesink0</div>
<div>D:\Camera\Common\GStreamer\bin>gst-launch-0.10.exe -v dshowvideosrc ! "video/x-dv, systemstream=2" ! fakesink<br>WARNING: erroneous pipeline: could not link dshowvideosrc0 to fakesink0</div>
<div>D:\Camera\Common\GStreamer\bin>gst-launch-0.10.exe -v dshowvideosrc ! fakesink<br>Setting pipeline to PAUSED ...</div>
<div><Crash></div>
<div>D:\Camera\Common\GStreamer\bin></div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="gmail_quote">
<div><span id=""></span><br>Then about the crash and the division by zero. I have some ideas but could you tell us<br>if there is any framerate (fps) infos in the page properties of the filter and the outpins using graphedit.<br>
Finally right click on the output pin and then select render pin. Then play the graph.<br>Does it play correctly?<br><font color="#888888"></font></div></div></blockquote>
<div> </div>
<div> </div>
<div>There does not appear to be any frame rate information in either output pin, nor information about the output size, or compression information. The same goes for either output pin. Rendering the DV A/V Out pin results in DV Splitter, DV Video Decoder, Video Renderer and Default DirectSound Device filters being created. Playing this results in the output from the camera being displayed on screen.</div>
<div> </div>
<div>I was wondering if I set the other attributes such as format, width, height and framerate to see if this makes a difference, but am a little puzzled about the output:</div>
<div> </div>
<div>D:\Camera\Common\GStreamer\bin>gst-launch-0.10.exe -v dshowvideosrc ! "video/x-dv, format=dvsd, width=640, height=480, framerate=10" ! fakesink<br>Setting pipeline to PAUSED ...</div>
<div>** (gst-launch-0.10:2448): WARNING **: your desired video size is not valid : 640 mod 1244160 !=0</div>
<div><br>** (gst-launch-0.10:2448): WARNING **: your desired video size is not valid : 480 mod 1577311108 !=0<br><Crash></div>
<div> </div>
<div> </div>
<div>Phil</div>
<div> </div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="gmail_quote">
<div><font color="#888888"><span id=""></span><br>Julien<br> </font></div>
<div class="im">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><font color="#888888"><br>Phil<br><br><br></font>
<div class="gmail_quote">
<div>2009/6/25 Julien Isorce <span dir="ltr"><<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>></span><br></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><br><br>
<div>
<div></div>
<div>
<div class="gmail_quote">
<div>2009/6/25 Phil Rendell <span dir="ltr"><<a href="mailto:philrendell@gmail.com" target="_blank">philrendell@gmail.com</a>></span><br></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><br>
<div>There is only one filter under the Video Capture Sources group: the Microsoft DV Camera and VCR. There are two output pins: DV A/V Out and DV Vid Out. All of the properties in DV A/V Out are disabled and are either empty or set to 'None', with the exception of the color space/compression (which is probably the one we're interested in) which is set to dvsd. <br>
<br>The properties for DV Vid Out are the same as above, but without the color space/compression set.<br><br></div></blockquote></div><br>Then I think gst-launch-0.10 dshowvideosrc ! fakesink can play (I should ask you first) because dvsd is ok with the current implementation.<br>
But in this case I can see from the implementation that dshowvideosrc outputs <br>video/x-dv<br>You should see it using -v option.<br>Anyway, ffmpegcolorspace doest not handle video/x-dv, that's why you got <br>
<div>"<font face="Courier New" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black">WARNING: erroneous pipeline: could not link dshowvideosrc0 to ffmpegcsp0"<br><br></span></font></div>Then you could try to insert a ffdec_dvvideo (if you have it) bettween dshowvideosrc and ffmpegcolorspace.<br>
(note that I do not know if gstreamer has a dv decoder that does not come from gst-ffmpeg)<br><br>Sincerely<br><font color="#888888"><br>Julien</font><br></div></div></blockquote></div></blockquote></div></div><br><br>------------------------------------------------------------------------------<br>
<br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>