Genymobile / Genymobile/scrcpy

Does scrcpy support YUYV 422 format?

Open
#3,387 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

- [ ] I have checked that a similar [feature request](https://github.com/Genymobile/scrcpy/issues?q=is%3Aopen+is%3Aissue+label%3A%22feature+request%22) does not already exist.

**Is your feature request related to a problem? Please describe.**
I use scrcpy --v4l2-sink to project screen to virtual camera. ffplay work well, but unity can not work well with the virtual camera. It seems that unity does not support YUV 420. So I want to know whether scrcpy support YUYV 422 format?

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining scrcpy's --v4l2-sink path and how its current YUV 420 output is passed to the virtual camera. The issue names no source files or tests, so first identify the relevant video-output entry point and determine whether YUYV 422 is supported; done means Unity can consume the resulting virtual-camera stream.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c, unity
Domain
audio-video-rtc
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.