i.mx 6s H264 encoding

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.mx 6s H264 encoding

ソリューションへジャンプ
9,476件の閲覧回数
cmolson
Contributor II

Hi,

I was wondering if freescale provides (or plans to) h264 encoding software for the imx6 series processors. I am developing an application to stream video from a 2MP cmos sensor. We have been looking at using something like the TI DM365, but the i.mx6 really impresses me.

If there is code available, what would the best development kit be? I suppose we could use the SABRE Lite, even though we don't need the quad core functionality.

Thanks!

ラベル(2)
タグ(1)
1 解決策
3,157件の閲覧回数
LaurenPost
NXP Employee
NXP Employee

H.264 encoding is supported in hardware on the other platforms through our VPU processor (Dual Quad and Dual Lite).   It is unlikely that software encoders for the solo will be provided for the solo platform by Freescale.

As for other code to use, ffmpeg is one option although it has not been tested for its encoder use on Freescale platforms.

元の投稿で解決策を見る

0 件の賞賛
返信
12 返答(返信)
3,158件の閲覧回数
LaurenPost
NXP Employee
NXP Employee

H.264 encoding is supported in hardware on the other platforms through our VPU processor (Dual Quad and Dual Lite).   It is unlikely that software encoders for the solo will be provided for the solo platform by Freescale.

As for other code to use, ffmpeg is one option although it has not been tested for its encoder use on Freescale platforms.

0 件の賞賛
返信
3,157件の閲覧回数
cmolson
Contributor II

Thank you for the response Lauren. Is the encoder that different between the imx6s and imx6d? I see that from the product page the imx6s supports hardware encode/decode, would the VPU documentation be available for us to write our own software for it?

Thanks!

0 件の賞賛
返信
3,157件の閲覧回数
LaurenPost
NXP Employee
NXP Employee

You did not state which OS - Linux or Android.   The VPU has frameworks already in place with Gstreamer on Linux and OpenMAX on Android which already interface with the VPU hardware.   You can write applications that interface to these applications.  On Linux, there is unit test code provided you can interface directly to the vpu library.

0 件の賞賛
返信
3,157件の閲覧回数
MustafaMunir
Contributor II

Hi Lauren,

We want to use H.264 encoder on android on Sabre Table. Is there any example/unit test code which shows how one should use freescale openmax implementation directly in an application.

Secondly, a libstagefrighthw is loaeded in stagefright, does that make freescale hardware encoders available through stagefright ?

Thanks & Regards,

Mustafa

0 件の賞賛
返信
3,157件の閲覧回数
LaurenPost
NXP Employee
NXP Employee

In the Android releases fsl_imx_omx source is now released starting with i.MX6 in R13.4.  In the directory under OpenMAXIL/test there are several examples.

On ICS, there is the NuPlayer under the frameworks/base/libmediaplayerservice which shows examples. 

FSL VPU H.264 encode has been integrated through stagefright under codecs/avc.

0 件の賞賛
返信
3,157件の閲覧回数
MustafaMunir
Contributor II

Thanks Lauren,

I have quickly looked at code in codecs/avc. In AVCEncoder.cpp following is a log message.

                          LOGV("Construct software AVCEncoder");

I think VPU is hardware based encoder, from above comment it seems as if codecs/avc is a software encoder. Can you please confirm that basically I have misunderstood the above message? Please note that I am looking at FSL BSP 10.3.2 (android 2.3.3) for IMX53 based sabre tablet.

Thanks once again.

Regards,

Mustafa

0 件の賞賛
返信
3,157件の閲覧回数
LaurenPost
NXP Employee
NXP Employee

Sorry I had the directory wrong.  Looking on FSL R10.4  (sorry don't have R10.3.2), the vpu encoder is in the codecs/vpu/enc directory.

Also since you are on Gingerbread, the FSL openmax code was not released for pre-ICS releases so my answer above was for ICS on iMX6 releases.  

0 件の賞賛
返信
3,157件の閲覧回数
MustafaMunir
Contributor II

Thanks Lauren,

One more question, Can you please tell me any link from where I can get R13.4 which includes samples for OpenMAX. I have tried really hard to find it on Freescale site, I might be looking at a wrong place.

Thanks again.

Regards,

Mustafa

0 件の賞賛
返信
3,157件の閲覧回数
LaurenPost
NXP Employee
NXP Employee

On freescale.com/imx  i.MX6 software BSP packages have not been released yet but should be available very soon.

0 件の賞賛
返信
3,157件の閲覧回数
LaurenPost
NXP Employee
NXP Employee

It just got uploaded today - go to i.MX6Q Product Summary Page  

Look for IMX6_R13.4_ANDROID_SOURCE_CODE package under Board Support Packages under Software

0 件の賞賛
返信
3,157件の閲覧回数
MustafaMunir
Contributor II

Lauren, Thanks for the information :smileyhappy:.

Regards,

Mustafa

0 件の賞賛
返信
3,156件の閲覧回数
cmolson
Contributor II

We are planning on running Linux. Okay I think I understand a bit better now. We are familiar with gstreamer and are currently using that for another application.

I appreciate your help!

Christian

0 件の賞賛
返信