<br><br><div class="gmail_quote">On Tue, Jul 7, 2009 at 4:06 PM,  <span dir="ltr">&lt;<a href="mailto:gstreamer-devel-request@lists.sourceforge.net">gstreamer-devel-request@lists.sourceforge.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send gstreamer-devel mailing list submissions to<br>
        <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/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.sourceforge.net">gstreamer-devel-request@lists.sourceforge.net</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gstreamer-devel-owner@lists.sourceforge.net">gstreamer-devel-owner@lists.sourceforge.net</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: Setting volume (playbin2) has no effect after one     track<br>
      has ended and other is started. (Yogesh Marwaha)<br>
   2. Controlling multiple streams with a videomixer. (Oliver Yu)<br>
   3. Re: Releasing gst-plugins-gl? (Julien Isorce)<br>
   4. Re: Releasing gst-plugins-gl? (Filippo Argiolas)<br>
   5. Re: Cheese, netbooks and resource hungry encoders<br>
      (Filippo Argiolas)<br>
   6. Re: Cheese, netbooks and resource hungry encoders<br>
      (Filippo Argiolas)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 7 Jul 2009 10:07:56 +0530<br>
From: Yogesh Marwaha &lt;<a href="mailto:yogeshm.007@gmail.com">yogeshm.007@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] Setting volume (playbin2) has no effect after<br>
        one     track has ended and other is started.<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:48a42cbe0907062137j7889943an41d044f6dec4b4ec@mail.gmail.com">48a42cbe0907062137j7889943an41d044f6dec4b4ec@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
2009/7/7 pl bossart &lt;<a href="mailto:bossart.nospam@gmail.com">bossart.nospam@gmail.com</a>&gt;:<br>
&gt; In playbin2 the volume is passed to the sink as a property. If the<br>
&gt; sink doesn&#39;t store the volume setting for the next track you are<br>
&gt; hosed. Note that it should work fine with pulsesink since PulseAudio<br>
&gt; will remember and restore the volume. Can you provide more information<br>
&gt; on which audio sink you are using?<br>
&gt; Cheers<br>
&gt; Pierre<br>
&gt;<br>
I meant that volume which was set during track1 is still applied to track2,<br>
but any changes to volume during track2 (and subsequent tracks) is not<br>
applied.<br>
I am using alsasink.<br>
<br>
&gt; On Sat, Jul 4, 2009 at 6:55 AM, Yogesh Marwaha&lt;<a href="mailto:yogeshm.007@gmail.com">yogeshm.007@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Whenever I try changing the volume on playbin2, change of volume has no effect<br>
&gt;&gt; after one track has ended and other is started.<br>
&gt;&gt; Has anyone of you experienced such behaviour?<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Yogesh Marwaha<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------------<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gstreamer-devel mailing list<br>
&gt;&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Enter the BlackBerry Developer Challenge<br>
&gt; This is your chance to win up to $100,000 in prizes! For a limited time,<br>
&gt; vendors submitting new applications to BlackBerry App World(TM) will have<br>
&gt; the opportunity to enter the BlackBerry Developer Challenge. See full prize<br>
&gt; details at: <a href="http://p.sf.net/sfu/blackberry" target="_blank">http://p.sf.net/sfu/blackberry</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
<br>
--<br>
Yogesh M<br>
<a href="http://sparklemedia.sourceforge.net/" target="_blank">http://sparklemedia.sourceforge.net/</a><br>
<a href="http://snakeeyes.wordpress.com/" target="_blank">http://snakeeyes.wordpress.com/</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 7 Jul 2009 00:07:50 -0700 (PDT)<br>
From: Oliver Yu &lt;<a href="mailto:oliyu@yahoo.com">oliyu@yahoo.com</a>&gt;<br>
Subject: [gst-devel] Controlling multiple streams with a videomixer.<br>
To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
Message-ID: &lt;<a href="mailto:585820.80932.qm@web110215.mail.gq1.yahoo.com">585820.80932.qm@web110215.mail.gq1.yahoo.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
I hope this isn&#39;t a newbie kind of question, but I haven&#39;t been able to find a working answer.  I&#39;m trying to mix multiple media streams together with a video mixer, but I need events about the individual streams, so that I can continue to mix in new streams, since the streams can be very different lengths.  The two main methods that I have tried are:<br>

<br>
<br>
1. Create a full pipeline containing multiple streams.  This works for the playback, but I&#39;m having problems getting the end of stream events for the shorter videos.  Is there something I need to do to tie events to the individual streams?<br>

<br>
here&#39;s my test launch definition:<br>
<br>
player = gst.parse_launch(&quot;&quot;&quot;<br>
  filesrc name=mp3src ! decodebin ! audioconvert ! audioresample ! pulsesink<br>
  filesrc name=videosrc1 ! dvddemux name=demux ! mpeg2dec ! ffmpegcolorspace<br>
  ! videomixer name=mix ! ffmpegcolorspace ! videoscale<br>
  ! video/x-raw-yuv,width=800,height=600 ! sdlvideosink name=view<br>
  filesrc name=videosrc2 ! dvddemux name=demux ! mpeg2dec ! ffmpegcolorspace<br>
  &quot;&quot;&quot;)<br>
<br>
2. I&#39;ve also tried constructing invidividual playbins for each media stream.  Since each are individual pipelines, I&#39;m getting the events for all the individual streams.  But I&#39;m having problems mixing the vstreams together.  I connect up each playbin to an alphacolor element as the video-sink, but as soon as try to link the alphacolor elements to a videomixer, I get the following error:<br>

<br>
test.py:10865): GStreamer-WARNING **: Element alphacolor0 already has parent<br>
(test.py:10865): GStreamer-WARNING **: Trying to connect elements that don&#39;t share a common ancestor: vscale and alphacolor0<br>
<br>
Which way is the &quot;right&quot; way?  Is there any good examples to do this properly?<br>
<br>
I&#39;m using GStreamer 0.10 on Ubunto 9.10 and I&#39;m using the gst-python bindings.<br>
<br>
Oli<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 7 Jul 2009 09:54:21 +0200<br>
From: Julien Isorce &lt;<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] Releasing gst-plugins-gl?<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:180a127d0907070054j3ee90fd8i498eba7e97a921b4@mail.gmail.com">180a127d0907070054j3ee90fd8i498eba7e97a921b4@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi,<br>
<br>
I am ok for a release a gst-plugins-gl.<br>
<br>
Other infos:<br>
<br>
My current task is to make it work on MacOSX. (note that it works through<br>
X11)<br>
I mean I am fixing our cocoa backend. (for now it only works on GNUstep)<br>
It&#39;s in progress but it&#39;s a little bit harder without having a Mac computer.<br>
But we do not need to wait for the end of this task because I do not know<br>
how much time it will take.<br>
<br>
About OpenGL ES 2.0, I made backends for X and winCE (trough emulators).<br>
(Cocoa is the same as not embedded)<br>
I am still waitting someone try the X backend on Maemo. (the build need to<br>
be fixed for it), or any kind of real device.<br>
<br>
Anyway I think gst-gl is working well enough on X and win32 to push a<br>
release.<br>
It will also be a good way to receive more bugs that we can fix to make it<br>
more stable.<br>
<br>
Sincerely<br>
<br>
Julien<br>
<br>
2009/7/7 Jan Schmidt &lt;<a href="mailto:thaytan@mad.scientist.com">thaytan@mad.scientist.com</a>&gt;<br>
<br>
&gt; &lt;quote who=&quot;Sebastian Dr?ge&quot;&gt;<br>
&gt;<br>
&gt; &gt; Am Dienstag, den 07.07.2009, 04:14 +1000 schrieb Jan Schmidt:<br>
&gt; &gt; &gt; Hi all,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Daniel Siegel has been poking me here at GCDS about getting a first<br>
&gt; release<br>
&gt; &gt; &gt; tarball of gst-plugins-gl out the door so he can finally start using it<br>
&gt; in<br>
&gt; &gt; &gt; Cheese.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I wanted to see how you all feel about it - whether you think it is in<br>
&gt; good<br>
&gt; &gt; &gt; enough shape to cut a 0.10.1 tarball, even if it doesn&#39;t yet provide<br>
&gt; the<br>
&gt; &gt; &gt; kind of interface guarantees that our stable modules do?<br>
&gt; &gt;<br>
&gt; &gt; Until those guarantees are there I&#39;d make the version 0.9.X to make sure<br>
&gt; &gt; everybody knows that this is still unstable API/ABI.<br>
&gt;<br>
&gt; That would be a bad idea - as GStreamer core won&#39;t load plugins that have<br>
&gt; anything other than 0.10 in the PluginDesc major/minor version fields,<br>
&gt; which<br>
&gt; is what they&#39;d end up with without more changes.<br>
&gt;<br>
&gt; Personally, I don&#39;t see a problem with using 0.10 version numbers and a<br>
&gt; warning in the release notes about possible API changes in the elements -<br>
&gt; it&#39;s the same thing we do with gst-plugins-bad after all.<br>
&gt;<br>
&gt; J.<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Enter the BlackBerry Developer Challenge<br>
&gt; This is your chance to win up to $100,000 in prizes! For a limited time,<br>
&gt; vendors submitting new applications to BlackBerry App World(TM) will have<br>
&gt; the opportunity to enter the BlackBerry Developer Challenge. See full prize<br>
&gt; details at: <a href="http://p.sf.net/sfu/blackberry" target="_blank">http://p.sf.net/sfu/blackberry</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 7 Jul 2009 10:24:40 +0200<br>
From: Filippo Argiolas &lt;<a href="mailto:filippo.argiolas@gmail.com">filippo.argiolas@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] Releasing gst-plugins-gl?<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:8ceb98f20907070124x44db1e8cl30d1f679296accf5@mail.gmail.com">8ceb98f20907070124x44db1e8cl30d1f679296accf5@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Tue, Jul 7, 2009 at 9:54 AM, Julien Isorce&lt;<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am ok for a release a gst-plugins-gl.<br>
&gt;<br>
&gt; Anyway I think gst-gl is working well enough on X and win32 to push a<br>
&gt; release.<br>
&gt; It will also be a good way to receive more bugs that we can fix to make it<br>
&gt; more stable.<br>
<br>
Same for me.<br>
It&#39;s been quite difficult to keep hacking on gst-gl as I wanted lately<br>
(well, last year...).<br>
The whole codebase probably needs some polishing and we cannot<br>
guarantee complete stability like other modules do, but that&#39;s the<br>
reason we would have a separate release and we won&#39;t be part of the<br>
other modulesets release schedule for now.<br>
It&#39;s in a pretty good shape, has been tested with all the graphic<br>
hardware we have, but it really needs to face the real world to show<br>
up its flaws and give us a chance to fix them.<br>
<br>
A release, for me, would hopefully be an occasion to get back working<br>
on it, at least for bugfixing and other maintenance work.<br>
<br>
ciao,<br>
Filippo<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 7 Jul 2009 10:36:01 +0200<br>
From: Filippo Argiolas &lt;<a href="mailto:filippo.argiolas@gmail.com">filippo.argiolas@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] Cheese, netbooks and resource hungry encoders<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:8ceb98f20907070136t6350225do69a957ac60045407@mail.gmail.com">8ceb98f20907070136t6350225do69a957ac60045407@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Mon, Jul 6, 2009 at 12:49 PM, Axel<br>
Philipsenburg&lt;<a href="mailto:axel.philipsenburg@hobnox.com">axel.philipsenburg@hobnox.com</a>&gt; wrote:<br>
&gt; Hi there,<br>
&gt;<br>
&gt; Filippo Argiolas wrote:<br>
&gt;&gt; Do you have any suggestion about less cpu avid encoders? We used those<br>
&gt;&gt; ones because they are free but if they don&#39;t work it could be worth<br>
&gt;&gt; adding other options (ideally we&#39;d add DeviceProfiles support when<br>
&gt;&gt; it&#39;ll be in a good enough shape).<br>
&gt; Did you check the parameters on theoraenc ?<br>
&gt; There is the &quot;speed-level&quot; parameter that could<br>
&gt; limit the motion vector search, which is a very<br>
&gt; time consuming process.<br>
<br>
I&#39;ve tried fiddling with theoraenc parameters, speed-level included,<br>
but I wasn&#39;t able to drop cpu load significantly (in the best case it<br>
dropped from 105% to 99% but recording failed anyway).<br>
Also I believe vorbisenc has a great part, it seems it doesn&#39;t perform<br>
quite well on atom.<br>
<br>
&gt; On the other hand, did you use a queue in the pipeline? If<br>
&gt; I remember correctly, Atom CPUs (used in many<br>
&gt; Netbooks) have Hyperthreading. Thus allowing the<br>
&gt; pipeline to multithread might improve the performance<br>
&gt; a bit.<br>
<br>
Sure the pipeline we use is roughly like:<br>
gst-launch-0.10 v4l2src ! tee name=t ! queue ! xvimagesink t. ! queue<br>
! theoraenc ! oggmux name=m ! filesink location=test.ogg  pulsesrc !<br>
queue ! audioconvert ! vorbisenc ! m.<br>
<br>
&gt; I agree with Erik that using a lower resolution will help a lot<br>
&gt; too. Scaling the image down with a simple filter such as<br>
&gt; bilinear is way faster than the encoding the larger picture.<br>
<br>
Sure, lowering the resolution can really drop cpu load (even 40-50%<br>
less) but that unfortunately depends on the user choice. I could write<br>
a FAQ item telling them to lower down recording resolution but that<br>
wouldn&#39;t prevent the issue to come up if they don&#39;t do it.<br>
Maybe I could look for a way to guess the available cpu power and<br>
lower down recording resolution by default if it&#39;s not enough.<br>
<br>
Thanks<br>
<br>
Filippo<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Tue, 7 Jul 2009 10:53:59 +0200<br>
From: Filippo Argiolas &lt;<a href="mailto:filippo.argiolas@gmail.com">filippo.argiolas@gmail.com</a>&gt;<br>
Subject: Re: [gst-devel] Cheese, netbooks and resource hungry encoders<br>
To: Discussion of the development of GStreamer<br>
        &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:8ceb98f20907070153r75e6e083s8277c73260ee46e6@mail.gmail.com">8ceb98f20907070153r75e6e083s8277c73260ee46e6@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Tue, Jul 7, 2009 at 1:03 AM, David Schleef&lt;<a href="mailto:ds@entropywave.com">ds@entropywave.com</a>&gt; wrote:<br>
&gt; We don&#39;t currently have the infrastructure for enforcing real-time<br>
&gt; encoding -- you either have enough CPU and it Just Works, or you<br>
&gt; don&#39;t, and it silently fails. ?Encoder libraries are starting to<br>
&gt; get features for controlling this. ?libtheora allows you to mark<br>
&gt; the next several frames as identical, thereby skipping frames when<br>
&gt; the encoder gets behind. ?Schroedinger has a similar mechanism, but<br>
&gt; it&#39;s not yet exposed in the API. ?I&#39;ll probably add some support<br>
&gt; in GstBaseVideoEncoder for catching QoS messages (which have not<br>
&gt; been defined yet) to connect up to the encoder features. ?(You know,<br>
&gt; in that magical day in the future when I get back to BaseVideo<br>
&gt; hacking.)<br>
<br>
Thank you for clearing this. You&#39;re totally right, real time recording<br>
just works if the cpu can handle it but silently fails, sometimes<br>
outputting empty files, sometimes just freezing, etc. when the power<br>
is not enough. At least now I can blame for sure gstreamer when it<br>
happens ;-)<br>
A base class for encoding with some kind of Quality of Service would<br>
be really great.<br>
<br>
&gt; In general, prefessional capture apps encode to an intermediate<br>
&gt; codec like AIC, ProRes422, DNxHD, or DiracPro, since the CPU usage<br>
&gt; is very predictable and quite low. ?But that requires large bit<br>
&gt; rates and off-line transcoding to whatever long-gop format you<br>
&gt; actually want.<br>
<br>
That would probably be an overkill for a simple application like<br>
Cheese, both from an implementation point of view (i.e. we need more<br>
manpower to add advanced features like raw/intermediate codec<br>
recording + delayed transcoding) and from a use target (it&#39;s just an<br>
application that takes photos and little videos for fun... you cannot<br>
expect it to behave professionally) point of view.<br>
<br>
Thank you,<br>
<br>
Filippo<br>
<br>
<br>
<br>
------------------------------<br>
<br>
------------------------------------------------------------------------------<br>
Enter the BlackBerry Developer Challenge<br>
This is your chance to win up to $100,000 in prizes! For a limited time,<br>
vendors submitting new applications to BlackBerry App World(TM) will have<br>
the opportunity to enter the BlackBerry Developer Challenge. See full prize<br>
details at: <a href="http://p.sf.net/sfu/blackberry" target="_blank">http://p.sf.net/sfu/blackberry</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">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>
<br>
End of gstreamer-devel Digest, Vol 38, Issue 12<br>
***********************************************<br>
</blockquote></div>Hi,<br><br clear="all"> can we retrive the name of pipeline from the message which is posted to the pipeline?(suppose i send an EOS event with gst_element_send_event,how can i retrive the name of pipeline in the bus watch function?)<br>
Sreerenj B<br><a href="http://sreerenj.livejournal.com">http://sreerenj.livejournal.com</a><br><a href="mailto:bsreerenj@gmail.com">bsreerenj@gmail.com</a><br>mob: +91 9995377714<br><br>