<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px">I have been able to build gstreamer using cerbero! I am building 1.4 with mingw on windows 7. Build had only two minor hiccups:<br style="" class=""><br style="" class="">1- problem with certificates which I worked around with this change:<br style="" class=""><br style="" class="">diff --git a/cerbero/bootstrap/windows.py b/cerbero/bootstrap/windows.py<br style="" class="">index 71010f9..9d11456 100644<br style="" class="">--- a/cerbero/bootstrap/windows.py<br style="" class="">+++ b/cerbero/bootstrap/windows.py<br style="" class="">@@ -136,7 +136,7 @@ class WindowsBootstrapper(BootstrapperBase):<br style="" class=""> else:<br style="" class=""> inst_path = os.path.join(self.prefix, 'x86_64-w64-mingw32/include/GL/wglext.h')<br style="" class=""> gl_header = 'http://www.opengl.org/registry/api/GL/wglext.h'<br style="" class="">- shell.download(gl_header, inst_path)<br style="" class="">+ shell.download(gl_header, inst_path, False, False)<br style="" class=""><br style="" class=""> def install_bin_deps(self):<br style="" class=""> # FIXME: build intltool as part of the build tools bootstrap<br style="" class=""><br style="" class="">2- failure to build libtag which I simply skipped.<br style="" class=""><br style="" class=""><div id="yui_3_16_0_1_1429950013756_26601">I then did a number of tests around ksvideosrc:</div><div id="yui_3_16_0_1_1429950013756_26603">Using gst-launch I ran this simple pipeline : ksvideosrc ! fpsdisplaysink<br style="" class=""><br style="" class="">----------------------------------------<br style="" class="">ksvideosrc 1.4 branch<br style="" class="">----------------------------------------<br style="" class=""><br style="" class="">A lot of buffers are being dropped. (gstbasesink.c(2794): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstAutoVideoSink:fps-display-video_sink/GstD3DVideoSink:fps-display-video_sink-actual-sink-d3dvideo:<br style="" class="">There may be a timestamping problem, or this computer is too slow.)<br style="" class=""><br style="" class="">ksvideosrc has a clock.<br style="" class=""><br style="" class="">fpsdisplaysink reports: rendered: 164, dropped: 136, fps 13.13, drop rate: 7.50<br style="" class=""></div><div id="yui_3_16_0_1_1429950013756_27219">----------------------------------------<br style="" class="">ksvideosrc 1.4 branch + patch<br style="" class="">----------------------------------------<br style="" class=""><br style="" class="">A lot of buffers are being dropped. (gstbasesink.c(2794): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstAutoVideoSink:fps-display-video_sink/GstD3DVideoSink:fps-display-video_sink-actual-sink-d3dvideo:<br style="" class="">There may be a timestamping problem, or this computer is too slow.)<br style="" class=""><br style="" class="">ksvideosrc has a clock.<br style="" class=""><br style="" class="">fpsdisplaysink reports: rendered: 0, dropped: 129, fps 0.00, drop rate: 15.83</div><div id="yui_3_16_0_1_1429950013756_28319"><br></div><div id="yui_3_16_0_1_1429950013756_27218">----------------------------------------<br style="" class="">ksvideosrc master branch<br style="" class="">----------------------------------------<br style="" class=""><br style="" class="">Fails to acquire a clock:<br style="" class="">WARN : 0:00:03.072565684 5372 08FEAA40 WARN ksvideosrc gstksvideosrc.c:456:gst_ks_video_src_open_device:<ksvideosrc0> failed to create/open KsClock<br style="" class=""><br style="" class="">fpsdisplaysink reports: rendered: 328, dropped: 92, fps 3.38, drop rate: 6.76<br style="" class=""><br style="" class="">----------------------------------------<br style="" class="">ksvideosrc master branch + patch<br style="" class="">----------------------------------------<br style="" class=""><br style="" class="">Same clock warning as master.<br style="" class=""></div><div id="yui_3_16_0_1_1429950013756_27767"><br></div><div id="yui_3_16_0_1_1429950013756_28317">fpsdisplaysink reports: rendered: 0, dropped: 192, fps 0.00, drop rate: 28.27<br style="" class=""><br style="" class="">----------------------------------------<br style="" class="">clock issue<br style="" class="">----------------------------------------<br style="" class=""><br style="" class="">The clock issue that appears in master comes from this addition:<br style="" class=""><br style="" class="">+ /* Enumerate only capture devices */<br style="" class="">+ if_alias_data.cbSize = sizeof (SP_DEVICE_INTERFACE_DATA);<br style="" class="">+ success = SetupDiGetDeviceInterfaceAlias (devinfo, &if_data, &KSCATEGORY_CAPTURE,<br style="" class="">+ &if_alias_data);<br style="" class="">+ if (!success)<br style="" class="">+ continue;<br style="" class=""><br style="" class="">----------------------------------------<br style="" class="">other<br style="" class="">----------------------------------------<br style="" class=""><br style="" class="">In all test scenario above, I always receive one qos event:<br style="" class="">qos event: live: 1; running time: 0; stream time: 0; timestamp: 1741382649; duration: 33333333 jitter: 1756806371; proportion: -1; quality: 1000000; format: ; processed: 0; dropped: 1;<br style="" class=""></div><div id="yui_3_16_0_1_1429950013756_28873"><br></div><div id="yui_3_16_0_1_1429950013756_28876">What is strange is that in all test cases, the video visually seems to run at ~30fps.<br style="" class="">Forcing the frame rate to 10fps makes a big difference (i.e. you can see it runs at 10fps).<br style="" class="">Pipeline used for 10fps: ksvideosrc ! video/x-raw, framerate=10/1 ! fpsdisplaysink<br></div><div id="yui_3_16_0_1_1429950013756_28877"><span></span></div> <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> Le Mercredi 22 avril 2015 15h40, Sebastian Dröge <sebastian@centricular.com> a écrit :<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <br><br> <div class="y_msg_container">On Mo, 2015-04-20 at 23:52 +0000, philippe renon wrote:<br clear="none">> Looking at the attached debug log I see a few things that might be interesting (or not...):- ksvideosrc fails to create a clock (might not be important...).- latency is reported as 0:00:00.033333333 (which is good given the expected 30fps)- later, the gstbasesrc.c reports GST_QOS_TYPE_UNDERFLOW qos events.- there are also lock failed messages- and probably a lot of stuff that makes sense to an expert eye.<br clear="none">> <br clear="none">> Please note that I am building ksvideosrc myself and registering it statically. Problem might be at my end...Again this ksvideosrc is based on latest master + provided patch. Rest of gstreamer is from the official 1.4.5 binary distribution for Windows.<br clear="none"><br clear="none">Please report this on Bugzilla, with your debug log and my patch :)<br clear="none">Thanks!<div class="yqt5185776834" id="yqtfd90877"><br clear="none"><br clear="none">-- <br clear="none">Sebastian Dröge, Centricular Ltd · <a shape="rect" href="http://www.centricular.com/" target="_blank">http://www.centricular.com</a></div><br><br></div> </blockquote> </div> </div> </div></div></body></html>