Encoding H.264 & H.265 using vpu_wrapper.h ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Encoding H.264 & H.265 using vpu_wrapper.h ?

ソリューションへジャンプ
1,920件の閲覧回数
ari-san_24
Contributor II

Hi,

 

We have an EDM-G-WB board with an i.MX8 M+ SoM.

We want to use the VPU API for the following:

  • H.264 encoding with different profiles
  • H.265 encoding.

Is that possible using vpu_wrapper.h ?

If so, how?

If not, is it possible to use the functions in hantro_VC8000E_enc/hevcencapi.h ?

 

Thanks in advance for any help / information!

Ari S.

0 件の賞賛
返信
1 解決策
1,844件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Ari

 

>How can I use different profiles for encoding H.264 and H.265?

 

unfortunately, vpu_wrapper cannot be used to select any profile for encoding, nor for H.264 or H.265.

I asked internally, please see below the internal answer received:

------------------

"Currently there is no option as part of the VPU wrapper to configure the profile levels. The reason being, the Encoder can only be configured against constant bitrate  (or) variable bit rate. The bitrate algorithm that is part of the Encoder completely hides the user from selecting the various encoding options, as bitrate is what finally everyone will look to when configuring the encoder."

------------------

Best regards
igor

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,903件の閲覧回数
ari-san_24
Contributor II

Hi Igor,

Thanks very much for your reply and info links. I had read the IMX VPU API Reference Manual.

I'm afraid my question was not specific enough. What I actually meant, was: How can I use different profiles for encoding H.264 and H.265?

1. Is it possible to select BP, MP, or HP profile for encoding an H.264 stream?
The API reference manual lists BP/MP/HP H.264 profiles, but apparently only for decoding.

2. Is it possible to select different H.265 profiles, or even change any parameters for H.265? 
VpuEncOpenParams contains a union VpuEncStdParam with only 3 values: mp4Param, h263Param, or avcParam.
All the HEVC descriptions also seem to refer to decoding...


Thanks,
Ari

 

 

 

 

 

1,845件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Ari

 

>How can I use different profiles for encoding H.264 and H.265?

 

unfortunately, vpu_wrapper cannot be used to select any profile for encoding, nor for H.264 or H.265.

I asked internally, please see below the internal answer received:

------------------

"Currently there is no option as part of the VPU wrapper to configure the profile levels. The reason being, the Encoder can only be configured against constant bitrate  (or) variable bit rate. The bitrate algorithm that is part of the Encoder completely hides the user from selecting the various encoding options, as bitrate is what finally everyone will look to when configuring the encoder."

------------------

Best regards
igor

0 件の賞賛
返信
1,821件の閲覧回数
ari-san_24
Contributor II

Hi Igor,

Thank you for checking!
I will keep hoping that this feature might be added in a future version.

Best Regards,
Ari

0 件の賞賛
返信
1,913件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Ari

 

yes vpu_wrapper.h can be used for encoding, one can refer to   i.MX VPU API Reference Manual​

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-GStreamer-User-Guide/ta-p/1098942

 

Best regards
igor