Hardware Videoconvertor in imx6qsabreauto

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

Hardware Videoconvertor in imx6qsabreauto

1,415 次查看
saseendranathvs
Contributor I

Hi,

Is there any hardware video convertor is available in imx6qsabreauto board? I want to convert NV12 format to BGRx format. If I use videoconvert, the video is very slow. 

I am using this pipeline : 

appsrc name=src is-live=true typefind=true block=false do-timestamp=true format=GST_FORMAT_TIME ! h264parse ! vpudec ! queue max-size-buffers=3 max-size-time=0 ! videoconvert ! waylandsink sync=false. 

标签 (1)
0 项奖励
回复
4 回复数

1,172 次查看
joanxie
NXP TechSupport
NXP TechSupport

mx6q has hardware CSC module in the IPU, which has color conversion, you can refer to it.

0 项奖励
回复

1,172 次查看
saseendranathvs
Contributor I

Hi Joan,

I used imxvideoconvert_ipu (Long-name   : IMX ipu Video Converter) in my pipeline. Like this,

gst-launch-1.0 filesrc location=/home/root/video_with_display.h264 ! h264parse ! vpudec ! video/x-raw, format=NV12 ! imxvideoconvert_ipu ! video/x-raw,format=RGB16 ! waylandsink -v

Here I used a h264 file as source,instead of appsrc.

But I got a black screen.

The waylandsink on  my board supports only BGRA, BGRx, RGB16. So I tried all these formats, but output is black screen only.

Is it is a problem with ipu? How to check?

What to do to make waylandsink to accept NV12?

0 项奖励
回复

1,172 次查看
joanxie
NXP TechSupport
NXP TechSupport

how about useing ximagesink? for example:

"gst-launch-1.0 videotestsrc ! video/x-raw,format=NV12 ! imxvideoconvert_{xxx} ! video/xraw,
format=RGB16 ! ximagesink display=:0"

xxx = ipu or g2d, you can test this command to chech conversion works or not on your board.

0 项奖励
回复

1,172 次查看
saseendranathvs
Contributor I

Hi Joan,

Ipu is working fine, issue is with wayland display. I dumped the output from ipu and played it. I have made a new post for this issue. Kindly look into that. 

Here is the link : https://community.nxp.com/thread/458623 

0 项奖励
回复