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 ?
Activity
Swap-File commentedon Jan 13, 2020
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
[-]Render too texture e.g PF_BYTE_RGBA[/-][+]Render to texture e.g. PF_BYTE_RGBA[/+]