I am running freerdp on freescale imx6 quad core.When there is audio and video lagging when playing high quality videos greater than 480p.imx6q is acting as rdp client and windows 7 is acting as a RDP server,

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I am running freerdp on freescale imx6 quad core.When there is audio and video lagging when playing high quality videos greater than 480p.imx6q is acting as rdp client and windows 7 is acting as a RDP server,

2,357 Views
shammi112
Contributor I

I am running freerdp on freescale imx6 quad core.When there is audio and video lagging when playing high quality videos greater than 480p.imx6q is acting as rdp client and windows 7 is acting as a RDP server. Please help me to solve this problem. Using freerdp i am able to play videos upto 720p in x86 pc running ubuntu having 4 cores without graphics card.

Labels (1)
0 Kudos
12 Replies

1,229 Views
igorpadykov
NXP Employee
NXP Employee

Hi shammi,

comparison with x86 pc is not accurate because i.MX6 was designed for portable

low power applications and designers can not use much high frequency and power

hungry fabric. Still, you can try many optimizations found on links below

Such as enlarging memory size, for example SabreAuto board whose memory

is 2G whose enet download speed can reach to 270 Mbps about 50Mbps over Sabresd.

Also do not forget to use VPU Multimedia Codecs.

https://community.freescale.com/docs/DOC-93804

https://community.freescale.com/docs/DOC-98322

L3.0.35_4.1.0_MM_CODECS

i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo and i.MX 6Sololite Linux Multimedia Codecs

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

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

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

0 Kudos

1,229 Views
shammi112
Contributor I

When i am running video locally on board using gplay it is able to play videos upto 1080p very smoothly.When i am using freerdp protocol for multimedia redirection(Decoding done by imx6q) there is audio and video lag.But i am able to play low quality videos with small resolution on imx6q smoothly.Windows 7 PC is acting as server and imx6 as client. Decoding is done by imx6 board.As shown in previous comment when i am playing the normal video or  using freeRDP only one core is being utilized.Please suggest some way to solve this problem.


Small resolution videos are working smoothly on the board. But when i am increasing the resolution there is audio as well as video lag.

0 Kudos

1,229 Views
igorpadykov
NXP Employee
NXP Employee

Hi shammi

please look at link below

https://github.com/FreeRDP/FreeRDP/issues/1643

also you should install gstreamer plugins.

Best regards

chip

0 Kudos

1,229 Views
shammi112
Contributor I

ok, I will try that.I compiled latest freerdp1.1. in board using ubuntu file system. it compiled but when i am passing /multimedia:decoder:ffmpeg or gstreamer video is blank only audio is coming.Same source i compiled in x86 ubuntu its working smoothly.

Please help me to resolve the issue ASAP.

0 Kudos

1,229 Views
igorpadykov
NXP Employee
NXP Employee

Hi shammi,

I do not think that this is trivial case and may be quickly

solved. Seems actually you are using software codecs,

for using i.MX6 hardware codecs one needs to install codec

package below and gstreamer plugins (if using gstreamer)

L3.0.35_4.1.0_MM_CODECS : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo and i.MX 6Sololite Linux Multimedia Codecs Sources.

Also one can try with latest Yocto

L3.10.17_1.0.0_IMX6QDLS_BUNDLE : Source Code Download Steps Documentation and Demo Images.

Yocto manual below

https://community.freescale.com/docs/DOC-94023

I would highly recommend to post also on yocto mailing list

https://github.com/Freescale/meta-fsl-arm

Best regards

chip

0 Kudos

1,229 Views
shammi112
Contributor I

Yes i am using software codecs freerdp has support for ffmpeg and gstreamer.But there is some issue with gstreamer freerdp plugin.

But thing is that same source i compiled in ubuntu pc and working smoothly with ffmpeg decoder. But when i cross compiled the same package and passing ffmpeg video is blank at least it should show something.

If i am not passing ffmpeg as decoder video is coming but its slow. Same thing happening in x86 if not passing ffmpeg .

0 Kudos

1,229 Views
igorpadykov
NXP Employee
NXP Employee

Hi shammi,

actually seems more appropriate place is to post

this on freerdp mail list, just because here we are

using Freescale BSP releases. Not sure that we have resources

to support other software

http://sourceforge.net/projects/freerdp/

You can start with Freescale Linux and try hardware codecs.

I.MX6 can support 1080 resolutions only with harwdare accelerated

codecs.

L3.0.35_4.1.0_MM_CODECS : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo and i.MX 6Sololite Linux Multimedia Codecs Sources.

I understand that x86 ubuntu is working smoothly with software codecs,

but i.MX6 can not, sorry.

Best regards

chip

0 Kudos

1,229 Views
shammi112
Contributor I

Ok So i need to use gstreamer plugin. . I will try with gstreamer. But When i am using ffmpeg on the board video is blank. at least it should show something.

I am posting on freerdp mailing list but there is no reply from their side

0 Kudos

1,229 Views
igorpadykov
NXP Employee
NXP Employee

Hi shammi

probably for ffmpeg one needs to install additional

libraries, I am not sure which, because actually you are

using generic codec libraries built for x86 processors.

There are special arm codecs on Freescale web page given above.

Best regards

chip

0 Kudos

1,229 Views
shammi112
Contributor I

Actually i am using ubuntu 12.04 RFS(armhf) on board to install ffmpeg libraries and to compile freerdp 1.1 but still problem is there. I am following the

Instruction given on freerdp installation page but still ffmpeg is not working for me.

Same instruction i followed for my x86 ubuntu pc and ffmpeg is working.

0 Kudos

1,229 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos

1,229 Views
shammi112
Contributor I

When i am running video locally on board using gplay it is able to play videos upto 1080p very smoothly.When i am using freerdp protocol for multimedia redirection(Decoding done by imx6q) there is audio and video lag.But i am able to play low quality videos with small resolution on imx6q smoothly.

When i am running the  Video on target board I have noticed that total load is going on 1 core only.can you tell me how to distribute load on 4 cpu's. rdp.png

0 Kudos