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

react-native-video is not working inside GL.Node #215

Open
hamzashahbaz opened this issue Apr 19, 2019 · 6 comments
Open

react-native-video is not working inside GL.Node #215

hamzashahbaz opened this issue Apr 19, 2019 · 6 comments
Assignees
Labels
Expo this is related to Expo video

Comments

@hamzashahbaz
Copy link

Is it possible to use react-native-video inside GL.Node?

@gre
Copy link
Owner

gre commented Jan 1, 2020

@nikki93 @brentvatne @sjchmiela
Is there a way to connect a expo-av Video in an expo-gl GLView?

maybe the same way it was done for expo-camera, except i don't find an equivalent of that
https://github.com/expo/expo/blob/87558b0d6314311a34c9a3a55b68b9a6ac831d7f/packages/expo-gl/ios/EXGL/EXGLObjectManager.m#L140

(NB for later: i started a PoC of that in branch expo-av, but it can't work until there is a way to connect things, and 'll need to create a lib webgltexture-loader-expo-av)

@ddereszewski
Copy link

@gre any success on this? I'm also interested to use this approach for making video filters with GL

@Estebank94
Copy link

I'm also interested!

@bastienrobert
Copy link

bastienrobert commented Apr 11, 2020

I'm not seeing any video type in texImage2D declarations on expo-gl, neither on the API documentation:

The pixels argument of texImage2D() must be null, an ArrayBuffer with pixel data, or an object of the form { localUri } where localUri is the file:// URI of an image in the device's file system.

@ddereszewski added a feature request on the canny

Related to:

@demirhancosku
Copy link

You may want to look at this;
https://github.com/gre/webgltexture-loader

@bastienrobert
Copy link

bastienrobert commented May 10, 2020

Actually it seems it’s not working for videos with this package:

(NB for later: i started a PoC of that in branch expo-av, but it can't work until there is a way to connect things, and 'll need to create a lib webgltexture-loader-expo-av)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expo this is related to Expo video
Projects
None yet
Development

No branches or pull requests

6 participants