• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoShowcaseHome AutomationHow to install FFMPEG for pcDuino8 Uno
Previous Next

How to install FFMPEG for pcDuino8 Uno

Posted by: admin , February 21, 2016

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:

$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.

$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:

$sudo apt-get install dh-autoreconf

Now we can begin the process by:

$ ./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:

$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/

 

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors