FAQ.ko - Genymobile/scrcpy GitHub Wiki
์์ฃผํ๋ ์ง๋ฌธ (FAQ)
๋ค์์ ์์ฃผ ์ ๋ณด๋๋ ๋ฌธ์ ๋ค๊ณผ ๊ทธ๋ค์ ํํฉ์ ๋๋ค.
- ์์ฃผํ๋ ์ง๋ฌธ (FAQ)
- Windows ์ด์์ฒด์ ์์, ๋๋ฐ์ด์ค๊ฐ ๋ฐ๊ฒฌ๋์ง ์์ต๋๋ค.
- ๋ด ๋๋ฐ์ด์ค์ ๋ฏธ๋ฌ๋ง๋ง ๊ฐ๋ฅํ๊ณ , ๋๋ฐ์ด์ค์ ์ํธ์์ฉ์ ํ ์ ์์ต๋๋ค.
- ๋ง์ฐ์ค ํด๋ฆญ์ด ๋ค๋ฅธ ๊ณณ์ ์ ์ฉ๋ฉ๋๋ค.
- HiDPI display์ ํ์ง์ด ๋ฎ์ต๋๋ค.
- KWin compositor๊ฐ ์คํ๋์ง ์์ต๋๋ค
Windows ์ด์์ฒด์ ์์, ๋๋ฐ์ด์ค๊ฐ ๋ฐ๊ฒฌ๋์ง ์์ต๋๋ค.
๊ฐ์ฅ ํํ ์ ๋ณด๋ adb
์ ๋ฐ๊ฒฌ๋์ง ์๋ ๋๋ฐ์ด์ค ํน์ ๊ถํ ๊ด๋ จ ๋ฌธ์ ์
๋๋ค.
๋ค์ ๋ช
๋ น์ด๋ฅผ ํธ์ถํ์ฌ ๋ชจ๋ ๊ฒ๋ค์ ์ด์์ด ์๋์ง ํ์ธํ์ธ์:
adb devices
Windows๋ ๋น์ ์ ๋๋ฐ์ด์ค๋ฅผ ๊ฐ์งํ๊ธฐ ์ํด ๋๋ผ์ด๋ฒ๊ฐ ํ์ํ ์๋ ์์ต๋๋ค.
๋ด ๋๋ฐ์ด์ค์ ๋ฏธ๋ฌ๋ง๋ง ๊ฐ๋ฅํ๊ณ , ๋๋ฐ์ด์ค์ ์ํธ์์ฉ์ ํ ์ ์์ต๋๋ค.
์ผ๋ถ ๋๋ฐ์ด์ค์์๋, simulating input์ ํ์ฉํ๊ธฐ ์ํด์ ํ๊ฐ์ง ์ต์ ์ ํ์ฑํํด์ผ ํ ์๋ ์์ต๋๋ค. ๊ฐ๋ฐ์ ์ต์ ์์ (developer options) ๋ค์์ ํ์ฑํ ํ์ธ์:
USB debugging (Security settings) ๊ถํ ๋ถ์ฌ์ USB ๋๋ฒ๊น ์ ํตํ simulating input์ ํ์ฉํ๋ค
๋ง์ฐ์ค ํด๋ฆญ์ด ๋ค๋ฅธ ๊ณณ์ ์ ์ฉ๋ฉ๋๋ค.
Mac ์ด์์ฒด์ ์์, HiDPI support ์ ์ฌ๋ฌ ์คํฌ๋ฆฐ ์ฐฝ์ด ์๋ ๊ฒฝ์ฐ, ์ ๋ ฅ ์์น๊ฐ ์๋ชป ํ์ ๋ ์ ์์ต๋๋ค. issue 15๋ฅผ ์ฐธ๊ณ ํ์ธ์.
์ฐจ์ ์ฑ ์ HiDPI support์ ๋นํ์ฑํ ํ๊ณ buildํ๋ ๋ฐฉ๋ฒ์ ๋๋ค:
meson x --buildtype release -Dhidpi_support=false
ํ์ง๋ง, ๋์์์ ๋ฎ์ ํด์๋๋ก ์ฌ์๋ ๊ฒ ์ ๋๋ค.
HiDPI display์ ํ์ง์ด ๋ฎ์ต๋๋ค.
Windows์์๋, scaling behavior ํ๊ฒฝ์ ์ค์ ํด์ผ ํ ์๋ ์์ต๋๋ค.
scrcpy.exe
> Properties > Compatibility > Change high DPI settings > Override high DPI scaling behavior > Scaling performed by: Application.
KWin compositor๊ฐ ์คํ๋์ง ์์ต๋๋ค
Plasma Desktop์์๋,scrcpy ๊ฐ ์คํ์ค์๋ compositor๊ฐ ๋นํ์ฑํ ๋ฉ๋๋ค.
์ฐจ์์ฑ ์ผ๋ก๋, "Block compositing"๋ฅผ ๋นํ์ฑํํ์ธ์.
###๋น๋์ค ์คํธ๋ฆผ์ ์ด ์ ์๋ ์๋ฌ๊ฐ ๋ฐ์ํฉ๋๋ค.(Could not open video stream).
์ฌ๋ฌ๊ฐ์ง ์์ธ์ด ์์ ์ ์์ต๋๋ค. ๊ฐ์ฅ ํํ ์์ธ์ ๋๋ฐ์ด์ค์ ํ๋์จ์ด ์ธ์ฝ๋(hardware encoder)๊ฐ ์ฃผ์ด์ง ํด์๋๋ฅผ ์ธ์ฝ๋ฉํ ์ ์๋ ๊ฒฝ์ฐ์ ๋๋ค.
ERROR: Exception on thread Thread[main,5,main]
android.media.MediaCodec$CodecException: Error 0xfffffc0e
...
Exit due to uncaughtException in main thread:
ERROR: Could not open video stream
INFO: Initial texture: 1080x2336
๋ ๋ฎ์ ํด์๋๋ก ์๋ ํด๋ณด์ธ์:
scrcpy -m 1920
scrcpy -m 1024
scrcpy -m 800