ffmpeg – Update

ffmpeg – Update

In the last days I had an update from two version.

What is ffmpeg?

The program is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and resize video on the fly with a high quality polyphase filter.

Source: https://manpages.org/ffmpeg

A lot of multimedia programs in Linux use it for example kdenlive (a video editor), audacity (audio editor), OBS-Studio (screensharing) and even calibre (e-book adminstration tool).

The source

At the moment I writing an ebook about the Linux command line (the Bash) and I found out with the commands (in Fedora 41, Linux distribution) dnf info and rpm -qi that I have two different version of the program, ffmpeg and ffmpeg-free.

request via dnf info ffmpeg
ffmpeg-free request via rpm

When I wanted to run ffmpeg then I got this error message:

The troubleshooting steps

First I uninstalled the two version.

This uninstalled all other programs like kdenlive, obs-studio, too.

Then I wanted to install it but it did not work because:

  • Installed package libswresample-free-7.1-1.fc41.x86_64 collides with libswresample-free which is provided by ffmpeg-libs-7.0.2-4.fc41.x86_64 from rpmfusion-free –
  • package ffmpeg-libs-7.0.2-4.fc41.x86_64 from rpmfusion-free collides with libswresample-free, which is provided by libswresample-free-7.1-1.fc41.x86_64 from updates –
  • package ffmpeg-libs-7.0.2-4.fc41.x86_64 from rpmfusion-free collides with libswresample-free, which is provided by libswresample-free-7.0.2-7.fc41.x86_64 from fedora –
  • Package ffmpeg-7.0.2-4.fc41.x86_64 from rpmfusion-free requires ffmpeg-libs(x86-64) = 7.0.2-4.fc41, but none of the providers can be installed

The solution with

did not really helped because of other programs like mplayer and mecoder also uninstalled but the conflict with other files were still there.

I decided to do this command:

after this I could install it

and the other programs like calibre, kdenlive, obs-studio and so on

For the case that the dnf package manger wants to install ffmpeg-free again I add in the file

in the directory with sudo (root-rights)

in the file

the row:

vi Ansicht

With the command

it is here possible, too.

Now it is working again

Then these commands:

work again.

The first converts one single .m4a file to a .mp3 file and the second converts a lot of .m4a. into files with the same directory.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert