Bt宝塔面板移除强制手机关联验证的方法

在ssh里执行

sed -i "s|if (bind_user == 'True') {|if (bind_user == 'REMOVED') {|g" /www/server/panel/BTPanel/static/js/index.js

如果需要还原

sed -i "s|if (bind_user == 'REMOVED') {|if (bind_user == 'True') {|g" /www/server/panel/BTPanel/static/js/index.js

ffmpeg 多个视频拼接到一起 多flv合并导出成MP4

建立一个TXT,命名为filelist.txt
内容为

file 'C:\input1.flv'
file 'C:\input2.flv'
file 'C:\input3.flv'
file 'C:\input4.flv'

有多个就按顺序命名按这格式写入txt中。
然后

ffmpeg -f concat -i filelist.txt -c copy output.mp4

问题排除:
如果出现 Unsafe file name 报错。
加上 -safe 0

ffmpeg -f concat -safe 0 -i filelist.txt -c copy output.mp4

附加独立画面OR独立提取声音的命令

ffmpeg -i input_file -vcodec copy -an output_file_video  //分离视频流
ffmpeg -i input_file -acodec copy -vn output_file_audio  //分离音频流

附加一个音声叠加画面的的命令

ffmpeg -i E:\声音.m4a -i E:\视频.mp4 -vcodec copy -acodec copy out.mp4

附加一个提取单音轨的命令

ffmpeg -i E:\单音轨视频.mp4 -acodec copy -vn E:\音轨.aac

or

ffmpeg -i E:\单音轨视频.mp4 -vcodec copy –an E:\音轨.m4a

附加一个提取多音轨的命令

 ffmpeg -i E:\多音轨视频.mp4
(查看视频详细信息,找到Stream #0:1,确定要提取的音轨是哪个)
 ffmpeg -i E:\多音轨视频.mp4 -map 0:3 E:\电影\003.m4a

一键脚本,检测Linux系统服务器配置 包括IO和国内节点测速

一键检测服务器IO、配置信息等问题
丰富的配置信息、IO速度、国内节点的下载速度检测。

第一款是包括io,架构,硬件和速度在内的测试
脚本地址:

wget https://raw.githubusercontent.com/oooldking/script/master/superbench.sh
chmod +x superbench.sh
./superbench.sh

第二款是单纯下载速度的测试
脚本地址:

wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh
chmod +x superspeed.sh
./superspeed.sh

QQ图片20181115172836.png