Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Questions about Wine on Linux
Locked
abacadacaba
Level 2
Level 2
Posts: 17
Joined: Sun Jul 03, 2022 2:54 am

Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by abacadacaba »

I have some plug-ins...

Wine 7.12 says:

Code: Select all

winegstreamer error: decodebin5: Your GStreamer installation is missing a plug-in.
winegstreamer error: decodebin5: gstdecodebin2.c(4678): gst_decode_bin_expose (): /GstBin:bin10/GstDecodeBin:decodebin5:
no suitable plugins found:
Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)

Code: Select all

apt list --installed | grep "gstreamer-plugin"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libgstreamer-plugins-bad1.0-0/focal,now 1.16.2-2.1ubuntu1 amd64 [installed,automatic]
libgstreamer-plugins-base1.0-0/focal-updates,focal-security,now 1.16.2-4ubuntu0.1 amd64 [installed,automatic]
libgstreamer-plugins-base1.0-0/focal-updates,focal-security,now 1.16.2-4ubuntu0.1 i386 [installed,automatic]
libgstreamer-plugins-good1.0-0/focal-updates,focal-security,now 1.16.2-1ubuntu2.1 amd64 [installed,automatic]

Code: Select all

apt list | grep "gstreamer-plugin"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libgstreamer-plugins-bad1.0-0/focal,now 1.16.2-2.1ubuntu1 amd64 [installed,automatic]
libgstreamer-plugins-bad1.0-0/focal 1.16.2-2.1ubuntu1 i386
libgstreamer-plugins-bad1.0-dev/focal 1.16.2-2.1ubuntu1 amd64
libgstreamer-plugins-bad1.0-dev/focal 1.16.2-2.1ubuntu1 i386
libgstreamer-plugins-base1.0-0/focal-updates,focal-security,now 1.16.2-4ubuntu0.1 amd64 [installed,automatic]
libgstreamer-plugins-base1.0-0/focal-updates,focal-security,now 1.16.2-4ubuntu0.1 i386 [installed,automatic]
libgstreamer-plugins-base1.0-dev/focal-updates,focal-security 1.16.2-4ubuntu0.1 amd64
libgstreamer-plugins-base1.0-dev/focal-updates,focal-security 1.16.2-4ubuntu0.1 i386
libgstreamer-plugins-good1.0-0/focal-updates,focal-security,now 1.16.2-1ubuntu2.1 amd64 [installed,automatic]
libgstreamer-plugins-good1.0-0/focal-updates,focal-security 1.16.2-1ubuntu2.1 i386
libgstreamer-plugins-good1.0-dev/focal-updates,focal-security 1.16.2-1ubuntu2.1 amd64
libgstreamer-plugins-good1.0-dev/focal-updates,focal-security 1.16.2-1ubuntu2.1 i386
qtgstreamer-plugins-qt5/focal 1.2.0-5 amd64

Code: Select all

gst-inspect-1.0 | grep "avi"
libav:  avdec_aura: libav Auravision AURA decoder
libav:  avdec_aura2: libav Auravision Aura 2 decoder
libav:  avdec_vqavideo: libav Westwood Studios VQA (Vector Quantized Animation) video decoder
libav:  avmux_avi: libav AVI (Audio Video Interleaved) muxer (not recommended, use avimux instead)
typefindfunctions: video/x-msvideo: avi
navigationtest:  navigationtest: Video navigation test
avi:  avidemux: Avi demuxer
avi:  avimux: Avi muxer
avi:  avisubtitle: Avi subtitle parser
ogg:  oggaviparse: Ogg AVI parser

Code: Select all

gst-inspect-1.0 | grep "msvideo"
libav:  avenc_msvideo1: libav Microsoft Video-1 encoder
libav:  avdec_msvideo1: libav Microsoft Video 1 decoder
typefindfunctions: video/x-msvideo: avi
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by jkfloris »

Two packages that may provide a solution are:
The 32-bit GStreamer "good" plugins: libgstreamer-plugins-good1.0-0:i386
or the gstreamer1.0-libav and gstreamer1.0-libav:i386 pacakges.
abacadacaba
Level 2
Level 2
Posts: 17
Joined: Sun Jul 03, 2022 2:54 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by abacadacaba »

Same messages with Wine 7.13.

Code: Select all

dpkg --print-foreign-architectures
i386
gstreamer1.0-libav:i386 will pull many new packages:

Code: Select all

sudo apt-get install gstreamer1.0-libav:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libaom0:i386 libaribb24-0:i386 libass9:i386 libavcodec-extra58:i386 libavfilter7:i386
  libavformat58:i386 libavutil56:i386 libbluray2:i386 libbs2b0:i386 libcairo-gobject2:i386
  libchromaprint1:i386 libcodec2-0.9:i386 libdatrie1:i386 libfftw3-double3:i386 libflite1:i386
  libfribidi0:i386 libgdk-pixbuf2.0-0:i386 libgme0:i386 libgomp1:i386 libgraphite2-3:i386 libgsm1:i386
  libharfbuzz0b:i386 liblilv-0-0:i386 libmp3lame0:i386 libmpg123-0:i386 libmysofa1:i386 libnorm1:i386
  libnuma1:i386 libopencore-amrnb0:i386 libopencore-amrwb0:i386 libopenjp2-7:i386 libopenmpt0:i386
  libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpgm-5.2-0:i386
  libpostproc55:i386 librsvg2-2:i386 librsvg2-common:i386 librubberband2:i386 libserd-0-0:i386
  libshine3:i386 libsnappy1v5:i386 libsodium23:i386 libsord-0-0:i386 libsoxr0:i386 libspeex1:i386
  libsratom-0-0:i386 libssh-gcrypt-4:i386 libswresample3:i386 libswscale5:i386 libthai0:i386
  libtwolame0:i386 libva-drm2:i386 libva-x11-2:i386 libvdpau1:i386 libvidstab1.1:i386
  libvo-amrwbenc0:i386 libvorbisfile3:i386 libvpx6:i386 libwavpack1:i386 libwebpmux3:i386
  libx264-155:i386 libx265-179:i386 libxvidcore4:i386 libzmq5:i386 libzvbi0:i386
  mesa-vdpau-drivers:i386 vdpau-driver-all:i386
Suggested packages:
  libbluray-bdj:i386 libfftw3-bin:i386 libfftw3-dev:i386 librsvg2-bin:i386 serdi:i386 sordi:i386
  speex:i386 libvdpau-va-gl1:i386 nvidia-vdpau-driver:i386 nvidia-legacy-340xx-vdpau-driver:i386
  nvidia-legacy-304xx-vdpau-driver:i386
Recommended packages:
  libaacs0:i386
The following NEW packages will be installed:
  gstreamer1.0-libav:i386 libaom0:i386 libaribb24-0:i386 libass9:i386 libavcodec-extra58:i386
  libavfilter7:i386 libavformat58:i386 libavutil56:i386 libbluray2:i386 libbs2b0:i386
  libcairo-gobject2:i386 libchromaprint1:i386 libcodec2-0.9:i386 libdatrie1:i386 libfftw3-double3:i386
  libflite1:i386 libfribidi0:i386 libgdk-pixbuf2.0-0:i386 libgme0:i386 libgomp1:i386
  libgraphite2-3:i386 libgsm1:i386 libharfbuzz0b:i386 liblilv-0-0:i386 libmp3lame0:i386
  libmpg123-0:i386 libmysofa1:i386 libnorm1:i386 libnuma1:i386 libopencore-amrnb0:i386
  libopencore-amrwb0:i386 libopenjp2-7:i386 libopenmpt0:i386 libpango-1.0-0:i386
  libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpgm-5.2-0:i386 libpostproc55:i386 librsvg2-2:i386
  librsvg2-common:i386 librubberband2:i386 libserd-0-0:i386 libshine3:i386 libsnappy1v5:i386
  libsodium23:i386 libsord-0-0:i386 libsoxr0:i386 libspeex1:i386 libsratom-0-0:i386
  libssh-gcrypt-4:i386 libswresample3:i386 libswscale5:i386 libthai0:i386 libtwolame0:i386
  libva-drm2:i386 libva-x11-2:i386 libvdpau1:i386 libvidstab1.1:i386 libvo-amrwbenc0:i386
  libvorbisfile3:i386 libvpx6:i386 libwavpack1:i386 libwebpmux3:i386 libx264-155:i386 libx265-179:i386
  libxvidcore4:i386 libzmq5:i386 libzvbi0:i386 mesa-vdpau-drivers:i386 vdpau-driver-all:i386
0 upgraded, 70 newly installed, 0 to remove and 1 not upgraded.
Need to get 43,1 MB of archives.
After this operation, 154 MB of additional disk space will be used.
Nothing new after libgstreamer-plugins-good1.0-0:i386 and gstreamer1.0-libav.

Code: Select all

apt list --installed | grep "gstreamer-plugins-good"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libgstreamer-plugins-good1.0-0/focal-updates,focal-security,now 1.16.2-1ubuntu2.1 amd64 [installed,automatic]
libgstreamer-plugins-good1.0-0/focal-updates,focal-security,now 1.16.2-1ubuntu2.1 i386 [installed]

Code: Select all

winegstreamer error: decodebin5: Your GStreamer installation is missing a plug-in.
winegstreamer error: decodebin5: gstdecodebin2.c(4678): gst_decode_bin_expose (): /GstBin:bin10/GstDecodeBin:decodebin5:
no suitable plugins found:
Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)

Code: Select all

(wine:19589): GStreamer-CRITICAL **: 15:08:30.976: gst_object_unref: assertion 'object != NULL' failed
winegstreamer: failed to create avidemux, are 32-bit GStreamer "good" plugins installed?
abacadacaba
Level 2
Level 2
Posts: 17
Joined: Sun Jul 03, 2022 2:54 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by abacadacaba »

I don't have NVIDIA card or Intel CPU right now.
abacadacaba
Level 2
Level 2
Posts: 17
Joined: Sun Jul 03, 2022 2:54 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by abacadacaba »

gst-inspect-1.0 version 1.16.2
GStreamer 1.16.2

Total count: 247 plugins, 1446 features:
gst-inspect-1.0 version 1.16.2.zip
(17.54 KiB) Downloaded 148 times
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by jkfloris »

What program or game gives this message?
abacadacaba
Level 2
Level 2
Posts: 17
Joined: Sun Jul 03, 2022 2:54 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by abacadacaba »

jkfloris wrote: Mon Jul 18, 2022 9:59 am What program or game gives this message?
Very old games. Commandos 2 for example.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by jkfloris »

I think I got two package names mixed up.
The GStreamer "good" plugins-package is called gstreamer1.0-plugins-good:i386.

Should the game still not start after installing that package, you can try starting the game without winegstreamer.

Code: Select all

WINEDLLOVERRIDES=winegstreamer=d wine commandos.exe
abacadacaba
Level 2
Level 2
Posts: 17
Joined: Sun Jul 03, 2022 2:54 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by abacadacaba »

jkfloris wrote: Mon Jul 18, 2022 5:15 pm I think I got two package names mixed up.
The GStreamer "good" plugins-package is called gstreamer1.0-plugins-good:i386.
Good news with this one!
1. I don't see AVI error anymore.
2. I can watch videos from the game.

I see some other errors with Commandos 2. See attachment.

/var/log/apt/history.log:

Code: Select all

Commandline: apt-get -y install gstreamer1.0-plugins-good:i386
Requested-By: user (1000)
Install: libaa1:i386 (1.4p5-46, automatic), libraw1394-11:i386 (2.1.2-1, automatic), libdv4:i386 (1.0.0-12, automatic), libproxy1v5:i386 (0.4.15-10ubuntu1.2, automatic), glib-networking:i386 (2.64.2-1ubuntu0.1, automatic), libshout3:i386 (2.4.3-1, automatic), gstreamer1.0-plugins-good:i386 (1.16.2-1ubuntu2.1), libncursesw6:i386 (6.2-0ubuntu2, automatic), libgudev-1.0-0:i386 (1:233-1, automatic), libsoup2.4-1:i386 (2.70.0-1, automatic), libcaca0:i386 (0.99.beta19-2.1ubuntu1.20.04.2, automatic), libiec61883-0:i386 (1.2.0-3, automatic), libxv1:i386 (2:1.0.11-1, automatic), libtag1v5:i386 (1.11.1+dfsg.1-0.3ubuntu2, automatic), gstreamer1.0-x:i386 (1.16.2-4ubuntu0.1, automatic), libxdamage1:i386 (1:1.1.5-2, automatic), libtag1v5-vanilla:i386 (1.11.1+dfsg.1-0.3ubuntu2, automatic), libavc1394-0:i386 (0.5.4-5, automatic), libslang2:i386 (2.3.2-4, automatic)
jkfloris wrote: Mon Jul 18, 2022 5:15 pm Should the game still not start after installing that package
I did not say anywhere that programs do not start or crash in this thread.
Attachments
Wine 7.13 error.7z
(718 Bytes) Downloaded 142 times
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by jkfloris »

Wine is very enthusiast with showing all kinds of notifications.
This makes it easier to see when something went wrong, but not every notification means something is wrong.

If the game works as desired, you can ignore the notifications.
If you don't want to see them anymore either then you can start the game with:

Code: Select all

WINEDEBUG=-all wine program.exe
abacadacaba
Level 2
Level 2
Posts: 17
Joined: Sun Jul 03, 2022 2:54 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by abacadacaba »

1. I have the same 2 packages with

Code: Select all

apt list --installed | grep "gstreamer-plugins-good"
2. I have the same counts with gst-inspect-1.0...

Total count: 247 plugins, 1446 features
Attachments
gst-inspect-1.0 version 1.16.2.zip
(17.55 KiB) Downloaded 132 times
abacadacaba
Level 2
Level 2
Posts: 17
Joined: Sun Jul 03, 2022 2:54 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by abacadacaba »

Maybe users need to reboot at some point... I don't know...
abacadacaba
Level 2
Level 2
Posts: 17
Joined: Sun Jul 03, 2022 2:54 am

Re: Ubuntu 20.04.4 LTS and "Missing decoder: Audio Video Interleave (AVI) (video/x-msvideo)" error

Post by abacadacaba »

I see a different order now... I cannot tell if this matters or not.

Code: Select all

gst-inspect-1.0 | grep "avi"
typefindfunctions: video/x-msvideo: avi
libav:  avmux_avi: libav AVI (Audio Video Interleaved) muxer (not recommended, use avimux instead)
libav:  avdec_vqavideo: libav Westwood Studios VQA (Vector Quantized Animation) video decoder
libav:  avdec_aura2: libav Auravision Aura 2 decoder
libav:  avdec_aura: libav Auravision AURA decoder
navigationtest:  navigationtest: Video navigation test
avi:  avisubtitle: Avi subtitle parser
avi:  avimux: Avi muxer
avi:  avidemux: Avi demuxer
ogg:  oggaviparse: Ogg AVI parser

Code: Select all

gst-inspect-1.0 | grep "msvideo"
typefindfunctions: video/x-msvideo: avi
libav:  avenc_msvideo1: libav Microsoft Video-1 encoder
libav:  avdec_msvideo1: libav Microsoft Video 1 decoder
Locked