<br><div class="gmail_quote">2009/6/26 Julien Isorce <span dir="ltr"><<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="gmail_quote">2009/6/26 Phil Rendell <span dir="ltr"><<a href="mailto:philrendell@gmail.com" target="_blank">philrendell@gmail.com</a>></span><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="gmail_quote"><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></blockquote></div><div><br>I am not sure t follow you. You said "as if I remover the systemstream property, or set it to either true or false"<br>but you got a link error with "video/x-dv, systemstream=1". Then a crash ?<br>
</div></div></blockquote><div><br>Sorry, I probably should have laid that out clearer. I actually executed 4 commands there - one for systemstream=0, one for systemstream=1, one for systemstream=2 and the other as before.<br>
<br>If I do a gst-inspect on dshowvideosrc I can see that systemstream is set to true in one case and false in another. No matter what I set it to I always got a crash. However, now when I execute 'gst-launch dshowvideosrc ! "video/x-dv, systemstream=true" ! fakesink' I get a lot of console output, which I assume means everything works fine. I'm really not sure what I'm doing differently now though.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><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> <br></div></div></blockquote></div><div><br>Could you try to add systemstream property as following:<br>
<br>gst-launch-0.10.exe -v dshowvideosrc ! "video/x-dv, format=dvsd, width=640, height=480, framerate=10, systemstream=1" ! fakesink<br>
and<br>gst-launch-0.10.exe -v dshowvideosrc ! "video/x-dv, format=dvsd, width=640, height=480, framerate=10, systemstream=0" ! fakesink<br></div><div></div></div></blockquote><div><br>I think my attempts at experimenting are a little bit of a red herring. gst-launch crashes whenever I pass in the format argument. If I run gst-launch without this property set I still get the warning about the desired video size being invalid and the same type of console output I experienced just setting the caps to "video/x-dv, systemstream=true":<br>
<br>D:\Camera\Common\GStreamer\bin>gst-launch-0.10.exe -v dshowvideosrc ! "video/x-dv, systemstream=true, width=640, height=480, framerate=10" ! fakesink<br>Setting pipeline to PAUSED ...<br><br>** (gst-launch-0.10:3556): WARNING **: your desired video size is not valid : 640 mod 1244160 !=0<br>
<br>** (gst-launch-0.10:3556): WARNING **: your desired video size is not valid : 480 mod 1577311108 !=0<br><br>/GstPipeline:pipeline0/GstDshowVideoSrc:dshowvideosrc0.GstPad:src: caps = video/x-dv, systemstream=(boolean)true, width=(int)640, height=(int)480, framerate=(int)10<br>
Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-dv, systemstream=(boolean)true, width=(int)640, height=(int)480, framerate=(int)10<br>
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-dv, systemstream=(boolean)true, width=(int)640, height=(int)480, framerate=(int)10<br>/GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = video/x-dv, systemstream=(boolean)true, width=(int)640, height=(int)480, framerate=(int)10<br>
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "preroll *******"<br>/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "event ******* E(type: 102, GstEventNewsegment, update=(boolean)false, rate=(double)1, applied-rate=(double)1, format=(GstFormat)GST_FORMAT_BYTES, start=(gint64)0, stop=(gint64)-1, position=(gint64)0;) 013379C0"<br>
/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain ******* <(144000 bytes, timestamp: 0:00:00.078125000, duration: 0:00:00.040000000, offset: -1, offset_end: -1, flags: 32) 044D3320"<br>/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = "chain ******* <(144000 bytes, timestamp: 0:00:00.125000000, duration: 0:00:00.040000000, offset: -1, offset_end: -1, flags: 0) 044D3378"<br>
...<br><br>Again, it doesn't appear to work when I set systemstream to 0, 1, or 2, only booleans.<br><br>For some reason when I execute 'gst-launch dshowvideosrc ! "video/x-dv, systemstream=true, width=640, height=480, framerate=10" ! ffdec_dvvideo ! directdrawsink' I get the link error saying that it cannot link dshowvideosrc0 to ffdec_dvvideo0. Could this be something to do with the format parameter being missing?<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div><br>The thing I know is that dshowvideosrc implementation goes in a wrong way in case of "video/x-dv, systemstream=1". <br>
I mean it uses FORMAT_VideoInfos fields while it should use FORMAT_DvInfo fields.<br>Even if I have no dv camera I could try something but <br>first I really have to know if it's systemstream=0 or 1.</div></div></blockquote>
<div>You probably don't need it now, but I've attached a screenshot of the filter dialog in graphedit, which might be able to tell you which systemstream is being used.<br><br></div></div>Thanks,<br><br>Phil<br>