xpra icon
Bug tracker and wiki

Opened 3 years ago

#1235 new enhancement

nvenc support for b-frames

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: future
Component: encodings Version: trunk
Keywords: nvenc b-frames Cc:

Description

Split from #800.

As per NvEncodeAPI v.6.0, we would have to keep both input and output buffers around until the frames come out (stops returning NV_ENC_ERR_NEED_MORE_INPUT), asynchronously of course.

So we would need multiple output "bitstreamBuffer"s and multiple CUDA output buffers (used with mapInputResource, the unmapInputResource would have to wait until the frames come out..)

The documentation is poor and conflicting: it says you have to do the picture type decision yourself in synchronous mode, but the pseudo-code does the opposite. Zero documentation on what displayPOCSyntax is. etc..

Attachments (1)

nven6-bframes-stub.patch (2.2 KB) - added by Antoine Martin 3 years ago.
asking for B frames doesn't seem to do anything either, frames still come out..

Download all attachments as: .zip

Change History (1)

Changed 3 years ago by Antoine Martin

Attachment: nven6-bframes-stub.patch added

asking for B frames doesn't seem to do anything either, frames still come out..

Note: See TracTickets for help on using tickets.