[libopenh264 @ 0x563c78392040] Incorrect library version loaded

系统:Fedora 39
ffmpeg: 6.0-11.fc39

运行以下命令
ffmpeg -i aa.mp4 -vf "subtitles=aa.srt:force_style='FontName=msyh,FontSize=30,PrimaryColor=&H0000FFFF,OutlineColor=&H00222222,Outline=1'" -c:a copy output.mp4

报错:
[libopenh264 @ 0x564b8e6449c0] libopenh264.so.7: cannot open shared object file: No such file or directory: libopenh264.so.7 is missing, openh264 support will be disabled

安装openh264
sudo dnf config-manager --set-enabled fedora-cisco-openh264

dnf provides */libopenh264.so.7
Last metadata expiration check: 0:00:10 ago on Tue 23 Apr 2024 12:01:41 PM CST.
openh264-2.4.0-2.fc39.x86_64 : H.264 codec library
Repo        : fedora-cisco-openh264
Matched from:
Filename    : /usr/lib64/libopenh264.so.7

dnf install openh264

重新执行ffmpeg命令,报错
......
  Duration: 00:17:43.80, start: 0.000000, bitrate: 461 kb/s

相关推荐

  1. [libopenh264 @ 0x563c78392040] Incorrect library version loaded

    2024-04-23 14:16:06       34 阅读
  2. 编译 x264 for iOS

    2024-04-23 14:16:06       38 阅读
  3. x264】lookahead模块的简单分析

    2024-04-23 14:16:06       29 阅读
  4. x264 8x8 水平预测汇编分析

    2024-04-23 14:16:06       40 阅读
  5. x264x265、libaom 编码对比实验

    2024-04-23 14:16:06       26 阅读
  6. +-x c++

    2024-04-23 14:16:06       42 阅读
  7. React@16.x53)Redux@4.x(2)- action

    2024-04-23 14:16:06       29 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-23 14:16:06       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-23 14:16:06       106 阅读
  3. 在Django里面运行非项目文件

    2024-04-23 14:16:06       87 阅读
  4. Python语言-面向对象

    2024-04-23 14:16:06       96 阅读

热门阅读

  1. MATLAB初学者入门(10)—— 粒子群算法

    2024-04-23 14:16:06       38 阅读
  2. 推荐两款好用开源分布式id生成器

    2024-04-23 14:16:06       38 阅读
  3. linux- Python 升级到指定版本

    2024-04-23 14:16:06       34 阅读