Debian 10 install FFmpeg and Qt

FFmpeg:
from https://github.com/FFmpeg/FFmpeg.git

or http://ffmpeg.org/ get source

vim configure
you maybe need change some options
{
--enable-static 	 //build static libraries
--enable-shared		 //build shared libraries
--enable-ffmpeg 
--enable-ffplay 
--enable-gpl 
--enable-nonfree 
--enable-postproc 
--enable-pthreads   
--enable-libx264 
--enable-libx265
}

./configure  --prefix=/usr/local/bin

make

make install

//change video format
ffmpeg -i input.mp4 output.avi
//save net video stream to localfile  
ffmpeg -i rtmp://server/live/streamName -c copy dump.flv
//local avfile push flow live
ffmpeg -re -i localFile.mp4 -c copy -f flv rtmp://server/live/streamName
//pull livestream, videostream encoder h.264, audiostream no change, push flow
ffmpeg -i rtmp://server/live/originalStream -c:a copy -c:v libx264 -vpre slow -f flv rtmp://server/live/h264Stream
//pull livestream, videostream encoder h.264, audiostream encoder faac,push flow
ffmpeg -i rtmp://server/live/originalStream -c:a libfaac -ar 44100 -ab 48k -c:v libx264 -vpre slow -vpre baseline -f flv rtmp://server/live/h264Stream
//get video stream
ffmpeg -i input_file -vcodec copy -an output_file_video 
//get audio stream
ffmpeg -i input_file -acodec copy -vn output_file_audio 
//play local video file
ffplay playfile.mp4

Qt:
from https://download.qt.io/archive/qt/
debian10 downloads .run file

or for apt install qt-everywhere-src-5.10.1.tar.xz

if .tar.xz file
xz -d qt-everywhere-src-5.10.1.tar.xz
tar xvf ./qt-everywhere-src-5.10.1.tar
cd qt-everywhere-src-5.10.1/
./configure
qmake -r
make
sudo make install

if .run file 
sudo ./qt-opensource-linux-x64-5.12.0.run

//but Tips: command not found, again input:
chmod a+x qt-opensource-linux-x64-5.12.0.run

./qt-opensource-linux-x64-5.12.0.run

//if installation page tips you must input ID and Password
//you maybe disconnect from the network , click skip pushButton

------FYSDM

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值