This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can use ffmpeg on DM368?

Other Parts Discussed in Thread: TMDXEVM368

Hi

I want to use ffmpeg on my TMDXEVM368 board,

and faced to the compilation problem, cannot compile.

Does anyone show me the method to use the ffmpeg on DM368?

 

I got the latest package of "ffmpeg" that it's working on Ubuntu.

I try the below on "ffmpeg",

 

$./configure --target-os=linux --arch=armv --cpu=armv5te --enable-cross-compile --cross-prefix=/home/dm368/Toolchain/bin/ar

m-none-linux-gnueabi- --prefix=/home/dm368/ffmpeg

 

but the error occurred as blow.

 

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

......(omitted)

......

License: LGPL version 2.1 or later

Creating config.mak and config.h...

config.h is unchanged

libavutil/avconfig.h is unchanged

 

WARNING: /home/dm368/Toolchain/bin/arm-none-linux-gnueabi-pkg-config not found, library detection may fail.

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

 

Exactly in my cross-compiler directory "/home/dm368/Toolchain/bin/",

there is not a executed file "arm-none-linux-gnueabi-pkg-config".

How can I get the file above?

Or there is some other method to be able to use ffmpeg?

 

Best regards!

 

Hirotaka

  • Compiling with MontaVista5 toolchain :

    ./configure --arch=arm41 --cpu=armv5te --disable-muxers --enable-muxer=avi --enable-muxer=asf --disable-encoders --enable-encoder=pcm_mulaw --enable-encoder=aac --enable-encoder=libx264 --enable-encoder=mjpeg --enable-encoder=mpeg4 --disable-decoders --disable-indevs --disable-outdevs --disable-filters --disable-parsers --disable-demuxers --disable-protocol=pipe --disable-bsfs --disable-ffmpeg --disable-ffserver --disable-ffplay --enable-small --disable-debug --enable-cross-compile --cross-prefix=arm_v5t_le- --disable-mmx --disable-network --disable-zlib --disable-debug --enable-libx264 --enable-nonfree --enable-gpl --extra-cflags=-I./../include --extra-ldflags=-L./../lib --prefix=./..

    Regards.

  • Hi Marko

     

    Thank you very much for your advice.

    I have not a compiler of MontaVista5 toolchain, just have version4.

    and I tried it by using version4, but unfortunately failed too.

     

    And then, I try again like above last by using toolchain of CodeSourcery.

    I remove the present object file(*.o), and recompile,

    on this time, compiling is completed.

    so I have made a success of the ffmpeg on my DM368 board.

     

    Thank you.

     

    -Hirotaka

  • Hi Hirotaka,

    I want to use ffmpeg on my TMDSEVM3730 board, but get the same error as you:

    WARNING: /home/sosoc/Git_sosoc/sosoc_soft/CodeSourcery/bin/arm-none-linux-gnueabi-pkg-config not found, library detection may fail.

    And as you, in my cross-compiler directory there is not a executed file "arm-none-linux-gnueabi-pkg-config".

    How did you do to make it working?

    Thanks

    Olivier


  • Hi Olivier

    Sorry late to reply to you.

    Exactly you don't need the executed file "arm-none-linux-gnueabi-pkg-config".

    You can try below as I did:

    # make clean

    #./configure --target-os=linux --arch=armv --cpu=armv5te \
    --cross-prefix=/home/dm368/Toolchain/bin/arm-none-linux-gnueabi- \
    --prefix=/home/dm368/ffmpeg_20111110_dm368/ffmpeg/build

    #make

    Good Luck!

    Hirotaka