FFMPEG crashes after complaining about libx264.so.164

Hello,

  • OpenMandriva Lx version:
NAME="OpenMandriva Lx"
VERSION="25.03 (ROME) Rolling"
ID="openmandriva"
VERSION_ID="25.03"
PRETTY_NAME="OpenMandriva Lx 25.03 (ROME) Rolling"
BUILD_ID="20250302.09"
VERSION_CODENAME="rome"
ANSI_COLOR="1;43"
LOGO="openmandriva"
CPE_NAME="cpe:/o:openmandriva:openmandriva_lx:25.03"
HOME_URL="http://openmandriva.org/"
BUG_REPORT_URL="https://github.com/OpenMandrivaAssociation/distribution/issues/"
SUPPORT_URL="https://forum.openmandriva.org"
PRIVACY_POLICY_URL="https://www.openmandriva.org/tos"

ran:

ffmpeg -i UGxBkWvoDwgx.mp4 -strict experimental -c:v libx264 -b:v 2400k -pix_fmt yuv420p -f segment -segment_time 30 -map 0:a -c:a aac -b:a 64k -a
c 2 -ar 32000 -y -filter_complex [0]crop=iw/3.16:ih:iw/2.92:0[output] -map [output] /tmp/UGxBkWvoDwgx.mp4-%d.mp4 -map 0

Got:

[libx264 @ 0x55c05c11ee80] libx264.so.164: cannot open shared object file: No such file or directory
libx264.so.164 is missing, x264 support will be disabled
Segmentation fault (core dumped)

Packages I already have installed (and reinstalled):

ffmpeg.znver1                                           7.1-5                     @rolling-znver1           
libx264.znver1                                          0.164-0.20231001.1        @rolling-znver1-restricted

Any idea how to fix it is highly appreciated.

libx264? looks like this is 32bit version (compat 32 built on x86_64 architecture)

Try installing 64 bit and encoder

sudo dnf install lib64x264 x264

1 Like