The officially official Devuan Forum!

You are not logged in.

#1 2023-08-25 03:58:36

HelenSmith
Member
Registered: 2023-08-25
Posts: 18  

[SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

Recently I have successfully updated my pc from Devuan 4.0 to Devuan 5.0.
There are some problems, but all solved by uninstall and reinstall some applications.

Only VLC, when play some mp4 files(not all mp4 files), the pictures sometimes(not always) are blurry, many mosaics.
Yes, there are sounds, but the pictures sometimes are not acceptable.
VLC version 3.0.18 Vetinari (3.0.13-8-g41878ff4f2)
Maybe the problem occurred before I updated my pc to Devuan 5.0.

Playing the same mp4 file, I have tried some mp4 players:
work well: mpv/smplayer/gnome videos/parole/celluloid/xine/dragon player,
not work well(same as VLC): kaffeine(VLC based mp4 player).

I tried to play the same mp4 file in the virtualbox on the same pc:
MXlinux-23
VLC version 3.0.18 Vetinari (3.0.13-8-g41878ff4f2)
Open the mp4 file, at the beginning, there are some mosaics, but quickly disappeared, and works normally.

Rocky Linux 9.2 (Blue Onyx)
VLC media player 3.0.19 Vetinari (revision )
There are no problem to play the same mp4 file.

In the Devuan 5.0 and MXlinux-23, VLC is the same version,

How to let Devuan 5.0 VLC play some mp4 files well?

Thank you in advance.

Offline

#2 2023-08-25 04:17:35

Gregors
Member
From: Freiburg, Germany
Registered: 2018-08-09
Posts: 40  
Website

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

Can you link to one of the mp4 files?

Offline

#3 2023-08-25 07:19:01

HelenSmith
Member
Registered: 2023-08-25
Posts: 18  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

I uninstalled vlc, then installed debian deb file:vlc_3.0.18-2_amd64.deb
Open the same file, nothing changed, there are some mosaics, the pictures are not acceptable.

It is strange that the same vlc version works well in MXlinux-23.

vlc message:
https://paste.nolog.cz/?bcad128b3763b19 … mHtXJ9yoLf

mp4 file
Warning: size, 715.86MB
brush_up_life_japanese_movie.mp4 (715.86 MB)
Expiration: Saturday, September 9, 2023 2:16 AM

download link: may take a long time to download.
https://upload.disroot.org/r/ReA6f33n#E … nxjknMia0=

Thank you.

Offline

#4 2023-08-25 08:27:39

steve_v
Member
Registered: 2018-01-11
Posts: 343  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

I'm not downloading a 700MB file from such an unreasonably slow filehost.
That aside, your problem is likely down to hardware accelerated (VAAPI) decoding. Does VLC render the file correctly if you disable "Hardware-accelerated decoding" on the "Input/Codecs" settings page?


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#5 2023-08-25 08:42:56

HelenSmith
Member
Registered: 2023-08-25
Posts: 18  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

Revised:

I used ffmpeg to cut the mp4 file to the first 30 seconds.

Japanese movie:
size: 5.9MB
brush_up_life_0.5minutes.mp4

download link: may take some time to download.
https://bin.nixnet.services/?b40244cb96 … w86YWVCS2i

another download link:
https://privatebin.arch-linux.cz/?0a693 … t9iARqbDcn

Thank you.

Last edited by HelenSmith (2023-08-25 08:59:01)

Offline

#6 2023-08-25 09:09:28

Gregors
Member
From: Freiburg, Germany
Registered: 2018-08-09
Posts: 40  
Website

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

HelenSmith wrote:

...  used ffmpeg to cut the mp4 file to the first 30 seconds. ...

Playing the file with ffplay gives me a clear picture. See https://test.szaktilla.de/Bildschirmfoto.png
Same picture with vlc here.

Offline

#7 2023-08-25 10:31:59

HelenSmith
Member
Registered: 2023-08-25
Posts: 18  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

steve_v wrote:

I'm not downloading a 700MB file from such an unreasonably slow filehost.
That aside, your problem is likely down to hardware accelerated (VAAPI) decoding. Does VLC render the file correctly if you disable "Hardware-accelerated decoding" on the "Input/Codecs" settings page?

Thank you. It works. Now VLC plays the same mp4 file normally.

VLC->Tools->Preferences->Input/Codecs->Input&Codecs Settings-> Codecs->Hardware-accelerated decoding-> Disable(choose: Automatic/VDPAU video decoder/Disable)->Save.

Many thanks to you all.

Offline

#8 2023-08-25 11:33:33

steve_v
Member
Registered: 2018-01-11
Posts: 343  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

IME playback issues with VAAPI/VDPAU acceleration are more often than not GPU driver bugs. It might be worth keeping an eye on backported kernels and/or drivers (why nobody bother to mention GPU vendor or driver version here?) whenever they appear for Daedalus.
I've also tracked similar accelerated decoding problems (including a hard GPU crash on amdgpu) down to mesa in the past, but that's unlikely to get updates until the next stable.

In any case, all disabling hardware decoding will really cost you is some power efficiency. Any modern CPU should be fast enough to decode [insert whatever stupid number of "K" everyone wants today] video without it.

Last edited by steve_v (2023-08-25 11:35:45)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#9 2023-08-26 01:49:37

HelenSmith
Member
Registered: 2023-08-25
Posts: 18  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

"not work well(same as VLC): kaffeine(VLC based mp4 player).

VLC: Hardware-accelerated decoding-> Disable"
------------------------------------------------------------
I did not find a way to change the Kaffeine mp4 player default settings.

How to use command line to change the Kaffeine settings?

If there is no way, I will not use Kaffeine for a while.

Thank you.

Offline

#10 2023-08-26 02:13:37

steve_v
Member
Registered: 2018-01-11
Posts: 343  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

HelenSmith wrote:

use command line to change the Kaffeine settings?

I haven't used kaffeine in about 500 years, but the bottom of the readme provides some hints WRT passing options to libvlc and/or setting the VDPAU driver.


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#11 2023-08-26 03:23:33

HelenSmith
Member
Registered: 2023-08-25
Posts: 18  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

steve_v wrote:
HelenSmith wrote:

use command line to change the Kaffeine settings?

I haven't used kaffeine in about 500 years, but the bottom of the readme provides some hints WRT passing options to libvlc and/or setting the VDPAU driver.

Thank you.

I added "export VDPAU_DRIVER=none" to  " /home/UserX/.bashrc" ,

but using Kaffeine to play the mp4 file, there are still some mosaics.

So, I will not use Kaffeine for a while.

Offline

#12 2023-08-26 20:22:01

delgado
Member
Registered: 2022-07-14
Posts: 157  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

Can this be caused by missing firmware for the graphics device?
If so, and since you upgraded from chimaera, is 'non-free-firmware' in sources.list?

Offline

#13 2023-08-27 02:05:54

HelenSmith
Member
Registered: 2023-08-25
Posts: 18  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

delgado wrote:

Can this be caused by missing firmware for the graphics device?
If so, and since you upgraded from chimaera, is 'non-free-firmware' in sources.list?

Thank you.

My sources.list is as below:
sudo nano /etc/apt/sources.list

deb http://deb.devuan.org/merged daedalus main
deb http://deb.devuan.org/merged daedalus-updates main
deb http://deb.devuan.org/merged daedalus-security main
#deb http://deb.devuan.org/merged daedalus-backports main
#deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib

I used "no-free" sources for the first,second...times, but later, I commented out "no-free‘ sources.
Today, I used "no-free“ sources again, but Kaffeine does not play some special mp4 files well, many mosaics.
Any way, I can use Kaffeine to play other mp4 files.

Thank you.

Offline

#14 2023-08-27 04:02:13

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 590  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

Hi, uncomment (#) this line in your sources.list...

deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib

...and, you may remove the first line with just "main", as it is now in the un-commented line. It won't hurt but will cut down on the noise (complaints) in logs and on screen when running

apt update

I hope this helps.


pic from 1993, new guitar day.

Offline

#15 2023-08-27 04:27:51

HelenSmith
Member
Registered: 2023-08-25
Posts: 18  

Re: [SOLVED] Devuan 5.0 VLC cannot play some mp4 files well, many mosaics.

GlennW wrote:

Hi, uncomment (#) this line in your sources.list...

deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib

...and, you may remove the first line with just "main", as it is now in the un-commented line. It won't hurt but will cut down on the noise (complaints) in logs and on screen when running

apt update

I hope this helps.

Thank you.

You may misunderstand me.
I really used "no-free" sources.list and updated.
deb http://deb.devuan.org/merged daedalus main non-free-firmware non-free contrib

then I commented out "no-free" sources.list.
Now, I did it again. Nothing changed.

Kaffeine only cannot play some special mp4 file well.
I give up the problem.

Thank you for your kindness.

Offline

Board footer