Login
You're viewing the techdon.dev public feed.
  • Jul 19, 2025, 11:00 PM

    @pavel Displaying the viewfinder is free with (gl)waylandsink, as the dmabuf gets passed directly to the compositor in a subsurface, so the resolution is not important - it goes straight to the GPU for compositing. It's important for encoding and that's where uncached buffers can bite you, but since my shader is currently too heavy to handle higher res anyway it's not a thing I concern myself with right now.

    And the code is basic, it just takes time to get familiar with the problem space 😜

    💬 1🔄 0⭐ 0

Replies

  • Jul 21, 2025, 3:57 PM
    @dos I want to see how you do that magic... to see if it looks reasonable or if I should keep playing with sdl. Note that first thing gstreamer will do is downscale color information. If you do that in shader -- YUY2 -- gstreamer will be faster. But having 512x.. image with perfect color in each pixel is a waste with h264 compression
    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0