Ffmpeg 5.0 and ffmpeg 4.4

Hey friends,
so I just updated my system and noticed some videos not playing on for example Reddit (AVC decoder). ffmpeg was updated to version 5.0 and at the same time ffmpeg4.4 got added to the official repos.

After also installing the ffmpeg4.4 package, everything works fine again. Does anybody know what the deal is with those two packages?

ffmpeg 4.4 is the legacy version of ffmpeg. Both are provided because some software won’t work directly with ffmpeg 5.x.

6 Likes

This video is not playing…

https://www.youtube.com/watch?v=jjCUP3CGTDI

Ah, okay. Thanks.

So Firefox will at some point probably adapt the new ffmpeg version, right?

Well, if someone else has the same problem, the ffmpeg4.4 package seems to be the way to go.

1 Like

Did you try the ffmpeg4.4 package. The linked stream/video works for me.

1 Like

Did you downgrade the 5.0 to 4.4 or you uninstalled 5.0?

ffmpeg and ffmpeg4.4 can exist at the same time. I have both of them installed.

1 Like

Hm, strange, I hav eonly 5.0-3…
I’ll install 4.4.1-3

$ LANG=C sudo pacman -Ss ffmpeg
extra/ffmpeg 2:5.0-3 [installed]
    Complete solution to record, convert and stream audio and video
extra/ffmpeg4.4 4.4.1-3
    Complete solution to record, convert and stream audio and vide

It fixed, installed ffmpeg4.4, and both coexist now…
Thanks @I0F

1 Like

I don’t see this version?

extra/ffmpeg4.4 4.4.1-3
    Complete solution to record, convert and stream audio and vide

This is how I installed it, then the video playback worked

$ sudo pacman -S ffmpeg4.4

`
resolvendo dependências…
procurando pacotes conflitantes…

Pacote (1) Versão nova Diferença Tamanho do download

extra/ffmpeg4.4 4.4.1-3 23,95 MiB 8,37 MiB

Tamanho total download: 8,37 MiB
Tamanho total instalado: 23,95 MiB

:: Continuar a instalação? [S/n]
:: Obtendo pacotes…
ffmpeg4.4-4.4.1-3-x86_64 8,4 MiB 2,18 MiB/s 00:04 [-------------------------------------------------------------] 100%
(1/1) verificando chaves no chaveiro [-------------------------------------------------------------] 100%
(1/1) verificando integridade do pacote [-------------------------------------------------------------] 100%
(1/1) carregando arquivos do pacote [-------------------------------------------------------------] 100%
(1/1) verificando conflitos de arquivos [-------------------------------------------------------------] 100%
:: Processando alterações do pacote…
(1/1) instalando ffmpeg4.4 [-------------------------------------------------------------] 100%
DependĂŞncias opcionais para ffmpeg4.4
avisynthplus: AviSynthPlus support
intel-media-sdk: Intel QuickSync support
ladspa: LADSPA filters
nvidia-utils: Nvidia NVDEC/NVENC support
:: Executando hooks pós-transação…
(1/1) Arming ConditionNeedsUpdate…
`

Here’s the link to the package. Maybe your mirrors aren’t up-to-date yet?

Strange as the video works for me and i only have this one.

extra/ffmpeg 2:4.4.1-1

Maybe your mirror is not up-to-date yet as I0F mentioned in the post above…
I have both versions installed now… In the future, once firefox is ready to handle 5.0, I’ll remove 4.4

I ran sudo pacman -Syy now i get this.

[ricklinux@eos-kde ~]$ sudo pacman -S ffmpeg4.4
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing x264 (3:0.164.r3081.19856cc-1) breaks dependency 'libx264.so=163-64' required by ffmpeg
[ricklinux@eos-kde ~]$ 

Edit: Do i need to remove the older version first?

This happened to me when I tried to downgrade 5.0 to 4.4
But as mentioned above, both can coexist, so I cancelled the downgrade process and just installed 4.4 along with 5.0 which was already installed…
Everything just worked

I don’t have 5 either?

Edit: Okay i should have run the update after. Here it is.

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 endeavouros is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (24)                 Old Version              New Version              Net Change  Download Size

extra/alsa-plugins           1:1.2.6-2                1:1.2.6-3                  0.00 MiB       0.09 MiB
extra/chromaprint            1.5.1-1                  1.5.1-2                    0.00 MiB       0.04 MiB
extra/chromium               98.0.4758.102-1          98.0.4758.102-2            0.00 MiB      81.64 MiB
extra/ffmpeg                 2:4.4.1-1                2:5.0-3                    1.08 MiB      10.68 MiB
extra/ffmpeg4.4                                       4.4.1-3                   23.95 MiB       8.37 MiB
extra/ffmpegthumbnailer      2.2.2-2                  2.2.2-3                   -0.02 MiB       0.09 MiB
extra/gegl                   0.4.34-1                 0.4.34-2                   0.03 MiB       2.25 MiB
extra/gst-libav              1.20.0-1                 1.20.0-2                   0.00 MiB       0.09 MiB
extra/gst-plugins-bad        1.20.0-1                 1.20.0-2                   0.00 MiB       1.14 MiB
extra/gst-plugins-bad-libs   1.20.0-1                 1.20.0-2                   0.00 MiB       2.10 MiB
extra/gst-plugins-base       1.20.0-1                 1.20.0-2                   0.00 MiB       0.31 MiB
extra/gst-plugins-base-libs  1.20.0-1                 1.20.0-2                   0.00 MiB       2.11 MiB
extra/gst-plugins-good       1.20.0-1                 1.20.0-2                   0.00 MiB       1.92 MiB
extra/gst-plugins-ugly       1.20.0-1                 1.20.0-2                   0.00 MiB       0.21 MiB
extra/gst-python             1.20.0-1                 1.20.0-2                   0.00 MiB       0.03 MiB
extra/gstreamer              1.20.0-1                 1.20.0-2                   0.00 MiB       1.76 MiB
extra/kfilemetadata          5.91.0-1                 5.91.0-2                   0.00 MiB       0.38 MiB
extra/libde265               1.0.8-1                  1.0.8-2                   -0.02 MiB       0.34 MiB
community/mpv                1:0.34.1-2               1:0.34.1-3                 0.00 MiB       1.38 MiB
extra/openal                 1.21.1-2                 1.21.1-3                   0.03 MiB       0.52 MiB
extra/qt5-speech             5.15.2-2                 5.15.2+kde+r3-1            0.00 MiB       0.05 MiB
extra/qt5-webengine          5.15.8-7                 5.15.8-8                   0.00 MiB      48.52 MiB
extra/vlc                    3.0.16-7                 3.0.16-8                   0.01 MiB      11.60 MiB
extra/x264                   3:0.163.r3060.5db6aa6-1  3:0.164.r3081.19856cc-1    0.03 MiB       0.74 MiB

Total Download Size:   176.37 MiB
Total Installed Size:  591.60 MiB
Net Upgrade Size:       25.09 MiB

:: Proceed with installation? [Y/n] 
1 Like

Strange…

$ LANG=C sudo pacman -Ss fmpeg
extra/ffmpeg 2:5.0-3 [installed]
    Complete solution to record, convert and stream audio and video
extra/ffmpeg4.4 4.4.1-3 [installed]

So now after updating i have this and video still plays.

[ricklinux@eos-kde ~]$ sudo pacman -Ss fmpeg
[sudo] password for ricklinux: 
extra/ffmpeg 2:5.0-3 [installed]
    Complete solution to record, convert and stream audio and video
extra/ffmpeg4.4 4.4.1-3 [installed]
    Complete solution to record, convert and stream audio and video
extra/ffmpegthumbnailer 2.2.2-3 [installed]
    Lightweight video thumbnailer that can be used by file managers.
extra/ffmpegthumbs 21.12.2-2 (kde-applications kde-multimedia)
    FFmpeg-based thumbnail creator for video files
extra/ffnvcodec-headers 11.1.5.1-1
    FFmpeg version of headers required to interface with Nvidias codec APIs
extra/gst-libav 1.20.0-2 [installed]
    Multimedia graph framework - libav plugin
extra/qtav 1.13.0-3
    A cross-platform multimedia playback framework based on Qt and FFmpeg
community/ffmpeg2theora 0.30-7
    Simple converter to create Ogg Theora files
community/ffms2 2.40-2
    A libav/ffmpeg based source library and Avisynth plugin for easy frame accurate access
community/ffnvcodec-headers8.1 8.1.24.11-1
    FFmpeg version of headers required to interface with Nvidias codec APIs
community/kmplayer 0.12.0.b-4
    Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE
community/opera-ffmpeg-codecs 97.0.4692.99-1
    additional support for proprietary codecs for opera
community/vivaldi-ffmpeg-codecs 98.0.4710.4-2
    additional support for proprietary codecs for vivaldi
[ricklinux@eos-kde ~]$ 

The 5.0 ffmpeg package has a “2:” in front. Not sure what that means.

2:**5.0-3**