<br><br><div class="gmail_quote">On Tue, Jul 7, 2009 at 4:06 PM, <span dir="ltr"><<a href="mailto:gstreamer-devel-request@lists.sourceforge.net">gstreamer-devel-request@lists.sourceforge.net</a>></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 'help' 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 "Re: Contents of gstreamer-devel digest..."<br>
<br>
<br>
Today'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 <<a href="mailto:yogeshm.007@gmail.com">yogeshm.007@gmail.com</a>><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>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:48a42cbe0907062137j7889943an41d044f6dec4b4ec@mail.gmail.com">48a42cbe0907062137j7889943an41d044f6dec4b4ec@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
2009/7/7 pl bossart <<a href="mailto:bossart.nospam@gmail.com">bossart.nospam@gmail.com</a>>:<br>
> In playbin2 the volume is passed to the sink as a property. If the<br>
> sink doesn't store the volume setting for the next track you are<br>
> hosed. Note that it should work fine with pulsesink since PulseAudio<br>
> will remember and restore the volume. Can you provide more information<br>
> on which audio sink you are using?<br>
> Cheers<br>
> Pierre<br>
><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>
> On Sat, Jul 4, 2009 at 6:55 AM, Yogesh Marwaha<<a href="mailto:yogeshm.007@gmail.com">yogeshm.007@gmail.com</a>> wrote:<br>
>> Hi,<br>
>><br>
>> Whenever I try changing the volume on playbin2, change of volume has no effect<br>
>> after one track has ended and other is started.<br>
>> Has anyone of you experienced such behaviour?<br>
>><br>
>> Regards,<br>
>><br>
>><br>
>> Yogesh Marwaha<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>
> ------------------------------------------------------------------------------<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>
> 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>
--<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 <<a href="mailto:oliyu@yahoo.com">oliyu@yahoo.com</a>><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: <<a href="mailto:585820.80932.qm@web110215.mail.gq1.yahoo.com">585820.80932.qm@web110215.mail.gq1.yahoo.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
I hope this isn't a newbie kind of question, but I haven't been able to find a working answer. I'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'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's my test launch definition:<br>
<br>
player = gst.parse_launch("""<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>
""")<br>
<br>
2. I've also tried constructing invidividual playbins for each media stream. Since each are individual pipelines, I'm getting the events for all the individual streams. But I'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't share a common ancestor: vscale and alphacolor0<br>
<br>
Which way is the "right" way? Is there any good examples to do this properly?<br>
<br>
I'm using GStreamer 0.10 on Ubunto 9.10 and I'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 <<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>><br>
Subject: Re: [gst-devel] Releasing gst-plugins-gl?<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:180a127d0907070054j3ee90fd8i498eba7e97a921b4@mail.gmail.com">180a127d0907070054j3ee90fd8i498eba7e97a921b4@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<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's in progress but it'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 <<a href="mailto:thaytan@mad.scientist.com">thaytan@mad.scientist.com</a>><br>
<br>
> <quote who="Sebastian Dr?ge"><br>
><br>
> > Am Dienstag, den 07.07.2009, 04:14 +1000 schrieb Jan Schmidt:<br>
> > > Hi all,<br>
> > ><br>
> > > Daniel Siegel has been poking me here at GCDS about getting a first<br>
> release<br>
> > > tarball of gst-plugins-gl out the door so he can finally start using it<br>
> in<br>
> > > Cheese.<br>
> > ><br>
> > > I wanted to see how you all feel about it - whether you think it is in<br>
> good<br>
> > > enough shape to cut a 0.10.1 tarball, even if it doesn't yet provide<br>
> the<br>
> > > kind of interface guarantees that our stable modules do?<br>
> ><br>
> > Until those guarantees are there I'd make the version 0.9.X to make sure<br>
> > everybody knows that this is still unstable API/ABI.<br>
><br>
> That would be a bad idea - as GStreamer core won't load plugins that have<br>
> anything other than 0.10 in the PluginDesc major/minor version fields,<br>
> which<br>
> is what they'd end up with without more changes.<br>
><br>
> Personally, I don't see a problem with using 0.10 version numbers and a<br>
> warning in the release notes about possible API changes in the elements -<br>
> it's the same thing we do with gst-plugins-bad after all.<br>
><br>
> J.<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>
> 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>
-------------- 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 <<a href="mailto:filippo.argiolas@gmail.com">filippo.argiolas@gmail.com</a>><br>
Subject: Re: [gst-devel] Releasing gst-plugins-gl?<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:8ceb98f20907070124x44db1e8cl30d1f679296accf5@mail.gmail.com">8ceb98f20907070124x44db1e8cl30d1f679296accf5@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Tue, Jul 7, 2009 at 9:54 AM, Julien Isorce<<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am ok for a release a gst-plugins-gl.<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>
Same for me.<br>
It'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's the<br>
reason we would have a separate release and we won't be part of the<br>
other modulesets release schedule for now.<br>
It'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 <<a href="mailto:filippo.argiolas@gmail.com">filippo.argiolas@gmail.com</a>><br>
Subject: Re: [gst-devel] Cheese, netbooks and resource hungry encoders<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:8ceb98f20907070136t6350225do69a957ac60045407@mail.gmail.com">8ceb98f20907070136t6350225do69a957ac60045407@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Mon, Jul 6, 2009 at 12:49 PM, Axel<br>
Philipsenburg<<a href="mailto:axel.philipsenburg@hobnox.com">axel.philipsenburg@hobnox.com</a>> wrote:<br>
> Hi there,<br>
><br>
> Filippo Argiolas wrote:<br>
>> Do you have any suggestion about less cpu avid encoders? We used those<br>
>> ones because they are free but if they don't work it could be worth<br>
>> adding other options (ideally we'd add DeviceProfiles support when<br>
>> it'll be in a good enough shape).<br>
> Did you check the parameters on theoraenc ?<br>
> There is the "speed-level" parameter that could<br>
> limit the motion vector search, which is a very<br>
> time consuming process.<br>
<br>
I've tried fiddling with theoraenc parameters, speed-level included,<br>
but I wasn'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't perform<br>
quite well on atom.<br>
<br>
> On the other hand, did you use a queue in the pipeline? If<br>
> I remember correctly, Atom CPUs (used in many<br>
> Netbooks) have Hyperthreading. Thus allowing the<br>
> pipeline to multithread might improve the performance<br>
> 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>
> I agree with Erik that using a lower resolution will help a lot<br>
> too. Scaling the image down with a simple filter such as<br>
> 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't prevent the issue to come up if they don'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'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 <<a href="mailto:filippo.argiolas@gmail.com">filippo.argiolas@gmail.com</a>><br>
Subject: Re: [gst-devel] Cheese, netbooks and resource hungry encoders<br>
To: Discussion of the development of GStreamer<br>
<<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>
Message-ID:<br>
<<a href="mailto:8ceb98f20907070153r75e6e083s8277c73260ee46e6@mail.gmail.com">8ceb98f20907070153r75e6e083s8277c73260ee46e6@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Tue, Jul 7, 2009 at 1:03 AM, David Schleef<<a href="mailto:ds@entropywave.com">ds@entropywave.com</a>> wrote:<br>
> We don't currently have the infrastructure for enforcing real-time<br>
> encoding -- you either have enough CPU and it Just Works, or you<br>
> don't, and it silently fails. ?Encoder libraries are starting to<br>
> get features for controlling this. ?libtheora allows you to mark<br>
> the next several frames as identical, thereby skipping frames when<br>
> the encoder gets behind. ?Schroedinger has a similar mechanism, but<br>
> it's not yet exposed in the API. ?I'll probably add some support<br>
> in GstBaseVideoEncoder for catching QoS messages (which have not<br>
> been defined yet) to connect up to the encoder features. ?(You know,<br>
> in that magical day in the future when I get back to BaseVideo<br>
> hacking.)<br>
<br>
Thank you for clearing this. You'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>
> In general, prefessional capture apps encode to an intermediate<br>
> codec like AIC, ProRes422, DNxHD, or DiracPro, since the CPU usage<br>
> is very predictable and quite low. ?But that requires large bit<br>
> rates and off-line transcoding to whatever long-gop format you<br>
> 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'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>
***********************************************</blockquote><div><br>Hi,<br><br>I recorded the video using gst-launch and it worked correctly.But without controlled shutdown it is not working.<br>In my code when stoprecording is called,<br>
<br>i send an EOS event to the pipeline,<br><br> gst_element_send_event (tdst_Vpipeline->mainpipeline, gst_event_new_eos ());<br><br><br>then i copied the recording file to an mp4v file and done some ffmpeg encodings and hinting funtions.then i chaning the name of new recorded file by using,<br>
<br> gst_element_set_state(tdst_Vpipeline->mainpipeline, GST_STATE_NULL); <br> g_object_set(tdst_Vpipeline->sink,"location",tdst_Vpipeline->arcFilename,NULL); <br>cp file1.mp4 file2.mp4v<br> mp4creator.................................................................<br>
mp4creatior..................................................................<br><br><br>But when i played these files,i got videos which are moving too fast.I think the only issue is that,the controlled shutdown is not working here!<br>
<br>wheter i needs to set the pipeline to NULL in the bus handling function itself???<br><br><br><br><br><br> <br></div></div><br><br clear="all"><br>-- <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>