ma3uk / obs-qsv-onevpl

obs-qsv11 plugin with oneVPL support
44 stars 1 forks source link

Overflow seems to happen above 65535 kbps #9

Closed ckdt1105 closed 1 year ago

ckdt1105 commented 1 year ago

Encoder fails to start in CBR mode or (current bitrate - 65535)kbps

image CBR 65540kbps = recoding error, encoding error while recoding.

image (two 320kbps audio track is included) CBR 66000kbps = 465ish bitrate

image (two 320kbps audio track is included) CBR 70000kbps = 4465ish bitrate

ckdt1105 commented 1 year ago

I found this bug can also happen when using QSV in the vanilla version of OBS.

I think it may not be a problem with the oneVPL plugin

(A380, 31.0.101.4369)

ma3uk commented 1 year ago

@ckdt1105 Unfortunately, the value of the TargetBitrate variable is limited to 16 bits inside the oneVPL library, so an overflow occurs. I have sent a request to Intel, waiting for a response in the hope of making changes to the library.

ma3uk commented 1 year ago

@ckdt1105 the solution has been found, I will post a new build in the near future

ma3uk commented 1 year ago

@ckdt1105 Fixed in release 1.1.0.0_dev4

ckdt1105 commented 1 year ago

@ma3uk thank you