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

Render to texture e.g. PF_BYTE_RGBA #78

Open
kenkit opened this issue Sep 8, 2019 · 1 comment
Open

Render to texture e.g. PF_BYTE_RGBA #78

kenkit opened this issue Sep 8, 2019 · 1 comment

Comments

@kenkit
Copy link

kenkit commented Sep 8, 2019

Hi,
I'd like to use libvisual to render visualization to a texture buffer, is there an example or can anyone show how we can achieve this ?

@Swap-File
Copy link

Something like this can work with gstreamer: alsasrc buffer-time=10000 ! audio/x-raw,layout=interleaved,rate=48000,format=S32LE,channels=2 ! queue max-size-time=10000000 leaky=downstream ! audioconvert ! libvisual_jess ! video/x-raw,width=320,height=240,framerate=30/1 ! glupload ! glcolorconvert ! glcolorscale ! video/x-raw(memory:GLMemory),width=640,height=480 ! glfilterapp name=grabtexture ! fakesink sync=false async=false

@hartwork hartwork changed the title Render too texture e.g PF_BYTE_RGBA Render to texture e.g. PF_BYTE_RGBA Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants