Use of Queue in constructing Gstreamer Pipeline for Playback
Sebastian Dröge
sebastian at centricular.com
Fri Sep 30 07:19:45 UTC 2016
On Wed, 2016-09-28 at 05:24 -0700, DeepakRohan wrote:
> Hi,
>
> I have a question regarding the audio-queue and video-queue elements
> in a gstreamer pipeline:
>
> For an audio video playback, when we create pipeline we have
> "audio-queue" for audio part of the pipeline and "video-queue" for video
> part of the pipeline.
> 1. What If I want to remove "audio-queue" and have only "video-queue". Will
> it affect the behavior or performance of the pipeline in any way?. If yes
> then what are the cases?
>
> I know that video-queue is required as we may need to buffer few frames
> (Maybe the due to the decoding and display order).
>
> But can we have case 1 valid for all times. If yes then we need not to
> buffer for audio at all.
The answers to that all depend on the exact pipeline you created.
Generally a queue is needed for decoupling threads from each other, and
e.g. after a 1-to-N element (like tee, demuxer) you will always need
some kind of queue after each srcpad. Other cases depend on pipeline
details.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160930/ffe566d9/attachment.sig>
More information about the gstreamer-devel
mailing list