x264 library has a --no-scenecut option which you can pass in x264opts properties<br><br><div class="gmail_quote">On Fri, Oct 28, 2011 at 12:30 AM,  <span dir="ltr">&lt;<a href="mailto:gstreamer-devel-request@lists.freedesktop.org">gstreamer-devel-request@lists.freedesktop.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send gstreamer-devel mailing list submissions to<br>
        <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:gstreamer-devel-request@lists.freedesktop.org">gstreamer-devel-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gstreamer-devel-owner@lists.freedesktop.org">gstreamer-devel-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of gstreamer-devel digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: textoverlay silent property looks not well implemented<br>
      (Stefan Sauer)<br>
   2. Re: gstreamer: registry: add support for<br>
      GST_REGISTRY_REUSE_PLUGIN_SCANNER=no (Jan Schmidt)<br>
   3. Re: Get v4l2src width and height before pipeline runs?<br>
      (Edward Hervey)<br>
   4. what would happen if the time returned by gst_clock_get_time<br>
      decrease (chensheng duan)<br>
   5. Re: capturing mjpeg from ip-camera (Hans Maree)<br>
   6. Fixed length GOPs using x264enc gstreamer plugin (Deepika)<br>
   7. output a rtp theora stream into ogv file properly (athanase)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 27 Oct 2011 10:40:46 +0200<br>
From: Stefan Sauer &lt;<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt;<br>
Subject: Re: textoverlay silent property looks not well implemented<br>
To: Discussion of the development of and with GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4EA9190E.3070708@hora-obscura.de">4EA9190E.3070708@hora-obscura.de</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On 10/27/2011 09:33 AM, bcxa sz wrote:<br>
&gt; Hi Developers,<br>
&gt;<br>
&gt; The &#39;silent&#39; property (to hide and display subtitle during playback)<br>
&gt; of official gstreamer textoverlay is also not well implemented.<br>
&gt;<br>
&gt; In textoverlay gst_text_overlay_video_chain(), it just push pure video<br>
&gt; data but without consuming the text data. Then<br>
&gt; gst_text_overlay_text_chain() will blocked to waiting for the text<br>
&gt; data consumed.<br>
&gt;<br>
&gt; For subtitle mixed with av in the same file, the demux will block at<br>
&gt; the text demuxing since text data not consumed then will not demux any<br>
&gt; followed audio and video data.<br>
&gt;<br>
&gt; best regards<br>
&gt;<br>
&gt; BCXA<br>
please file to bugzilla.<br>
<br>
Stefan<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 27 Oct 2011 19:54:38 +1100<br>
From: Jan Schmidt &lt;<a href="mailto:thaytan@noraisin.net">thaytan@noraisin.net</a>&gt;<br>
Subject: Re: gstreamer: registry: add support for<br>
        GST_REGISTRY_REUSE_PLUGIN_SCANNER=no<br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
Cc: Tim-Philipp M?ller &lt;<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>&gt;<br>
Message-ID: &lt;1319705684.9856.7.camel@shorty&gt;<br>
Content-Type: text/plain; charset=&quot;UTF-8&quot;<br>
<br>
I&#39;m not sure what the failure mode is when it runs into trouble on<br>
Android, but if it&#39;s just that a plugin fails to load once there are too<br>
many shared libs and stuff, then a solution might be to let the scanner<br>
die, and then re-launch the plugin scanner and check any plugin that<br>
crashes twice. At worst, plugins that actually crash get checked twice,<br>
at best you never need to re-spawn the plugin scanner.<br>
<br>
J.<br>
<br>
On Wed, 2011-10-26 at 03:20 -0700, Tim M?ller wrote:<br>
&gt; Module: gstreamer<br>
&gt; Branch: master<br>
&gt; Commit: dd9f244f033ba3978d6ee26d9205d29fdd862d7c<br>
&gt; URL:    <a href="http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=dd9f244f033ba3978d6ee26d9205d29fdd862d7c" target="_blank">http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=dd9f244f033ba3978d6ee26d9205d29fdd862d7c</a><br>

&gt;<br>
&gt; Author: Tim-Philipp M?ller &lt;<a href="mailto:tim.muller@collabora.co.uk">tim.muller@collabora.co.uk</a>&gt;<br>
&gt; Date:   Tue Oct 18 23:19:47 2011 +0100<br>
&gt;<br>
&gt; registry: add support for GST_REGISTRY_REUSE_PLUGIN_SCANNER=no<br>
&gt;<br>
&gt; This will make sure we spawn a new plugin scanner helper for each plugin<br>
&gt; to be introspected, which helps with making sure we don&#39;t load too many<br>
&gt; shared objects (libs, plugins) at the same time on systems where there<br>
&gt; is a hard limit like on Android.<br>
&gt;<br>
&gt; A better version might re-use the scanner for up to N times, though<br>
&gt; it&#39;s not clear whether that would actually improve things dramatically.<br>
&gt;<br>
&gt; <a href="https://bugzilla.gnome.org/show_bug.cgi?id=662091" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=662091</a><br>
&gt;<br>
&gt; ---<br>
&gt;<br>
&gt;  gst/gstregistry.c |   13 +++++++++++++<br>
&gt;  1 files changed, 13 insertions(+), 0 deletions(-)<br>
&gt;<br>
&gt; diff --git a/gst/gstregistry.c b/gst/gstregistry.c<br>
&gt; index 56107c5..ddbb789 100644<br>
&gt; --- a/gst/gstregistry.c<br>
&gt; +++ b/gst/gstregistry.c<br>
&gt; @@ -175,6 +175,8 @@ extern GList *_priv_gst_plugin_paths;<br>
&gt;<br>
&gt;  /* Set to TRUE when the registry cache should be disabled */<br>
&gt;  gboolean _gst_disable_registry_cache = FALSE;<br>
&gt; +<br>
&gt; +static gboolean __registry_reuse_plugin_scanner = TRUE;<br>
&gt;  #endif<br>
&gt;<br>
&gt;  /* Element signals and args */<br>
&gt; @@ -1084,6 +1086,11 @@ gst_registry_scan_plugin_file (GstRegistryScanContext * context,<br>
&gt;      changed = TRUE;<br>
&gt;    }<br>
&gt;<br>
&gt; +  if (!__registry_reuse_plugin_scanner) {<br>
&gt; +    clear_scan_context (context);<br>
&gt; +    context-&gt;helper_state = REGISTRY_SCAN_HELPER_NOT_STARTED;<br>
&gt; +  }<br>
&gt; +<br>
&gt;    return changed;<br>
&gt;  }<br>
&gt;<br>
&gt; @@ -1616,6 +1623,12 @@ ensure_current_registry (GError ** error)<br>
&gt;    }<br>
&gt;<br>
&gt;    if (do_update) {<br>
&gt; +    const gchar *reuse_env;<br>
&gt; +<br>
&gt; +    if ((reuse_env = g_getenv (&quot;GST_REGISTRY_REUSE_PLUGIN_SCANNER&quot;))) {<br>
&gt; +      /* do reuse for any value different from &quot;no&quot; */<br>
&gt; +      __registry_reuse_plugin_scanner = (strcmp (reuse_env, &quot;no&quot;) != 0);<br>
&gt; +    }<br>
&gt;      /* now check registry */<br>
&gt;      GST_DEBUG (&quot;Updating registry cache&quot;);<br>
&gt;      scan_and_update_registry (default_registry, registry_file, TRUE, error);<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gstreamer-commits mailing list<br>
&gt; <a href="mailto:gstreamer-commits@lists.freedesktop.org">gstreamer-commits@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits</a><br>
<br>
--<br>
Jan Schmidt &lt;<a href="mailto:thaytan@noraisin.net">thaytan@noraisin.net</a>&gt;<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 27 Oct 2011 11:22:25 +0200<br>
From: Edward Hervey &lt;<a href="mailto:bilboed@gmail.com">bilboed@gmail.com</a>&gt;<br>
Subject: Re: Get v4l2src width and height before pipeline runs?<br>
To: Discussion of the development of and with GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>&gt;<br>
Message-ID: &lt;1319707345.17494.1.camel@deumeu&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Hi,<br>
<br>
  Caps negotiation is *always* done before any data passing happens.<br>
  i.e. your element&#39;s pad setcaps function will be called before any<br>
call to the chainfunction.<br>
<br>
  If you haven&#39;t implemented a pad setcaps function ... there&#39;s your<br>
problem :)<br>
<br>
    Edward<br>
<br>
On Wed, 2011-10-26 at 13:34 -0700, wally_bkg wrote:<br>
&gt; Up to now I&#39;ve been setting caps with a specific width and height needed for<br>
&gt; our table driven image processing algorithm and using videoscale to force<br>
&gt; the pipeline to that size (640x480) at the appsink.<br>
&gt;<br>
&gt; The algorithm&#39;s original author visited recently and his recollections and<br>
&gt; insights have allowed me to remove that restriction.  This has exposed the<br>
&gt; fact that I don&#39;t know how to get the width and height caps until the<br>
&gt; pipeline is running, at which point its effectively too late.<br>
&gt;<br>
&gt; Is there a way to get the results of the caps negotiation before the<br>
&gt; pipeline is running?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Get-v4l2src-width-and-height-before-pipeline-runs-tp3942212p3942212.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Get-v4l2src-width-and-height-before-pipeline-runs-tp3942212p3942212.html</a><br>

&gt; Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 27 Oct 2011 17:30:29 +0800<br>
From: chensheng duan &lt;<a href="mailto:csduan2009@gmail.com">csduan2009@gmail.com</a>&gt;<br>
Subject: what would happen if the time returned by gst_clock_get_time<br>
        decrease<br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
Message-ID:<br>
        &lt;CAEVJB7M-UFcjBeGNL-YB_p19oAkAzY3NZ=<a href="mailto:nfjfTDx8VROcKQAw@mail.gmail.com">nfjfTDx8VROcKQAw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
hi there:<br>
         we came cross a problem that we need to roll back the time returned<br>
by the gst_clock_get_time under some situation. the background list as<br>
below:<br>
         we run gstreamer on our arm board, and our audio hardware decode<br>
and render run as 1x normal speed all the time while video hardware decode<br>
and render can run as much faster as it can(maybe several times than 1x<br>
speed), so the problem is , if sometimes video data delay when recieved by<br>
decode , just drop the delayed buffer in render, and video decode can push<br>
the following buffer asap, but if audio data delay when recieved by audio<br>
decode , no matter drop or not in render , the pts cannot catch up with the<br>
correct render time since if audio data late 2s when in decode , and audio<br>
decode run as 1x speed, then it will late permanently 2s.<br>
         so we decide to use audiosink to provide clock, the clock still is<br>
systime clock, but if we found audio late 2s for ex, we will return<br>
(current_sys_clock_time -2s) to make video delay for 2 seconds to make video<br>
wait for audio.  it will draw back pipeline clock ,  i dont know if it will<br>
cause some problems. and if you guys have some idea , plz give me some<br>
advices, thx in advance!<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111027/4a9b745b/attachment-0001.htm" target="_blank">http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111027/4a9b745b/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 27 Oct 2011 03:54:49 -0700 (PDT)<br>
From: Hans Maree &lt;<a href="mailto:hans.maree@gmail.com">hans.maree@gmail.com</a>&gt;<br>
Subject: Re: capturing mjpeg from ip-camera<br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
Message-ID: &lt;<a href="mailto:1319712889278-3943932.post@n4.nabble.com">1319712889278-3943932.post@n4.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Thanks for your reaction Mike,<br>
<br>
over the last week I did some more experimentation using your debug wrapper<br>
script (which is extremely usefull) and I got it to work:<br>
<br>
<br>
I found out however that the stream is not exactly one frame per second so I<br>
got some &#39;drift&#39; in the frame timing. So I decided to use a matroska<br>
container instead since it supports variable frame rate:<br>
<br>
<br>
I&#39;m sure if this solves the problem completely since I still tell gstreamer<br>
to use a framerate of 1fps, but it does seem to limit the drift to an<br>
exeptable level.<br>
<br>
<br>
Mike Mitchell wrote:<br>
&gt;<br>
&gt; For making multiple files as output look into multifilesink.<br>
&gt; <a href="http://gstreamer-devel.966125.n4.nabble.com/How-to-capture-a-still-image-while-previewing-live-video-td3813993.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/How-to-capture-a-still-image-while-previewing-live-video-td3813993.html</a><br>

&gt;<br>
I&#39;m not sure this is what I am looking for since it seems that multifilesink<br>
does not create complete video files, but simply cuts the file in several<br>
bits, which makes sense since the matroskamux element is responsible for<br>
creating the file structure. I think that for now I will just restart the<br>
pipeline every ten minutes, changing the location of the filesink every<br>
time. Later I will try for a more elegant solution.<br>
<br>
Hans Maree<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/capturing-mjpeg-from-ip-camera-tp3913047p3943932.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/capturing-mjpeg-from-ip-camera-tp3913047p3943932.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Thu, 27 Oct 2011 19:28:06 +0800<br>
From: Deepika &lt;<a href="mailto:deepika@cinemacraft.tv">deepika@cinemacraft.tv</a>&gt;<br>
Subject: Fixed length GOPs using x264enc gstreamer plugin<br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
Message-ID: &lt;<a href="mailto:4EA94046.1050403@cinemacraft.tv">4EA94046.1050403@cinemacraft.tv</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi,<br>
<br>
Is it possible to produce fixed length GOPS using the x264enc gstreamer<br>
plugin. There is only key_int_max property that can be configured , so I<br>
am not sure if it is possible. Any help/ confirmations will be highly<br>
appreciated.<br>
<br>
Thanks,<br>
Deepika<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Thu, 27 Oct 2011 06:40:27 -0700 (PDT)<br>
From: athanase &lt;<a href="mailto:jean.inderchit@gmail.com">jean.inderchit@gmail.com</a>&gt;<br>
Subject: output a rtp theora stream into ogv file properly<br>
To: <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
Message-ID: &lt;<a href="mailto:1319722827163-3944464.post@n4.nabble.com">1319722827163-3944464.post@n4.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
I have a question about gstreamer. i made a streaming server using<br>
gst-rtsp-server. I&#39;m trying to send camera capture to another machine (on<br>
the local network) and to parse it into an .ogv file.<br>
<br>
The transmission of the streaming works fine, and i&#39;m able to parse the<br>
informations into the file; but i can&#39;t read it or use it with any<br>
application after this parsing. It seems that there are some information<br>
missing (probably in relation with the encoding technique, i don&#39;t really<br>
know much about it)<br>
<br>
Server side command (inside c++ code):<br>
<br>
....<br>
gst_rtsp_media_factory_set_launch (factory, &quot;( v4l2src device=/dev/video0 !<br>
videorate !<br>
video/x-raw-yuv,width=320,height=240,framerate=30/1 ! videoscale !<br>
ffmpegcolorspace !<br>
theoraenc ! rtptheorapay name=pay0 pt=96 )&quot;);<br>
<br>
gst_rtsp_media_factory_set_shared (factory, TRUE);<br>
<br>
/* attach the test factory to the /test url */<br>
gst_rtsp_media_mapping_add_factory (mapping, &quot;/stream&quot;, factory);<br>
....<br>
<br>
<br>
Client side command (terminal command) :<br>
<br>
gst-launch -v rtspsrc location=rtsp://<a href="http://192.168.0.115:8554/stream" target="_blank">192.168.0.115:8554/stream</a> !<br>
rtptheoradepay name=pay0 ! oggmux ! filesink<br>
location=/home/jean/Desktop/stream.ogv<br>
Any help any kind of help is well appreciated !<br>
<br>
Jean<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/output-a-rtp-theora-stream-into-ogv-file-properly-tp3944464p3944464.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/output-a-rtp-theora-stream-into-ogv-file-properly-tp3944464p3944464.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
End of gstreamer-devel Digest, Vol 9, Issue 80<br>
**********************************************<br>
</blockquote></div><br>