Genymobile / Genymobile/scrcpy

Incorrect color representation of Samsung J7 2017

Open
#393 5 comments 0 reactions 0 assignees View on GitHub
display
Dominant language
C
Stars
150k
Forks
13.8k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

Happens both over WiFi and USB.

Running commands from [#177](https://github.com/Genymobile/scrcpy/issues/177#issuecomment-397973971):

```bash
adb shell screenrecord /sdcard/test.mp4
adb pull /sdcard/test.mp4
```

results in correct video.

Broken commands:

```bash
scrcpy -b10K -m360
scrcpy -b2M -m600
scrcpy
adb shell screenrecord --output-format=h264 - | ffplay -
```

The video is ultra-smooth, but it looks as if everything below some level of luminosity is interpreted as gray:

Here is screenshot of Samsung Settings:
![screenshot_20190112-191611](https://user-images.githubusercontent.com/8074163/51076874-b8a55e80-169e-11e9-8e71-aa7a7de3e6c1.png)

Here is screenshot of scrcpy:
![screenshot from 2019-01-12 18-57-21](https://user-images.githubusercontent.com/8074163/51076882-d246a600-169e-11e9-82b1-00cb3283c3cf.png)

Android 7.0 (stock, but installed custom kernel)
Samsung Experience 8.1
Kernel 3.18.14-Refined_Kernel-v2.8-Stable-J730F-G (custom kernel)
Model SM-J730F

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with scrcpy and the adb/ffplay commands listed in the report on a Samsung SM-J730F running Android 7.0. Compare the displayed colors with the Android Settings screenshot and the adb screenrecord output. Done means scrcpy displays dark colors correctly without breaking the reported smooth video behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.