Remix.run Logo
dotancohen a day ago

I've got a stagnating Python Qt app prototype that I need to actually write properly. It's a personal project so I can do that without affecting users. I need to decide between Rust and Iced or stick with Python and Qt.

Python has a VLC library that embeds VLC behind the scenes for audio playback, and Qt had facility to work with it. This is terrific as I need to support a wide variety of codecs (voice recordings) and I need to change playback speed during playback. Does Rust or Iced have such capability to embed VLC? Not the VLC UI elements, just to use VLC behind the scenes.

thorn132 a day ago | parent [-]

This might be what you're looking for: https://docs.rs/vlc-rs/latest/vlc/

There's also PyO3 for using Python libraries from Rust, if no bindings or substitutes are available.

dotancohen 19 hours ago | parent [-]

Nice, thank you! I see grt_rate() and set_rate() methods, so that might just work. I'll be setting up a prototype soon, much appreciated.