queue or queue2

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

queue or queue2

Bert Douglas
Hi All,

Sorry to keep bothering you with questions.

Does "queue" work ok?  Is it deprecated, in favor of "queue2"?

Thanks,
Bert Douglas



------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: queue or queue2

Stefan Sauer
On 28.08.2010 16:03, Bert Douglas wrote:
> Hi All,
>
> Sorry to keep bothering you with questions.
>
> Does "queue" work ok?  Is it deprecated, in favor of "queue2"?

Both work okay. queue is in memory buffering and queue2 can do disk
buffering. queue can work with live-sources, queue2 can't (right now).
If you just need to decouple elements into different threads use queue.

Stefan

>
> Thanks,
> Bert Douglas
>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: queue or queue2

Bert Douglas
Understood.

Thanks much,
Bert Douglas

On Wed, Sep 1, 2010 at 4:24 AM, Stefan Kost <[hidden email]> wrote:
On 28.08.2010 16:03, Bert Douglas wrote:
> Hi All,
>
> Sorry to keep bothering you with questions.
>
> Does "queue" work ok?  Is it deprecated, in favor of "queue2"?

Both work okay. queue is in memory buffering and queue2 can do disk
buffering. queue can work with live-sources, queue2 can't (right now).
If you just need to decouple elements into different threads use queue.

Stefan
>
> Thanks,
> Bert Douglas
>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: queue or queue2

Michael Joachimiak
I think it works.
I can run gst-launch v4l2src ! queue2 max-size-bytes=1000 ! xvimagesink
with this output:
//////////////////////////////////////////
0:00:00.019022180 [335m12928 [00m      0x1fc1080 [32;01mINFO   [00m [00;01;31;41m            GST_PADS gstpad.c:1886:gst_pad_link_prepare: [00m trying to link v4l2src0:src and queue20:sink
0:00:00.019535863 [335m12928 [00m      0x1fc1080 [32;01mINFO   [00m [00;01;31;41m            GST_PADS gstpad.c:2059:gst_pad_link: [00m linked v4l2src0:src and queue20:sink, successful
0:00:00.019568199 [335m12928 [00m      0x1fc1080 [32;01mINFO   [00m [00;01;37;41m        GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: [00m linking queue20:(any) to xvimagesink0:(any) (0/0) with caps "(NULL)"
0:00:00.019582936 [335m12928 [00m      0x1fc1080 [32;01mINFO   [00m [00;01;37;41m    GST_ELEMENT_PADS gstutils.c:1585:gst_element_link_pads: [00m trying to link element queue20:(any) to element xvimagesink0:(any)
0:00:00.019597463 [335m12928 [00m      0x1fc1080 [32;01mINFO   [00m [00;01;31;41m            GST_PADS gstutils.c:1046:gst_pad_check_link: [00m trying to link queue20:src and xvimagesink0:sink
0:00:00.020158638 [335m12928 [00m      0x1fc1080 [32;01mINFO   [00m [00;01;31;41m            GST_PADS gstutils.c:1493:prepare_link_maybe_ghosting: [00m queue20 and xvimagesink0 in same bin, no need for ghost pads
0:00:00.020177215 [335m12928 [00m      0x1fc1080 [32;01mINFO   [00m [00;01;31;41m            GST_PADS gstpad.c:1886:gst_pad_link_prepare: [00m trying to link queue20:src and xvimagesink0:sink
0:00:00.020702631 [335m12928 [00m      0x1fc1080 [32;01mINFO   [00m [00;01;31;41m            GST_PADS gstpad.c:2059:gst_pad_link: [00m linked queue20:src and xvimagesink0:sink, successful
////////////////////////////

Am I missing smth?


2010/9/1 Bert Douglas <[hidden email]>
Understood.

Thanks much,
Bert Douglas


On Wed, Sep 1, 2010 at 4:24 AM, Stefan Kost <[hidden email]> wrote:
On 28.08.2010 16:03, Bert Douglas wrote:
> Hi All,
>
> Sorry to keep bothering you with questions.
>
> Does "queue" work ok?  Is it deprecated, in favor of "queue2"?

Both work okay. queue is in memory buffering and queue2 can do disk
buffering. queue can work with live-sources, queue2 can't (right now).
If you just need to decouple elements into different threads use queue.

Stefan
>
> Thanks,
> Bert Douglas
>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Your Sincerely
Michael Joachimiak

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel