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.

Linux: Ffmpeg install issue on AM5728 EVM

Other Parts Discussed in Thread: AM5728

Tool/software: Linux

I was trying to install the ffmpeg on AM5728-evm board.

using $opkg install ffmpeg

but it gives error like:

root@am57xx-evm:~# opkg install libav
Collected errors:
 * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'libav'.
root@am57xx-evm:~#

is there any alternate option for ffmpeg??

i tried to install libav but it also not installing .

what i need to do ? and how?

vijay patil.

  • The software team have been notified. They will respond here.
  • Hello vijay,

    This is the procedure of how to cross-compile and install a ffmpeg on your AM5728 EVM board.

    $ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386
    $ sudo dpkg-reconfigure dash
    Select "No" when prompted.

    $ wget https://releases.linaro.org/components/toolchain/binaries/6.2-2016.11/arm-linux-gnueabihf/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz
    $ tar -Jxvf gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME

    $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.01.00.06-config.txt
    $ cd build
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH
    $ MACHINE=am57xx-evm bitbake ffmpeg

    When the build completed you will have the ffmpeg at <tisdk>/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/ffmpeg/3.1.3-r0.arago0/deploy-ipks/armv7ahf-neon

    Transfer the packages to your board and Install the dependencies and the ffmpeg itself to your AM5728 EVM with opkg.

    root@am57xx-evm:~# opkg install libpostproc54_3.1.3-r0.arago0_armv7ahf-neon.ipk
    root@am57xx-evm:~# opkg install libswscale4_3.1.3-r0.arago0_armv7ahf-neon.ipk
    root@am57xx-evm:~# opkg install libavfilter6_3.1.3-r0.arago0_armv7ahf-neon.ipk
    root@am57xx-evm:~# opkg install libavdevice57_3.1.3-r0.arago0_armv7ahf-neon.ipk
    root@am57xx-evm:~# opkg install ffmpeg_3.1.3-r0.arago0_armv7ahf-neon.ipk

    Note: The procedure is taken from Processor SDK building the SDK page:
    processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK

    Best regards,
    Kemal

  • Thanks sir for Reply.

    I am trying to transfer the packages to am5728-evm board but its not doing.
    will you please tell me how i do??

    thanks.
    vijay patil
  • Copy the files to SD card. Use scp to transfer the files to am5728-evm if you have an Ethernet cable attached to it. Copy the files within targetNFS directory if you are using NFS.