mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-17 01:00:41 +01:00
viewer: decode H.265 and request 4:4:4
Offer H.265 (RFC 7798) next to H.264 and list H.265 and 4:4:4 decoder caps; the host picks the codec. Depacketize single NAL, AP and FU units with the existing reorder/loss handling and decode with the ffmpeg CLI (-f hevc). UU_VIEWER_CHROMA=444 requests true color via CaptureSettingRequest field 7 and follows CaptureSettingSync; UU_VIEWER_CODEC=h264 keeps H.264 only. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
5c5958115a
commit
693660ed85
18 files changed
+368
-52
No files matched your search
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
The `red-{420,444}.{h264,hevc}` fixtures contain six synthetic 32x32 red IDRs,
|
||||
not desktop captures. Their decoded pixel formats are yuv420p and yuv444p.
|
||||
They let the CLI decoder test run without requiring encoders at test time.
|
||||
|
||||
Generated with FFmpeg (substitute `420` / `444` for `CHROMA`):
|
||||
|
||||
```sh
|
||||
ffmpeg -f lavfi -i color=c=red:s=32x32:r=10 -frames:v 6 -pix_fmt yuvCHROMAp \
|
||||
-c:v libx264 -threads 1 -preset ultrafast -tune zerolatency -g 1 \
|
||||
-f h264 red-CHROMA.h264
|
||||
ffmpeg -f lavfi -i color=c=red:s=32x32:r=10 -frames:v 6 -pix_fmt yuvCHROMAp \
|
||||
-c:v libx265 -threads 1 -preset ultrafast -tune zerolatency -g 1 \
|
||||
-x265-params pools=none:frame-threads=1:log-level=none:info=0 \
|
||||
-f hevc red-CHROMA.hevc
|
||||
```
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Reference in new issue
Block a user