Page 2 of 2

Re: need to install audio and video codecs

Posted: Mon Jun 24, 2024 3:11 am
by Stevo
Test the problem media files with a live MX session to see if the problem persists there.

The problem with blaming it on codecs is that the live session playback works for 99.9+% of everyone else.
I'm just trying to fix the problem of videos freezing
Part of asking for help would to provide more detail about the problem videos or what player you're using. Is it streaming video in a brower? Many free browsers can't pay the fee for h.264/h.265 videos codecs, so the user must manually install them. But we know hardly anything about your issues.

Re: need to install audio and video codecs

Posted: Mon Jun 24, 2024 10:25 am
by aika
jarp53 wrote: Sun Jun 23, 2024 9:25 pm... it all started when I switch sound cables from the monitor to the speaker , but I there is no problem in the other OS install in the same hard drive MX is ...
This is probably a coincidence because at the same time there was somehow a change in the MX system, for example due to an update or accidentally changed player settings. Something similar happened to me a few days ago when new video downloads were only displayed with the MPV player and were jerky. The cause was a new, unusual codec in these videos. After I installed additional packages for this AV1 codec and adjusted the VLC settings, these videos now run smoothly in the VLC player.

Code: Select all

apt list --installed *av1*
Auflistung… Fertig
dav1d/mx,now 1.0.0-2~mx21+1 amd64  [installiert]
libdav1d4/oldstable-security,now 0.7.1-3+deb11u1 amd64  [Installiert,automatisch]
libdav1d5/mx,now 0.9.2-1~mx21+1 amd64  [installiert]
libdav1d6/mx,now 1.0.0-2~mx21+1 amd64  [installiert]
libgav1-0/mx,now 0.17.0-1~mx21+1 amd64  [installiert]
libgav1-bin/mx,now 0.17.0-1~mx21+1 amd64  [installiert]
libqtav1/oldstable,now 1.13.0+ds-3+b2 amd64  [installiert]
libsvtav1dec0/mx,now 1.4.1+dfsg-1~mx21+1 amd64  [Installiert,automatisch]
libsvtav1enc0/mx,now 0.9.1+dfsg-1~mx21+1 amd64  [installiert]
libsvtav1enc1/mx,now 1.4.1+dfsg-1~mx21+1 amd64  [Installiert,automatisch]
svt-av1/mx,now 1.4.1+dfsg-1~mx21+1 amd64  [installiert]
...

Re: need to install audio and video codecs

Posted: Mon Jun 24, 2024 12:24 pm
by jarp53
the problem is in all videos, YouTube ,Disney, amazon, ....; the live session I have try to update but it could not showing that it had many deprecated files so I could not get any sound at all . and now trying to fix it I think I just made to many changes to the system so ( for right now ) I think is best to reinstall and for long term I am going to switch to an AMD card for what I'm seeing it looks like the MSI RX 6600 is a good match for my system . I'll come back after a reinstall; but for right now thanks for your help .

Re: need to install audio and video codecs

Posted: Mon Jun 24, 2024 2:36 pm
by jarp53
ok so reinstall works !!! But I'm still going to replace video card no more nvidia for me

Re: need to install audio and video codecs

Posted: Mon Jun 24, 2024 3:15 pm
by Stevo
aika wrote: Mon Jun 24, 2024 10:25 am
jarp53 wrote: Sun Jun 23, 2024 9:25 pm... it all started when I switch sound cables from the monitor to the speaker , but I there is no problem in the other OS install in the same hard drive MX is ...
This is probably a coincidence because at the same time there was somehow a change in the MX system, for example due to an update or accidentally changed player settings. Something similar happened to me a few days ago when new video downloads were only displayed with the MPV player and were jerky. The cause was a new, unusual codec in these videos. After I installed additional packages for this AV1 codec and adjusted the VLC settings, these videos now run smoothly in the VLC player.

Code: Select all

apt list --installed *av1*
Auflistung… Fertig
dav1d/mx,now 1.0.0-2~mx21+1 amd64  [installiert]
libdav1d4/oldstable-security,now 0.7.1-3+deb11u1 amd64  [Installiert,automatisch]
libdav1d5/mx,now 0.9.2-1~mx21+1 amd64  [installiert]
libdav1d6/mx,now 1.0.0-2~mx21+1 amd64  [installiert]
libgav1-0/mx,now 0.17.0-1~mx21+1 amd64  [installiert]
libgav1-bin/mx,now 0.17.0-1~mx21+1 amd64  [installiert]
libqtav1/oldstable,now 1.13.0+ds-3+b2 amd64  [installiert]
libsvtav1dec0/mx,now 1.4.1+dfsg-1~mx21+1 amd64  [Installiert,automatisch]
libsvtav1enc0/mx,now 0.9.1+dfsg-1~mx21+1 amd64  [installiert]
libsvtav1enc1/mx,now 1.4.1+dfsg-1~mx21+1 amd64  [Installiert,automatisch]
svt-av1/mx,now 1.4.1+dfsg-1~mx21+1 amd64  [installiert]
...
That seems to be a coincidence, since VLC doesn't use those in the way you seem to think. VLC/ffmpeg is already built against lidav1d-dev, for example. It was probably some change in the settings for VLC.

Code: Select all

$ apt rdepends libdav1d6
libdav1d6
Reverse Depends:
  Depends: libavcodec60 (>= 0.9.0)
  Depends: libdav1d-dev (= 1.0.0-2+deb12u1)
  Depends: libmyth (>= 0.9.0)
  Depends: vlc-plugin-base (>= 0.1.0)
  Depends: libavcodec59 (>= 0.9.0)
  Depends: libavcodec-extra59 (>= 0.9.0)
  Depends: dav1d (>= 0.1.0)
  Depends: dav1d (>= 0.1.0)
  Depends: chromium-shell (>= 0.1.0)
  Depends: chromium (>= 0.1.0)
  Depends: libxine2-misc-plugins (>= 0.1.0)
  Depends: vlc-plugin-base (>= 0.1.0)
  Depends: libheif1 (>= 0.1.0)
  Depends: libavif15 (>= 0.1.0)
  Depends: libavcodec59 (>= 0.9.0)
  Depends: libavcodec-extra59 (>= 0.9.0)
  Depends: libdav1d-dev (= 1.0.0-2)

Re: need to install audio and video codecs

Posted: Mon Jun 24, 2024 3:18 pm
by Stevo
jarp53 wrote: Mon Jun 24, 2024 12:24 pm the problem is in all videos, YouTube ,Disney, amazon, ....; the live session I have try to update but it could not showing that it had many deprecated files so I could not get any sound at all . and now trying to fix it I think I just made to many changes to the system so ( for right now ) I think is best to reinstall and for long term I am going to switch to an AMD card for what I'm seeing it looks like the MSI RX 6600 is a good match for my system . I'll come back after a reinstall; but for right now thanks for your help .
Except those are all streaming services, which are only a subset of videos, and you still haven't said which browser you're using to watch those. Or which Nvidia driver you have.

Re: [SOLVED] need to install audio and video codecs

Posted: Mon Jun 24, 2024 3:41 pm
by jarp53
chrome and
Graphics:
Device-1: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: Micro-Star MSI driver: nvidia
v: 525.147.05 non-free: 530.xx+ status: current (as of 2023-03) arch: Turing code: TUxxx

Re: need to install audio and video codecs

Posted: Mon Jun 24, 2024 8:09 pm
by aika
Stevo wrote: Mon Jun 24, 2024 3:15 pm That seems to be a coincidence, since VLC doesn't use those in the way you seem to think. VLC/ffmpeg is already built against lidav1d-dev, for example. It was probably some change in the settings for VLC ...
Yes, I installed these additional AV1 packages in the hope that SMplayer and Mplayer would then also play AV1. Only in VLC my AV1 videos run smoothly now.

Re: need to install audio and video codecs

Posted: Mon Jun 24, 2024 8:52 pm
by Stevo
aika wrote: Mon Jun 24, 2024 8:09 pm
Stevo wrote: Mon Jun 24, 2024 3:15 pm That seems to be a coincidence, since VLC doesn't use those in the way you seem to think. VLC/ffmpeg is already built against lidav1d-dev, for example. It was probably some change in the settings for VLC ...
Yes, I installed these additional AV1 packages in the hope that SMplayer and Mplayer would then also play AV1. Only in VLC my AV1 videos run smoothly now.
I think mplayer is being obsoleted by mpv...how does that work? You can use SMPlayer as a front end for it; several others, too--I think Celluloid.

Re: [SOLVED] need to install audio and video codecs

Posted: Mon Jun 24, 2024 9:21 pm
by aika
I use SMPlayer as a frontend for MPlayer because it works best with my internal old Intel graphics. MPV consumes too many resources and stutters on AV1-Codec.

Code: Select all

apt policy mplayer+gui
mplayer+gui:
  Installiert:           1.5.38448+6.1.1
...
apt policy smplayer
smplayer:
  Installiert:           24.5.0-0.1~mx21+1
...
apt policy mpv
mpv:
  Installiert:           0.32.0-3
...
apt policy ffmpeg
ffmpeg:
  Installiert:           7:4.4.2-1~mx21+1
...
aika wrote: Mon Jun 24, 2024 8:51 pm... I don't like using new software that has been improved for the worse.