i.MX6Q VPU: Changing H.264 Profile and Level

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

i.MX6Q VPU: Changing H.264 Profile and Level

ソリューションへジャンプ
3,663件の閲覧回数
rebelalliance
Contributor III

Hi,

In the specs for the i.MX6Q VPU, it states that the encoder supports H.264 Base Profile, Main Profile, and High Profile.  However I was unable to find a way that I can select which profile to use.  I tried encoding video using the following pipeline:

gst-launch mfw_v4lsrc device=/dev/video1 capture-mode=5 ! vpuenc codec=6 seqheader-method=3 ! mpegtsmux ! filesink location=/path/to/myfile.ts

I take the encoded TS file and run it through an advanced H.264 video analysis software and it always indicates a Constrained Baseline profile.

My capture camera is a OV5640 MIPI camera that comes with the i.MX6Q SabreSD Platform.

My question is, how can I change the encoding H.264 profile to Main Profile or High Profile?  I have already looked through the documents but saw nothing pertinent.

Please advise.

Thanks.

ラベル(3)
0 件の賞賛
返信
1 解決策
1,574件の閲覧回数
varsmolta
Contributor V

According to the i.mx6 reference manual, the VPU can only encode "H.264 BP/CBP,", but can decode "H.264 BP/CBP/MP/HP". So you cannot use the VPU to encode Main Profile or High Profile

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,574件の閲覧回数
edison_fernande
Contributor III

Hi all,

I know this thread is already closed but I have a similar question. I know the vpu can only encode in baseline or constrained baseline profile level 4.0. Analyzing the stream it seems it is encoding constrained baseline level 3.1 so my question is, is there a way of changing the profile to baseline? Or maybe the level?

Thanks for your help.

Regards,

Edison

0 件の賞賛
返信
1,574件の閲覧回数
rebelalliance
Contributor III

That's correct.  Thanks for the clarification.

0 件の賞賛
返信
1,575件の閲覧回数
varsmolta
Contributor V

According to the i.mx6 reference manual, the VPU can only encode "H.264 BP/CBP,", but can decode "H.264 BP/CBP/MP/HP". So you cannot use the VPU to encode Main Profile or High Profile

0 件の賞賛
返信
1,574件の閲覧回数
varsmolta
Contributor V

Chapter 68 (page 5639 of

Document Number: IMX6DQRM

Rev. 0, 11/2012)

Video Processing Unit (VPU)

68.1 Overview

Video Processing Unit of i.MX 6Dual/6Quad is a high performance multi-standard video

codec

which can decode H.264 BP/CBP/MP/HP, VC-1 SP/MP/AP, MPEG-4 SP/ASP, H.263

P0/P3, MPEG-1/2 MP, Divx (Xvid) HP/PP/HTP/HDP, RV8/9/10, VP8 (1280x720),

AVS, H.264-MVC (1280x720), MJPEG BP (max. 8192x8192) up to full-HD 1920x1088

@30fps plus D1 @30fps. It can also perform H.264 BP/CBP, MPEG-4 SP, H.263 P0/P3,

MJPEG BP (max. 8192x8192) encoding up to full-HD 1920x1088@30fps.