Open neilyoung opened 1 year ago
Hello @neilyoung! :wave: we're sorry you found a bug... so first of all, thank you very much for reporting it.
To know about progress, check in Triage. All issues are considered Backlog Candidates until work priorities align and the issue is selected for development. It will then become part of our official Backlog.
Attempting to improve transcoding quality for WEBM by
setMaxOutputBitrate(0)
(supposed to be unlimited), doesn't change anything: The resulting WEBM file when transcoding is about 2MByte per minute, while it is about 12MByte/min if plain VP8 as input. The same time the browser's encoder produces a constant bitstream of 3 MBit/s... That doesn't go together well, IMHO.
EDIT: Having now recorded 5 minutes WEBM. WebRTC internals showed 3 MBit/s encoding bitrate H.264 constant. The created output file was about 12MB. IMHO this means a rough output transcoding bitrate of about 300 kBit/s.
The Min and MaxOutputBitrate settings were lacking proper docs on what they do exactly, because they are quite advanced settings to change the limits of REMB bitrate feedbacks on WebRTC, and that's something that is not obvious nor too useful for most users.
Also, the actual bitrate for transcoding was hardcoded to 300 kbps :-(
This all changes today, because your comment prompted me to look into adding a new property, targetOutputBitrate
, which once integrated, will allow to set whatever desired target bitrate for the encoder:
https://github.com/Kurento/kms-core/commit/e0cd48696db11c719cccc66d35323b28748ea264
Note this work happened on the branch "7.0.0", because nowadays we're slowly getting ready to make the jump for the major version update. If you want to test custom code against Kurento 7, make sure you checkout to the 7.0.0 branch in all repos.
7.0 does not get the corresponding client SDK generated, so this might take a while to appear for nightly users of Kurento; I'll try to backport it to 6.x, otherwise this property will be available when 7.0 gets released (hopefully soon!)
Oh...mmm. Would be nice to have that in 6.18.1 too
We are also desperate to get some decent quality recordings out of KMS. Due to production use it is hard to rely on custom build or development version. Is there any estimate when this feature will be out in stable build?
@j1elo Did you succeeded in backporting to 6.x?
Prerequisites
These are MANDATORY, otherwise the issue will be automatically closed.
Issue description
Context
How to reproduce?
Expected & current behavior
Should not contain periodic intra frames
(Optional) Possible solution
Info about your environment
KMS source compilation, GST source compilation. Running in VM on same machine
About Kurento Media Server
About your Application Server
About end-user clients
Run these commands