You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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.
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.
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!
The text was updated successfully, but these errors were encountered: