Account Navigation

Account Navigation

Currency - All prices are in AUD

Currency - All prices are in AUD
 Loading... Please wait...
CuteDigi

How to install FFMPEG for pcDuino8 Uno

Posted by on

FFMPEG is the great tool if you want to deal with video. In this tutorial, we show how to install this complicated tool on pcDuino8 Uno,

Install H264 Support:

Enter the following commands:

?
1

2

3

4

5

6

$cd home/linaro

$git clone git://git.videolan.org/x264

$cd x264

$./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl

$make

$sudo make install

Install AAC Support:

This step is optional. But as we will use ffmpeg to capture the rtsp stream from the deepcam, and save the video stream into mp4 file. So we will need to install this audio codec.

?
1

2

3

$cd /home/linaro

$git clone https://github.com/mstorsjo/fdk-aac.git

$cd fdk-aac

Before we move forward, we need to install dh-autoreconf tool:

?
1
$sudo apt-get install dh-autoreconf

Now we can begin the process by:

?
1

2

3

4

5

$ ./autogen.sh

$ ./configure --enable-shared --enable-static

$ make

$sudo make install

&sudo ldconfig -v

Install FFMPEG:

When we install FFMPEG, we need to enable libx264 and libfdk-aac:

?
1

2

3

4

5

6

$cd /home/linaro

$git clone git://source.ffmpeg.org/ffmpeg.git

$cd ffmpeg

$sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --enable-libfdk-aac

$make

$sudo make install

We can test if the installation is successful or not by typing ‘ffmpeg’.
Ref:

  1. http://www.jeffreythompson.org/blog/2014/11/13/installing-ffmpeg-for-raspberry-pi/