1.1

树莓派部署与配置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  
posted @ 2020-01-05 04:42  asml  阅读(268)  评论(0编辑  收藏  举报
@.@