镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Render to texture e.g. PF_BYTE_RGBA #78

Open

Description

@kenkit

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

  1. Swap-File commented on Jan 13, 2020

    @Swap-File

    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

  2. changed the title [-]Render too texture e.g PF_BYTE_RGBA[/-] [+]Render to texture e.g. PF_BYTE_RGBA[/+] on Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions