当前位置:   article > 正文

[libopenh264 @ 0x563c78392040] Incorrect library version loaded

[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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/497793
推荐阅读
相关标签
  

闽ICP备14008679号