emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GStreamer xwidget


From: Yuri Khan
Subject: Re: GStreamer xwidget
Date: Sun, 28 Nov 2021 15:04:51 +0700

On Sun, 28 Nov 2021 at 11:43, Po Lu <luangruo@yahoo.com> wrote:

> +         && gst_registry_find_feature (registry, "videotestsrc",
> +                                       GST_TYPE_ELEMENT_FACTORY)

> +      xw->gst_source = gst_element_factory_make ("videotestsrc", NULL);

Here you are checking for and instantiating a known source element
that produces a fixed test image, but for any practical use (e.g.
playing a video from a web page or local file system) you’ll need to
instantiate a demultiplexer that knows how to split the original byte
stream into video, audio, and subtitle streams, and video and audio
decoders that handle the particular compression format. Some of those
could be patent-encumbered (and so end up in ugly) or poorly
maintained (bad). Are you planning to avoid those? If so, how? Also,
will the user be able to override the avoidance (“Yes I know those are
patent-encumbered and I have no problem with that”, or “Yes I know
that decoder might have a security vulnerability and I accept the
risk”)? If so, how?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]