After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604557 - [decodebin2] parallelize decoding
[decodebin2] parallelize decoding
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-14 16:53 UTC by Andy Wingo
Modified: 2009-12-17 17:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to add link-decoder signal (6.23 KB, patch)
2009-12-14 17:51 UTC, Andy Wingo
rejected Details | Review

Description Andy Wingo 2009-12-14 16:53:03 UTC
I have a hardware decoder that can usefully be written to and read from via different threads. I have thus made the upload-to-hardware and download-from-hardware pieces into different elements; when I make a pipeline, for maximum performance, I separate them by a queue.

However this "optimization" is not automatically enabled by decodebin2

I'd imagine that this could be a useful pattern in decodebin2, somehow. If you do have a multi-stage decoding pipeline, or can run e.g. a colorspace converter or what-have-you in another thread, perhaps we should add an option to put build queues into decoding pipelines. An "insert-queue" signal, or something.

What say the Regents of GStreamer, Inc.?

Andy
Comment 1 David Schleef 2009-12-14 17:20:49 UTC
Your hardware is not much different from an internally threaded video decoder.  Those work just fine as a single element.
Comment 2 Andy Wingo 2009-12-14 17:51:48 UTC
Created attachment 149715 [details] [review]
patch to add link-decoder signal

Something like this attached patch. What think folk?
Comment 3 Andy Wingo 2009-12-14 18:00:35 UTC
(In reply to comment #1)
> Your hardware is not much different from an internally threaded video decoder. 
> Those work just fine as a single element.

That's somewhat true, but not entirely. It's more like glupload / gldownload.
Comment 4 Andy Wingo 2009-12-17 17:17:23 UTC
Dave your suggestion was good, and I don't need this patch any more. Closing as invalid.