New, also help on dealing with multiple audio streams using gstreamer-rs
Sebastian Dröge
sebastian at centricular.com
Wed Dec 16 13:27:06 UTC 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201216/4e3ee130/attachment-0001.htm>
More information about the gstreamer-devel
mailing list