树莓派部署与配置libav流水账[失败]
# 安装一些基本的东西
sudo apt-get install -y libavcodec-dev libswscale-dev libavutil-dev git make gcc
# 安装live555
wget http://live555.com/liveMedia/public/live555-latest.tar.gz
tar -zxvf live555-latest.tar.gz
cd live
sudo ./genMakefiles linux
sudo make
sudo make install
cd ..
# 安装x264
git clone https://code.videolan.org/videolan/x264.git
cd x264
./configure
make -j4
make install
cd ..
# 编译与运行最终代码 失败
git clone https://gitee.com/secho1997/live_camera_linux.git
mkdir /opt/vc/
mkdir /opt/vc/src/
mkdir /opt/vc/src/hello_pi/
mv live_camera_linux /opt/vc/src/hello_pi/live_camera_linux
cd /opt/vc/src/hello_pi/live_camera_linux
sudo make
sudo make install
sudo ./zk_v4l2_x264_source
"随笔"类型下的内容为原创,转载请注明来源. http://www.cnblogs.com/DragonStart/