Comments (2)
It is possible, just pass a FBO handle instead of 0. It's all documented.
from mpv-examples.
Please forgive me for being extremely stupid.
Where is it "all documented"? The comment in libmpv/sdl/main.c
references render_gl.h
, which I think might be mpv/libmpv/render_gl.h
which in turn references glGenFrameBuffers()
, which isn't mentioned in the SDL docs I found, nor is "frame", nor "buffer".
Googling for "sdl glgenframebuffers", or "sdl get framebuffer", or "sdl get fbo" all lead to the same couple of StackOverflow questions about directly modifying pixels, not getting an int I can give to mpv_opengl_fbo.fbo
.
Googling for "sdl mpv fbo" gets me an example of using the opengl-cb API which the README in this repo says doesn't exist any more, an arch linux BBS thread where some guy symlinks his system python2 to python
to get libreoffice to work, and this dang issue.
Could someone please point me towards where this is "all documented"? Please remember that if I try really hard, I can just about reach 30 IQ.
from mpv-examples.
Related Issues (20)
- multiple videos playback in same window HOT 3
- The `simple.c` doesn't work HOT 8
- MacOS compile simple.c failed HOT 5
- Memory leak [linux] [mpv 0.32] HOT 1
- golang demo
- Vala
- Rendering OpenGL with the Enlightenment Foundation Library
- is it really supposed to open a new window in qt?
- angle example?
- iup demo
- qml example to library HOT 1
- Add basic win32 example
- Capture mouse Events in qt application.
- Is there a simple way to load scripts from ~/.config/mpv/scripts ?
- crash on CFBundleGetFunctionPointerForName
- mpv-examples - qt_opengl, libmpv windows crashed HOT 2
- How can I use swiftui too HOT 1
- Qt example does not work with the current release HOT 7
- Example using an FBO HOT 5
- qt OpenGLWidget play hdr(10bits) video
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpv-examples.