Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate the installation of Gstreamer on all platforms #177

Open
JoshuaBatty opened this issue Jul 11, 2018 · 3 comments
Open

Automate the installation of Gstreamer on all platforms #177

JoshuaBatty opened this issue Jul 11, 2018 · 3 comments
Labels
user experience Anything that affects how users interact with the framework

Comments

@JoshuaBatty
Copy link
Member

At the moment it seams like the rust gstreamer crate offers the best cross platform solution for enabling video support. Unfortunately Gstreamer actually needs to be installed on the users system so the rust bindings work.

I'm going to have a go at automating this process using the build.rs file in nannou. I'll start with Mac OS and then move onto Windows and Linux after that. Something like the following....

1: check which OS the script is being executed on
If Mac OS = true
2: check if brew is installed
3: use curl to donwload and and install if brew isn't already installed
4: check if gstreamer is installed
5: download and install gstreamer
6: check with gstreamer addons are allready installed
7: download and install any missing gstreamer functions

Once this process is working fine then i'll move onto creating a nice API for video playback in nannou!

@mitchmindtree mitchmindtree added the user experience Anything that affects how users interact with the framework label Jul 21, 2018
@tpltnt
Copy link
Contributor

tpltnt commented Sep 11, 2020

I gave this issue a rough shot. Now I wonder: wouldn't it be better to add the gstreamer installation to the guide?

@JoshuaBatty
Copy link
Member Author

JoshuaBatty commented Sep 11, 2020

Hi @tpltnt . I set this issue up with the anticipation that we would provide a nice video API to use in nannou. At the time I though using G-streamer might be the best option. I haven't looked into this for a while so I can't give an opinion but I remember at the time getting frustrated that we couldn't use a 100% pure rust API for decoding video steams. Maybe this area has progressed and I'm not aware of existing efforts in this direction...? Either way, first steps is to agree on a video API backend and I personally would prefer to use a 100% rust solution.

@tpltnt
Copy link
Contributor

tpltnt commented Sep 11, 2020

Thank you for the feedback @JoshuaBatty I will leave my branch as is for now. If there is any progress on the video API we can pick it up again or go with whatever was decided on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user experience Anything that affects how users interact with the framework
Projects
None yet
Development

No branches or pull requests

3 participants