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