ffmpeg 命令参数

1. 下载地址

https://ffmpeg.org/download.html
https://www.gyan.dev/ffmpeg/builds/
https://github.com/BtbN/FFmpeg-Builds/releases
https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n7.1-latest-linux64-lgpl-shared-7.1.tar.xz
https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n7.1-latest-linux64-lgpl-7.1.tar.xz
https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n6.1-latest-win64-lgpl-shared-6.1.zip
https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n6.1-latest-win64-lgpl-6.1.zip

 

2. 常用命令
视频缩放,

ffmpeg -i in.mp4 -vf "scale=iw*0.25:ih*0.25" -preset ultrafast -c:v libx264  out.mpt

麒麟系统安装达梦数据库-Kylin-Server-V10-SP3-2403-Release-20240426-x86_64.iso

https://distro-images.kylinos.cn:8802/web_pungi/download/share/hXaJrnQWscuN2YtS7VAZizRP0EFbH4y3/

电子物料下载
下载后请使用checkisomd5命令(由isomd5sum软件包提供)检查文件完整性。
如果提示“The media check is complete, the result is: PASS.”则表示下载正常。
如果提示FAIL则请重新下载;提示N/A则表示该iso文件不包含md5校验值,请测试能否使用该iso正常启动安装程序
本地下载:Kylin-Server-V10-SP3-2403-Release-20240426-x86_64.iso
SHA256: 6f0d388af9f8e0aba70825aae69ab36bd39849c5cd9dcf05696528203e7a22d0

https://iso.kylinos.cn/web_pungi/download/cdn/9D2GPNhvxfsF3BpmRbJjlKu0dowkAc4i/Kylin-Server-V10-SP3-2403-Release-20240426-x86_64.iso

达梦数据库 DM8 安装包
https://eco.dameng.com/download/
LinuxRPM 安装包
https://download.dameng.com/eco/adapter/DM8/202505/dm8_20250506_x86_rh7_64.zip
Windows64位安装包
https://download.dameng.com/eco/adapter/DM8/202505/dm8_20250430_x86_win_64.zip

js vue 并行执行异步操作

import { ref, onMounted } from 'vue';
import axios from 'axios';
export default {
  setup() {
    // 声明响应式数据引用
    const data = ref(null);
    const data2 = ref(null);
    const data3 = ref(null);
    const data4 = ref(null);
    onMounted(async () => {
      // 使用Promise.all来处理并发的axios请求
      await Promise.all([
        axios.get('https://api.example.com/data'),
        axios.get('https://api.example.com/data2'),
        axios.get('https://api.example.com/data3'),
        axios.get('https://api.example.com/data4')
      ]).then(responses => {
        // 所有请求成功完成后,更新响应式数据
        data.value = responses[0].data;
        data2.value = responses[1].data;
        data3.value = responses[2].data;
        data4.value = responses[3].data;
        // 这里可以放置所有异步任务完成后的代码...
      }).catch(error => {
        // 处理请求中出现的任何错误
        console.error('请求错误:', error);
      });
    });
    // 返回响应式状态供模板或其他Composition API使用
    return {
      data,
      data2,
      data3,
      data4
    };
  }
};

 

====
参考
https://developer.aliyun.com/article/1656953

linux-统计目录下 指定类型文件大小

统计指定文件大小

find . -type f -iname "*.cr2" -exec du -ch {} +  | tail -n1
find . -type f -iname "*.mp4" -exec du -ch {} + | tail -n1

找出非指定文件类型的文件

 find .  -type f -not -iname "*.jpg" -not -iname "*.jpeg" -not -iname "*.mp4" -not -iname "*.cr2"  -not -iname "*.mov"

找出指定大小的文件

 find . -type f -size +102400