moq-video: Media Foundation H.264 breaks the bitrate cap on an RTX 5060 Ti host

Aperta
#10,334 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start with encode::backend::mediafoundation::tests::quality_under_a_cap and run cargo nextest run -p moq-video --lib -E 'test(quality_under_a_cap)' on a Windows host with the reported hardware. Trace how the Media Foundation H.264 encoder configures rate control and how the test measures spent bitrate. Done when the test passes under the 2 Mbit/s cap on the affected host.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

encode::backend::mediafoundation::tests::quality_under_a_cap fails on a Windows host with an Intel iGPU and an NVIDIA GeForce RTX 5060 Ti:

H264: a busy scene broke the cap: Spent { mean: 6000000, peak: 6000000 }

Under a 2 Mbit/s cap, the busy scene spends 6 Mbit/s both on average and at its peak. The hardware H.264 MFT this host picks seems to ignore the cap, or the test reads its advertised rate control wrong. Reproduced on main's code; https://github.com/moq-dev/moq/pull/10316 doesn't touch the encoder.

cargo nextest run -p moq-video --lib -E 'test(quality_under_a_cap)' on that host reproduces it in about 5 seconds. GitHub's Windows runners have no hardware MFT, so they skip it.

(Written by Claude Opus 5.5)

Lingua principale
Rust
Stelle
1.6k
Fork
251
Merge medio
10h 10m
PR unite (30g)
832

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di moq-dev/moq

Tutte le issue di moq-dev/moq

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.