[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [Linphone-developers] Distorted Image using VPU encoder

From: Wu Xing
Subject: Fwd: [Linphone-developers] Distorted Image using VPU encoder
Date: Fri, 7 Aug 2009 09:44:29 +0800

---------- Forwarded message ----------
From: Wu Xing <address@hidden>
Date: Fri, Aug 7, 2009 at 9:38 AM
Subject: Re: [Linphone-developers] Distorted Image using VPU encoder
To: Code Warrior <address@hidden>


Glad to find some other one using i.MX27 here!

I've integrated the i.MX27's VPU code with Mediastreamer-2.1.0, using H.263 encoding, too.

I modified the videoenc.c and videodec.c, but i didn't meet the problem you said, it seemed to work fine with X-Lite.

I didn't know much about how YUV encoder works, so I just simply imitated the mxc_vpu_test code.

videoenc.c and videodec.c are attached here, hope they helps.

On Thu, Aug 6, 2009 at 11:01 PM, Code Warrior <address@hidden> wrote:

I'm running Linphone 3.1.2 over i.MX27 platform using VPU encoder (H.263 encoding). I've
integrated the VPU code with Linphone and have been able to get two way video. Problem is
the encoded video is distorted. Investigating more into the issue, i could find that all the I-frames
are displayed correctly but the following P-frames keep getting shifted towards the left. This corrupts the
whole running video. I forced the VPU to send all the I-frames and it worked. Clearly, there seems to be
some issue with encoding of P-frames. YUV image (captured image fed to the encoder) is perfect
and is displayed correctly. So no issue in the captured image as well.

Looks to me some issue with the VPU encoder parameters. While i'm investigating it, any help in this regards
would be appreciated. Has anyone encountered this issue earlier ?


Note: I know this is not an iMX forum. But i thought i could get some help here since it is related to Linphone.

Linphone-developers mailing list

Attachment: videodec.c
Description: Binary data

Attachment: videoenc.c
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]