oh there is ffdemux_dv to demux systemstream=true.<br><br>So you can try:<br><br>gst-launch-0.10.exe dshowvideosrc ! &quot;video/x-dv, systemstream=true, width=640, height=480, framerate=10&quot; ! ffdemux_dv ! ffmpegcolorspace ! directdrawsink<br>
<br>Julien<br><br><div class="gmail_quote">2009/6/26 Julien Isorce <span dir="ltr">&lt;<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
First I do not understand why you get a difference bettween <br>
systemstream=true and systemstream=1<br>
it should be the same thing.<br>
<br>
****Can someone else help us on this exact question:<br>
If a propriety is a boolean, then set it to 1 or True, is the same thing ?<br>
<br>
Forgot this problem then we will use true and false, instead of 0 and 1. Sorry for waste of time.<br>
Well if I resume:<br>
<br>
gst-launch-0.10.exe dshowvideosrc ! &quot;video/x-dv, systemstream=true, width=640, height=480, framerate=10&quot; ! fakesink<br>
works fine (goes to playing state without crash) except the two warnings.<br>
<br>
Then gst-inspect-0.10 ffdec_dvvideo shows that ffdec_dvvideo only accepts systemstream=false.<br>
<br>
***Can someone else help us on this other question:<br>
Does gstreamer have a decoder for &quot;video/x-dv, systemstream=true&quot; ? Does it make sense ?<br>
<br>
Phil, can you tell me if <br>
gst-launch-0.10.exe dshowvideosrc ! &quot;video/x-dv, systemstream=false, width=640, height=480, framerate=10&quot; ! fakesink<br>
leads to the same result as true ?<br>
<br>
About the screenshot. I can see that only the pin00 can be handled by dshowvideosrc because it&#39;s<br>
MEDIATYPE_Video and MEDIASUBTYPE_dvsd<br>
but unfortunatelly grapedit does not tell us if it&#39;s FORMAT_DvInfo (case systemstream=true)<br>
or FORMAT_VideoInfo (case systemstream=false)<br>
About the warnings, do not care about it, it seems that granularityVideoWidth/Height are not set by your camera driver.<br>
Or has no sense in case of systemstream=true.<br>
<br>
Anyway, for now I just do not know how to decode or render a video/x-dv, systemstream=true.<br>
I am sure someone else knows ?<br><font color="#888888">
<br>
Julien<br>
<br>
<br><br><br></font><div class="gmail_quote"><div><div></div><div class="h5">2009/6/26 Phil Rendell <span dir="ltr">&lt;<a href="mailto:philrendell@gmail.com" target="_blank">philrendell@gmail.com</a>&gt;</span><br></div>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<br><div class="gmail_quote">2009/6/26 Julien Isorce <span dir="ltr">&lt;<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>&gt;</span><div><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">&lt;<a href="mailto:philrendell@gmail.com" target="_blank">philrendell@gmail.com</a>&gt;</span><div><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&#39;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&gt;gst-launch-0.10.exe -v dshowvideosrc ! &quot;video/x-dv, systemstream=0&quot; ! fakesink<br>WARNING: erroneous pipeline: could not link dshowvideosrc0 to fakesink0</div>
<div>D:\Camera\Common\GStreamer\bin&gt;gst-launch-0.10.exe -v dshowvideosrc ! &quot;video/x-dv, systemstream=1&quot; ! fakesink<br>WARNING: erroneous pipeline: could not link dshowvideosrc0 to fakesink0</div>
<div>D:\Camera\Common\GStreamer\bin&gt;gst-launch-0.10.exe -v dshowvideosrc ! &quot;video/x-dv, systemstream=2&quot; ! fakesink<br>WARNING: erroneous pipeline: could not link dshowvideosrc0 to fakesink0</div>
<div>D:\Camera\Common\GStreamer\bin&gt;gst-launch-0.10.exe -v dshowvideosrc ! fakesink<br>Setting pipeline to PAUSED ...</div>
<div>&lt;Crash&gt;</div>
<div>D:\Camera\Common\GStreamer\bin&gt;</div></div></blockquote></div><div><br>I am not sure t follow you. You said &quot;as if I remover the systemstream property, or set it to either true or false&quot;<br>but you got a link error with &quot;video/x-dv, systemstream=1&quot;. Then a crash ?<br>




</div></div></blockquote></div><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 &#39;gst-launch dshowvideosrc ! &quot;video/x-dv, systemstream=true&quot; ! fakesink&#39; I get a lot of console output, which I assume means everything works fine. I&#39;m really not sure what I&#39;m doing differently now though.<br>



<br></div><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><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&gt;gst-launch-0.10.exe -v dshowvideosrc ! &quot;video/x-dv, format=dvsd, width=640, height=480, framerate=10&quot; ! 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>&lt;Crash&gt; <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 ! &quot;video/x-dv, format=dvsd, width=640, height=480, framerate=10, systemstream=1&quot; ! fakesink<br>
and<br>gst-launch-0.10.exe -v dshowvideosrc ! &quot;video/x-dv, format=dvsd, width=640, height=480, framerate=10, systemstream=0&quot; ! fakesink<br></div><div></div></div></blockquote></div><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 &quot;video/x-dv, systemstream=true&quot;:<br>



<br>D:\Camera\Common\GStreamer\bin&gt;gst-launch-0.10.exe -v dshowvideosrc ! &quot;video/x-dv, systemstream=true, width=640, height=480, framerate=10&quot; ! 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 = &quot;preroll   *******&quot;<br>/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = &quot;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&quot;<br>



/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = &quot;chain   ******* &lt;(144000 bytes, timestamp: 0:00:00.078125000, duration: 0:00:00.040000000, offset: -1, offset_end: -1, flags: 32) 044D3320&quot;<br>/GstPipeline:pipeline0/GstFakeSink:fakesink0: last-message = &quot;chain   ******* &lt;(144000 bytes, timestamp: 0:00:00.125000000, duration: 0:00:00.040000000, offset: -1, offset_end: -1, flags: 0) 044D3378&quot;<br>



...<br><br>Again, it doesn&#39;t appear to work when I set systemstream to 0, 1, or 2, only booleans.<br><br>For some reason when I execute &#39;gst-launch dshowvideosrc ! &quot;video/x-dv, systemstream=true, width=640, height=480, framerate=10&quot; ! ffdec_dvvideo ! directdrawsink&#39; 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><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 &quot;video/x-dv, systemstream=1&quot;. <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&#39;s systemstream=0 or 1.</div></div></blockquote>



</div><div>You probably don&#39;t need it now, but I&#39;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><font color="#888888"><br>

Phil<br>
</font><br></div></div><div class="im">------------------------------------------------------------------------------<br>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">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></div></blockquote></div><br>
</blockquote></div><br>