jit.movie: output_texture requires a valid OpenGL context
I have the normal setup for playing videos with output texture but I'm not getting any output.
The console is telling me: "output_texture requires a valid OpenGL context"
[jit.world name]
[jit.movie @engine viddll @output_texture 1]
What am I missing here?
Thanks!
1. make sure there is no other
jit.world name
2. try jit.movie @drawto name @output_texture 1 @automatic 1
make sure viddll is your default rngine in preferences
hope this helps
phiol
yeah sounds like the jit.movie is unable to find the jit.world. to ensure that jit.movie can implicitly bind to a jit.world, the jit.world should be in a top-level patch (not a sub-patch), and the jit.movie should be in that same patch (can be in a sub-patch /abstraction).
otherwise, simply explicitly set the context with jit.movie @drawto name, as phiol suggests.
This is working now. The player was not located in the the top level patch but the "@drawto renderContext" fixed it.
Thanks a lot Phiol and Rob, very kind!