How to compile ffmpeg for SabreBoard Imx6DL

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

How to compile ffmpeg for SabreBoard Imx6DL

2,116 Views
alper
Contributor I

Hi,

I want to compile ffmpeg for my arm machine. I download ffmpeg file. After that i tried to compile with cross compiling but i couldn't compile.  I have a error like this:

arm-poky-linux-gnueabi-g++ is unable to create an executable file.

C compiler test failed.

What should i do?

Can you tell me how can i compile ffmpeg step by step?

Thank you.

Best Regards.

Alper KAĞITCI

0 Kudos
4 Replies

1,000 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Alper KAĞITCI,

Are you able to compile a simple .c file as a test?

I would recommend looking at the following training which follows a kernel compile step by step. However, in your case it seems that the problem may be with the flags when compiling ffmpeg.

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

Please also share the full command you are using, I suspect that the cross compiling may not be configured correctly.

Regards,

0 Kudos

1,000 Views
alper
Contributor I

Dear Gusarambula,

Cross compiler is : arm-poky-linux-gnueabi-g++

Infact I generated SDK out of the  Yocto project :fsl-imx-x11/

I want to create openCv wıth ffpmpeg support .

I can run my helloworld and even ı can use ımage fıles and dısplay them ın the sabre board usıng opencv

code , whıch ı compıled usıng my cross compıler on my host machıne .

My Problem ıs ı wanna have a ffmpeg support for OPENCV lıbrary , seems by default fsl-ımx-x11 ımage doesnt create opencv wıth ffmnpeg support .

Kındlly help here.

Wıth regard and respect,

Alper Bey

0 Kudos

1,000 Views
1990rahulreddy
Contributor IV

ımage fıles and dısplay them ın the sabre board usıng opencv.

Where you are putting images...& are you using Eclipse...please help

0 Kudos

1,000 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Alper Bey,

You may even add ffmnpeg using Yocto. Please look at the document below:

GStreamer ffmpeg

Regards,

0 Kudos