A question on the simplest way for using GstEncodebin

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

A question on the simplest way for using GstEncodebin

Seungha Yang-2
To specify properties of encoder in GstEncodebin, the only way (except for watching deep-element-added signal) seems to creating GstEncodingProfile with preset name as string, and the preset should be saved somewhere already.

Although someone might think "preset" as "frequently used encoding option", this API seems inconvenient especially when a lot of "onetime only preset" are required, because application should manage (stored and deleted) preset per encoding. Are there some alternative ways for specifying properties of encoder when using GstEncodebin?

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: A question on the simplest way for using GstEncodebin

Thibault Saunier-4
Hi,

On Mon, Oct 8, 2018 at 7:14 AM Seungha Yang <[hidden email]> wrote:
>
> To specify properties of encoder in GstEncodebin, the only way (except for watching deep-element-added signal) seems to creating GstEncodingProfile with preset name as string, and the preset should be saved somewhere already.
>
> Although someone might think "preset" as "frequently used encoding option", this API seems inconvenient especially when a lot of "onetime only preset" are required, because application should manage (stored and deleted) preset per encoding. Are there some alternative ways for specifying properties of encoder when using GstEncodebin?

Sadly no, one big issue being that the goal is to hide away what
encoder is being used, and encoders have all their own APIs.

Regards,

Thibault


> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel