New, also help on dealing with multiple audio streams using gstreamer-rs
Michael Johnson
liquidmikerrs at gmail.com
Wed Dec 16 13:39:57 UTC 2020
I remember reading through this. And running the commented code resulted in
an error due to not having a FlagsClass which doesn't exist in the docs nor
the file mentioned, which is used to get the video and audio
Do you know where this class is?
Many thanks
On Wed, 16 Dec 2020, 13:27 Sebastian Dröge, <sebastian at centricular.com>
wrote:
> On Wed, 2020-12-16 at 10:00 +0000, Michael Johnson wrote:
>
> To whom it may concern,
>
> I was invited to join here by Sebastian for discussion on problems.
>
> Looking through the src and the docs it's very hard to find an instance
> where you can extract information about the stream info so you can switch
> audio streams (for example from french to english) from element::Element
> when using parse_launch.
>
>
> You would do that the same way as in C by using the GObject properties,
> signals and action signals on the playbin element.
>
> The playbin example should help here:
> https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/blob/0.16/examples/src/bin/playbin.rs
>
> I feel it needs some flags, but they are not documented in the rust
> version. Can anyone point me in the right direction?
>
>
> See the commented flags code in the example.
>
> Let me know if something's still unclear after reading that code.
>
> --
>
> Sebastian Dröge, Centricular Ltd · https://www.centricular.com
> <http://www.centricular.com>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201216/be5ba0b1/attachment.htm>
More information about the gstreamer-devel
mailing list