You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
capture(wayland): fix black screen and pts timing on gst-launch
Keep the gst-launch CLI for the Wayland portal path, but fold in two fixes:
- vapostproc ! video/x-raw,format=I420 imports the portal's DMA-BUF via
VA-API (plain videoconvert fails to negotiate DMA-BUF on many drivers)
and forces 4:2:0 — RGB screens otherwise make x264enc emit "High 4:4:4
Predictive", which most receiver decoders reject (black screen).
- videorate drop-only=true skip-to-first=true ! framerate caps re-stamps
buffers onto a regular fps timeline; the portal can deliver pts=0, which
confuses encoder/muxer timing.
Verified end-to-end: mirrors a Wayland desktop to a non-Apple AirPlay 2
receiver (Hisense), yuv420p, no crash.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments