Skip to content

Bitrate incorrect when using NVMM memory #8

@emmadrigal

Description

@emmadrigal

The following pipeline:

gst-launch-1.0 videotestsrc ! nvvideoconvert ! "video/x-raw(memory:NVMM),width=1920,height=1080,format=I420" ! perf ! fakesink

This reports 330fps with a bitrate of 160kbps. The theoretical bitrate is of around 1Gbps.

The culprit appears to be the call of gst_buffer_get_size which doesn't work correctly with the gpu mapped memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions