H.264 too slowly on i.MX6

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

H.264 too slowly on i.MX6

2,306 次查看
ivanskl
Contributor I

Hi!

I'm writing program for i.MX6 SABRE Lite board. In my program (I'm using QT/qml+OpenCV) I receave 4 h.264-stream from 4 IP-cameras, but it's too slowly, delay about 2 sec even on 360x240 resolutions. :smileysad:

In the user manual for this board I've read: "Mult-stream-capable HD video delivering H.264 1080p60 decode, 1080p30 encode? and 3-D video playback in HD." Where is it? How can I use it in my project in QT/C++ ?


I'm using Ubuntu Xenial for i.MX6/7 boards – August 2016 (kernel 4.1.15) from here: https://boundarydevices.com/ubuntu-xenial-mx67-boards-august-2016-kernel-4-1-15/

Thank You for any advices.

标签 (4)
标记 (6)
0 项奖励
回复
5 回复数

1,706 次查看
ivanskl
Contributor I

OK, I've found data sheet and my processor has VPU. Then I've read "i.MX 6DQ Reference Manual (IMX6DQRM R2, Part 2)" about VPU (Chapter 69) and I've found something interesting there: "NOTE RealNetwork video codec is disabled by default on i.MX 6 series processors. Please contact your Frescale sales representative for  more details."

Can you say something about that?

0 项奖励
回复

1,706 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ivan

one can verify with full part number that processor has vpu module

(i.MX6DQ/SDL have it) and try gstreamer-imx plugins

Building GStreamer plugins under Ubuntu - Boundary Devices 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,706 次查看
ivanskl
Contributor I

Thank you for your reply. Processor on my board marked like PCIMX6QSEVT10AC.

Here is cpuinfo;

root@nitrogen:/proc# cat /proc/cpuinfo
processor    : 0
model name    : ARMv7 Processor rev 10 (v7l)
BogoMIPS    : 7.54
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x2
CPU part    : 0xc09
CPU revision    : 10

processor    : 1
model name    : ARMv7 Processor rev 10 (v7l)
BogoMIPS    : 7.54
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x2
CPU part    : 0xc09
CPU revision    : 10

processor    : 2
model name    : ARMv7 Processor rev 10 (v7l)
BogoMIPS    : 7.54
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x2
CPU part    : 0xc09
CPU revision    : 10

processor    : 3
model name    : ARMv7 Processor rev 10 (v7l)
BogoMIPS    : 7.54
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x2
CPU part    : 0xc09
CPU revision    : 10

Hardware    : Freescale i.MX6 Quad/DualLite (Device Tree)
Revision    : 63012
Serial        : 0000000000000000
root@nitrogen:/proc#

How to undestand is there any VPU?

About gstreamer, yes OpenCV uses it

0 项奖励
回复

1,706 次查看
igorpadykov
NXP Employee
NXP Employee

some codecs may require licensing, like between

customer and Real Networks. Please apply to local marketing office

for more details.

Worldwide Locations|NXP 

sect.1.1 Ordering Information i.MX6DQ Datasheet shows which processors have vpu

http://www.nxp.com/docs/en/data-sheet/IMX6DQCEC.pdf

Best regards
igor

0 项奖励
回复

1,706 次查看
ivanskl
Contributor I

If it means "RealNetwork protocol", then I don't use that protocol, I use only h.264 in my Local Network. 

And for now, I don't understand how to enhance h264 stream reading from IP camers in my program on i.mx6 board. Is there any way?

0 项奖励
回复