How to insert sps/pps slice by using omxh265enc plugin?

I encodec video by using omxh265enc,but I found out it doesn’t include SPS-PPS slice,and it does not have the element properties which name “insert-sps-pps” like another piugin nvv4l2h265enc.
How to insert sps/pps slice by using omxh265enc plugin?

Hi,
Since we have deprecated omx plugins, suggest you use nvv4l2h265enc.

The omxh265enc plugin is open source. You may download the source code to add the property.

1 Like

The nvv4l2h265enc‘s sink need datasource which is video/x-raw(memory:NVMM), can Nvidia optimize it to make it support the datasource without NVMM?
It is not convenient for us to use nvv4l2h265enc plug-in now,we need to convert the memory format before use it.

Hi,
For using omxh265enc there is internal data copy from video/x-raw buffer to video/x-raw(memory:NVMM) buffer. If you run

... ! video/x-raw ! omxh265enc ! ...

It is same as

... ! video/x-raw ! nvvidconv ! video/x-raw(memory:NVMM) ! nvv4l2h265enc ! ...

There are bug fixes/patches merged into v4l2 plugins, it is better to use the plugins. The omx plugins are still open source but not revised.

1 Like

Thank you for your answer.