You are not logged in.

#1 2019-04-14 15:39:17

mrjayviper
Member
Registered: 2019-04-02
Posts: 8

blocks/distortion when watching an MP4 video using VLC

I didn't  encounter this issue when I used VLC on Windows/Manjaro.
On Manjaro, I recall that  the OS installed several xf86-video drivers. Since my setup only has a discrete AMD GPU, I only installed xf86-video-amdgpu. I am not sure if the issue is related to the xf86 drivers. I just thought I'll mention it just in case.
Any ideas on how to fix?

On both Manjaro and Arch, I was using the  4.19 kernel. My video card (only discrete is present. The CPU has no built-in ones) is an AMD RX570.

I ran VLC on the terminal and getting these messages

00007f1e7cc15570] mp4 demux error: invalid index counting total samples 81143 81143
[00007f1e7cc15570] mp4 demux error: invalid index counting total samples 81143 81143
[00007f1e7cc15570] mp4 demux error: invalid index counting total samples 81143 81143
[00007f1e7cc15570] mp4 demux error: invalid index counting total samples 81143 81143
[00007f1e7cc15570] mp4 demux error: invalid index counting total samples 81143 81143
[00007f1e7cc15570] mp4 demux error: invalid index counting total samples 81143 81143
[00007f1e7cc15570] mp4 demux error: invalid index counting total samples 81143 81143
[00007f1e7cc15570] mp4 demux error: invalid index counting total samples 81143 81143
[00007f1e68005550] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
[00007f1e68005550] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva error: va_getDriverName() failed with operation failed,driver_name=radeonsi
[00007f1e68005550] glconv_vaapi_drm gl error: vaInitialize: operation failed
Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory
[h264 @ 0x7f1e7eff6180] cabac decode of qscale diff failed at 43 42
[h264 @ 0x7f1e7eff6180] error while decoding MB 43 42, bytestream 19576
[h264 @ 0x7f1e7f04b800] Reference 4 >= 2
[h264 @ 0x7f1e7f04b800] error while decoding MB 84 25, bytestream 98730
[h264 @ 0x7f1e7ef9de40] cabac decode of qscale diff failed at 87 47
[h264 @ 0x7f1e7ef9de40] error while decoding MB 87 47, bytestream 52850
[h264 @ 0x7f1e7f02f000] cabac decode of qscale diff failed at 105 2
[h264 @ 0x7f1e7f02f000] error while decoding MB 105 2, bytestream 119464
[h264 @ 0x7f1e7eff6180] cabac decode of qscale diff failed at 100 32
[h264 @ 0x7f1e7eff6180] error while decoding MB 100 32, bytestream 69836
[h264 @ 0x7f1e7efadc00] cabac decode of qscale diff failed at 90 53
[h264 @ 0x7f1e7efadc00] error while decoding MB 90 53, bytestream 22121
[h264 @ 0x7f1e7f04b800] cabac decode of qscale diff failed at 50 63
[h264 @ 0x7f1e7f04b800] error while decoding MB 50 63, bytestream 11452

I installed mpv and getting what seems to be a similar sort of error

[ffmpeg/video] h264: cabac decode of qscale diff failed at 43 42
[ffmpeg/video] h264: error while decoding MB 43 42, bytestream 19576
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[ffmpeg/video] h264: Reference 4 >= 2
[ffmpeg/video] h264: error while decoding MB 84 25, bytestream 98730
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[ffmpeg/video] h264: cabac decode of qscale diff failed at 87 47
[ffmpeg/video] h264: error while decoding MB 87 47, bytestream 52850
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[ffmpeg/video] h264: cabac decode of qscale diff failed at 100 32
[ffmpeg/video] h264: error while decoding MB 100 32, bytestream 69836

screenshot of media info according to MediaInfo GUI: https://i.imgur.com/LZrKv7W.png

screenshot of VLC: https://i.imgur.com/m7H5GBh.png

Last edited by mrjayviper (2019-04-15 08:44:39)

Offline

#2 2019-04-14 19:17:46

seth
Member
Registered: 2012-09-03
Posts: 49,941

Re: blocks/distortion when watching an MP4 video using VLC

I assume the issue is HW accelerated decoding itfp, do you still have the manjaro installation?
Also: please post your xorg log, the vlc log and check whether the same symptoms apply to eg. mpv or mplayer (they'll print to the console which codec and sink they use)

Online

#3 2019-04-15 08:45:34

mrjayviper
Member
Registered: 2019-04-02
Posts: 8

Re: blocks/distortion when watching an MP4 video using VLC

seth wrote:

I assume the issue is HW accelerated decoding itfp, do you still have the manjaro installation?
Also: please post your xorg log, the vlc log and check whether the same symptoms apply to eg. mpv or mplayer (they'll print to the console which codec and sink they use)

edited my original post. I burned manjaro deepin to a USB and see if I can replicate the issue on a live USB.

Offline

#4 2019-04-15 14:10:15

seth
Member
Registered: 2012-09-03
Posts: 49,941

Re: blocks/distortion when watching an MP4 video using VLC

The interesting part is actually whether or not you're using HW accelerated decoding (and whether that differs on manjaro; vlc does not seem to find the radeonsi vdpau driver, so rather software decoding) but that particular video seems certainly corrupted.
Do you experience this w/ all videos? What about a YT download?

Online

Board footer

Powered by FluxBB