<div>Hi Edward, </div><div><br></div><div>Thanks for you help. </div><div>I added queue elements as you said, but no luck.</div><div>It informed that there was a timestamping problem. I have no idea what problem it is. </div><div>Do you know that?</div><div><br></div><div>-Landy</div><div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Edward Hervey-4 [via GStreamer-devel]";<<a href="/user/SendEmail.jtp?type=node&node=4667610&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>;</div><div><b>Date: </b> Fri, Jun 20, 2014 06:02 PM</div><div><b>To: </b> "僵尸还魂"<<a href="/user/SendEmail.jtp?type=node&node=4667610&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>>; <wbr></div><div></div><div><b>Subject: </b> Re: Gaussianblur causes large latency</div></div><div><br></div>
Hi,
<br><br>On Fri, 2014-06-20 at 01:50 -0700, landy wrote:
<div class="shrinkable-quote"><div class='shrinkable-quote'><br>> Hi all,
<br>>
<br>> I wanna to add a blur effect onto my video, but when I did it with plugin
<br>> gaussianblur, the performance turned very low. I searched a lot via google,
<br>> but no luck.
<br>>
<br>> Here is the commandlines:
<br>>
<br>> gst-launch-0.10.exe videotestsrc ! video/x-raw-yuv, framerate=25/1,
<br>> width=1024, height=768 ! ffmpegcolorspace ! gaussianblur sigma=10 !
<br>> autovideoconvert ! autovideosink
</div></div> All the processing is happening in one thread, which is not very
<br>optimal.
<br> Put queue elements:
<br> * just after videotestsrc
<br> * just before autovideosink
<br> * just before gaussianblur
<br><br> That will spread out the load accross 4 threads.
<br><br> Edward
<br><div class="shrinkable-quote"><div class='shrinkable-quote'><br>>
<br>> and logs:
<br>>
<br>> Setting pipeline to PAUSED ...
<br>> Pipeline is PREROLLING ...
<br>> Pipeline is PREROLLED ...
<br>> Setting pipeline to PLAYING ...
<br>> New clock: GstSystemClock
<br>> WARNING: from element
<br>> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo:
<br>> A lot of buffers are being dropped.
<br>> Additional debug info:
<br>> gstbasesink.c(2873): gst_base_sink_is_too_late ():
<br>> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo:
<br>> There may be a timestamping problem, or this computer is too slow.
<br>> WARNING: from element
<br>> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo:
<br>> A lot of buffers are being dropped.
<br>> Additional debug info:
<br>> gstbasesink.c(2873): gst_base_sink_is_too_late ():
<br>> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo:
<br>> There may be a timestamping problem, or this computer is too slow.
<br>> WARNING: from element
<br>> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo:
<br>> A lot of buffers are being dropped.
<br>> Additional debug info:
<br>> gstbasesink.c(2873): gst_base_sink_is_too_late ():
<br>> /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo:
<br>> There may be a timestamping problem, or this computer is too slow.
<br>>
<br>> The problem only occurs when the size of video is big, like 1024x768. If I
<br>> resize video to small one, for instance, 320x160, it's OK.
<br>>
<br>> I know that if I add "sync=false" to autovideosink element will solve a
<br>> little, but since i am going to play audio in the same time, so this is not
<br>> suitable to me. It will cause sync problem.
<br>>
<br>> So, guys, please give me a hand.
<br>> Thanks a lot.
<br>>
<br>> -Landy
<br>>
<br>>
<br>>
<br>> --
<br>> View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Gaussianblur-causes-large-latency-tp4667599.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/Gaussianblur-causes-large-latency-tp4667599.html</a><br>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
<br>> _______________________________________________
<br>> gstreamer-devel mailing list
<br>> <a href="/user/SendEmail.jtp?type=node&node=4667601&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></div>--
<br>Edward Hervey
<br><a href="/user/SendEmail.jtp?type=node&node=4667601&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br><br>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="/user/SendEmail.jtp?type=node&node=4667601&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
<hr noshade="noshade" size="1" color="#cccccc">
<div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://gstreamer-devel.966125.n4.nabble.com/Gaussianblur-causes-large-latency-tp4667599p4667601.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/Gaussianblur-causes-large-latency-tp4667599p4667601.html</a>
</div>
<div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Gaussianblur causes large latency, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
</div></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Gaussianblur-causes-large-latency-tp4667599p4667610.html">Re: Gaussianblur causes large latency</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>