cannot been deinterlaced with i.MX8MQ

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

cannot been deinterlaced with i.MX8MQ

2,702 次查看
zetfan
Contributor I
Hello.
 
I am trying to play H.264 and MPEG2 interlaced video using a hardware decoder with i.MX8MQ,
but the displayed video has not been deinterlaced.
The decoder library log is as follows,
and the output format is progressive.

VideoDecoderBase: New format(pixelfmt=0x103, min buffers=3, request buffers 6, w*h=1440 x 1088, crop=(0 0 1440 1080), interlaced 0)

My questions are:
1. Does the imx8mq VPU not have the ability to deinterlace during decoding?
2. If so, why is the video being output as progressive?

The environment is as follows:
OS: Android 11.0.0
Player: VLC for android 3.1.7
0 项奖励
回复
10 回复数

2,645 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

For H1 encoder IP, which can support interlaced video according to the reference manual, but for VPU API, which couldn't handle interlaced video on encoding, but decoder api does.

regards

 

0 项奖励
回复

2,571 次查看
zetfan
Contributor I
Hello Bio_TICFSL,

I am currently using the imx-vpuwrap library,
but is it possible to perform deinterlacing?
Also, can I check if deinterlacing is enabled from a CPU register?

Thank you.
0 项奖励
回复

2,555 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

The VPUWrap library does not support deinterlaced video, as mentioned before just the API does but you have to change the code.

Regards

0 项奖励
回复

2,481 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You need to change the file utils and try to change the VpuScanAvccFrameNalNu, I think also the datasize, of course this is going to be part of VPUAPI.

Regards

0 项奖励
回复

2,414 次查看
zetfan
Contributor I

Hi,

I believe deinterlacing is done by setting bAllowFieldDBP to true and using the buffer in the VPU,
but now two frames are displayed one above the other.
Are there any additional changes I need to make?
 
Thank you.
0 项奖励
回复

2,398 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

No, Form the point of view of VPU.

regards

0 项奖励
回复

2,286 次查看
zetfan
Contributor I
Does the software deinterlace the two frames output from the VPU?
 
Thank you.
0 项奖励
回复

2,473 次查看
zetfan
Contributor I

Hi,

Why doesn't the VPUWrap library implement interlace detection?
Was there a risk of performance degradation or anything like that?
 
Thank you.
0 项奖励
回复

2,488 次查看
zetfan
Contributor I

Hi,

What is the status regarding the changes required to the VPUWrap library to deinterlace?
Could you please let me know what the changes required are?
0 项奖励
回复

2,546 次查看
zetfan
Contributor I

Hi,

 

Can you please tell me what changes are needed to the VPUWrap library to enable deinterlacing?
0 项奖励
回复