VLC、FFMPEG、LIVE555 install (based on ubuntu 16.04 32-bit )

1. VLC
Install :
1) sudo apt-get install git libtool build-essential pkg-config
autoconf
wget http://download.videolan.org/pub/videolan/vlc/2.2.1/vlc-2.2.1.tar.xz
xz -d vlc-2.2.1.tar.xz
tar xvf vlc-2.2.1.tar
cd vlc-2.2.1
2) ./bootstrap
3) sudo apt-get build-dep vlc//get the third-party libs// config the best service
4) ./config
5) sudo make
6) make install
Drive command
1) ./vlc // drive the graphical interface
2) Vlc -vvv test.mp4 –loop –sout “#transcode{vcodec=h264,vb=0,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:5554/test}” //drive program by command line, stream the video file by loop mode
2. ffmpeg : // could not set as rtsp server,need push to easydarin port:8554
Install :
1) sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next
2) sudo apt-get update
3) sudo apt-get install ffmpeg
Drive command:
1) ffmpeg -v 2:00 -ss 0 -i rtsp://192.168.200.72:5554/test -y -t 0.01 -vframes 1 test.jpeg
//get the snapshot from 2:00-2.01 ,get one frame
2)ffmpeg -re -i input -f rtsp -muxdelay 0.1 rtsp://server/local:8554 //push to easydarwin
3 live 555 //
sudo apt-get install build-essential
then make sure you don’t have the repository live555 libraries on your system:

Code:
install:
sudo apt-get remove liblivemedia-dev
//and finally download, build and install the libraries:

Code:
cd $HOME
wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz
tar xvf live555-latest.tar.gz
cd live
./genMakefiles linux
make
sudo cp -r $HOME/live /usr/lib
make clean
drive://ps: live 555 do not support mp4
1 cd live/mediaserver
2 cp /?/?/test.mkv .
3 .live555MediaServer //finish push rtsp
4.pull stream addr: rtsp://rtsp server/test.mp4

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值