by unformatted » Sun May 16, 2021 12:54 pm
Kodi 19.0 was fine. I have this problem with all my movies so far. For example Avatar 2009.mp4 (ripped from DVD):
$this->bbcode_second_pass_code('', '
Video decoder: ff-h264_v4l2m2m-drm_prime (HW)
Audio stream: FL, FR, ff-aac, 32 bits, 48,000 Hz')
has distorted sound and crackling when there is sound (if quit then no crackling).
When I turn off HW decoding:
$this->bbcode_second_pass_code('', '
Video decoder: ff-h264-drm_prime (SW)
Audio stream: FL, FR, ff-aac, 32 bits, 48,000 Hz')
and sound is ok.
So far I tested over a dozen various movies, with some the problem is less obvious but still there. When there is low sound in the movie it seems ok but as soon as there is speech the distortion happens. But when I play my test movie sintel-1080-cfg02.mkv the sound is ok:
$this->bbcode_second_pass_code('', '
Video decoder: ff-hevc-drm_prime (HW)
Audio stream: FL, FR, FC, LFE, BL, BR, ff-aac, 32 bits, 48,000 Hz')
I have quite a collection of movies which I ripped from DVD to my NAS and they all have this problem which did not occur until at least kodi 19.0.
I'm on a fresh RPI4 armv7l install with fresh kodi, no customizations. Here's my config.txt:
$this->bbcode_second_pass_code('', '
dtoverlay=vc4-kms-v3d,cma-512
dtoverlay=rpivid-v4l2
disable_overscan=1
disable_fw_kms_setup=1
initramfs initramfs-linux.img followkernel
')