Hi.
I am trying to convert a .aac file mp3, and get the error:
➜ Downloads ffmpeg -ss 0 -i in.aac -to 00:08:31 -acodec libmp3lame out.mp3
ffmpeg version 6.0.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 7 (SUSE Linux)
configuration:
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
[aac @ 0x3214480] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'out1.aac':
Duration: 00:08:25.13, bitrate: 44 kb/s
Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 5 kb/s
[aost#0:0 @ 0x3243e40] Unknown encoder 'libmp3lame'
I added pacman
repo, and tried to install ffmpeg-6
from it:
➜ Downloads sudo zypper in --allow-vendor-change ffmpeg-6
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: the to be installed ffmpeg-6-6.0.1-150500.4.pm.1.x86_64 conflicts with 'ffmpeg-tools' provided by the installed ffmpeg-4-4.4.4-150500.7.pm.1.x86_64
Solution 1: deinstallation of ffmpeg-4-4.4.4-150500.7.pm.1.x86_64
Solution 2: do not install ffmpeg-6-6.0.1-150500.4.pm.1.x86_64
Choose from above solutions by number or cancel [1/2/c/d/?] (c): 1
Resolving dependencies...
Resolving package dependencies...
The following recommended package was automatically selected:
zeromq-tools
The following 12 NEW packages are going to be installed:
ffmpeg-6 libavcodec60 libavdevice60 libavfilter9 libavformat60 libavutil58 libpgm-5_2-0 libpostproc57 libswresample4 libswscale7 libzmq5 zeromq-tools
The following package is going to be REMOVED:
ffmpeg-4
12 new packages to install, 1 to remove.
Overall download size: 9.3 MiB. Already cached: 0 B. After the operation, additional 21.3 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: libpgm-5_2-0-5.2.122-150400.15.6.x86_64 (repo-oss (15.5)) (1/12), 167.6 KiB
Retrieving: libpgm-5_2-0-5.2.122-150400.15.6.x86_64.rpm ......................................................................................................[done (494.4 KiB/s)]
Retrieving: libzmq5-4.2.3-3.15.4.x86_64 (repo-oss (15.5)) (2/12), 211.5 KiB
Retrieving: libzmq5-4.2.3-3.15.4.x86_64.rpm ..................................................................................................................[done (480.7 KiB/s)]
Retrieving: zeromq-tools-4.2.3-3.15.4.x86_64 (repo-oss (15.5)) (3/12), 31.4 KiB
Retrieving: zeromq-tools-4.2.3-3.15.4.x86_64.rpm .............................................................................................................[done (264.2 KiB/s)]
Retrieving: libavutil58-6.0.1-150500.4.pm.1.x86_64 (packman) (4/12), 277.0 KiB
Retrieving: libavutil58-6.0.1-150500.4.pm.1.x86_64.rpm .......................................................................................................[done (239.6 KiB/s)]
Retrieving: libswscale7-6.0.1-150500.4.pm.1.x86_64 (packman) (5/12), 156.4 KiB
Retrieving: libswscale7-6.0.1-150500.4.pm.1.x86_64.rpm .......................................................................................................[done (156.4 KiB/s)]
Retrieving: libswresample4-6.0.1-150500.4.pm.1.x86_64 (packman) (6/12), 57.7 KiB
Retrieving: libswresample4-6.0.1-150500.4.pm.1.x86_64.rpm .....................................................................................................[done (15.6 KiB/s)]
Retrieving: libpostproc57-6.0.1-150500.4.pm.1.x86_64 (packman) (7/12), 41.6 KiB
Retrieving: libpostproc57-6.0.1-150500.4.pm.1.x86_64.rpm ......................................................................................................[done (15.6 KiB/s)]
Retrieving: libavcodec60-6.0.1-150500.4.pm.1.x86_64 (packman) (8/12), 4.3 MiB
Retrieving: libavcodec60-6.0.1-150500.4.pm.1.x86_64.rpm ......................................................................................................[done (400.0 KiB/s)]
Retrieving: libavformat60-6.0.1-150500.4.pm.1.x86_64 (packman) (9/12), 982.0 KiB
Retrieving: libavformat60-6.0.1-150500.4.pm.1.x86_64.rpm .....................................................................................................[done (927.6 KiB/s)]
Retrieving: libavfilter9-6.0.1-150500.4.pm.1.x86_64 (packman) (10/12), 1.3 MiB
Retrieving: libavfilter9-6.0.1-150500.4.pm.1.x86_64.rpm ........................................................................................................[done (1.2 MiB/s)]
Retrieving: libavdevice60-6.0.1-150500.4.pm.1.x86_64 (packman) (11/12), 64.0 KiB
Retrieving: libavdevice60-6.0.1-150500.4.pm.1.x86_64.rpm ...................................................................................................................[done]
Retrieving: ffmpeg-6-6.0.1-150500.4.pm.1.x86_64 (packman) (12/12), 1.8 MiB
Retrieving: ffmpeg-6-6.0.1-150500.4.pm.1.x86_64.rpm ............................................................................................................[done (1.7 MiB/s)]
Checking for file conflicts: ...............................................................................................................................................[done]
( 1/13) Removing ffmpeg-4-4.4.4-150500.7.pm.1.x86_64 .......................................................................................................................[done]
( 2/13) Installing: libpgm-5_2-0-5.2.122-150400.15.6.x86_64 ................................................................................................................[done]
( 3/13) Installing: libzmq5-4.2.3-3.15.4.x86_64 ............................................................................................................................[done]
( 4/13) Installing: zeromq-tools-4.2.3-3.15.4.x86_64 .......................................................................................................................[done]
( 5/13) Installing: libavutil58-6.0.1-150500.4.pm.1.x86_64 .................................................................................................................[done]
( 6/13) Installing: libswscale7-6.0.1-150500.4.pm.1.x86_64 .................................................................................................................[done]
( 7/13) Installing: libswresample4-6.0.1-150500.4.pm.1.x86_64 ..............................................................................................................[done]
( 8/13) Installing: libpostproc57-6.0.1-150500.4.pm.1.x86_64 ...............................................................................................................[done]
( 9/13) Installing: libavcodec60-6.0.1-150500.4.pm.1.x86_64 ................................................................................................................[done]
(10/13) Installing: libavformat60-6.0.1-150500.4.pm.1.x86_64 ...............................................................................................................[done]
(11/13) Installing: libavfilter9-6.0.1-150500.4.pm.1.x86_64 ................................................................................................................[done]
(12/13) Installing: libavdevice60-6.0.1-150500.4.pm.1.x86_64 ...............................................................................................................[done]
(13/13) Installing: ffmpeg-6-6.0.1-150500.4.pm.1.x86_64 ....................................................................................................................[done]
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
Also, I seem to have libmp3lame installed on my system:
➜ Downloads zypper se libmp3lame
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+-------------------+--------------------------------------------+--------
| libmp3lame-devel | Development files for the LAME MP3 encoder | package
i | libmp3lame0 | The LAME MP3 encoder library | package
| libmp3lame0-32bit | The LAME MP3 encoder library | package