There are some playback improvements for 4K HEVC content which should hopefully fix issues where the decoder would get stuck. An example of this is John Wick 2, where there is a very specific freeze.
The issue should now be fixed, but we need to get some testing to ensure that other HEVC content also behaves as expected.
I’d appreciate it if you could test this and provide feedback before we release this as an update to other users. To test this update:
Add the following line: deb http://apt.osmc.tv stretch-devel main
Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
Your system should have have received the update.
Please see if the issue is resolved.
I also recommend you edit /etc/apt/sources.list again and remove the line that you added after updating. This will return you to the normal update channel.
Hi @sam_nazarko
I´ve installed the testbuild and have a look at Serenity… at 03:45 the movie stops to buffer… then i type the command echo 16 | sudo tee /sys/module/amvdec_h265/parameters/dynamic_buf_num_margin via shell and start Serenity again and at 03:45 there is no stop or buffer so i think there is something wrong with the testbuild!?
Please try updating again. I accidentally pushed the wrong package to Jenkins, so you wouldn’t have actually tried a kernel with these improvements yet.
I updated and tried Cars 3. First log the movie froze right at the beginning. Second log it played for over 20 minutes. The sound never completely cut out but had a bunch of quick dropouts. A couple were around times of 2:45, 5:00, 8:40, 21:45.
Fixed the freeze on Serenity and John Wick 2 here. Had to play them from the beginning since… it has had a side effect or making each 4k UHD HEVC file skip and stuttery in a very weird way IF I skip anywhere in the file.
Playing form the start it’s nice and smooth and fine, as soon as I chapter skip or skip a few seconds forward or backwards, playback is jerky and juddery from then onwards.
Will do some logs files if needed when I get time later.
I’ve tried the samples in mkv & m2ts I cut and suplied in my previous thread as well as the source m2ts files for both Serenity & John Wick 2 and can happily agree with the above - freezing issues are indeed fixed! Great work.
As reported in my thread and by @Mevlock above skipping does indeed cause issues, whether it’s by hopping right on the remote in increments or typing in a time code. Both result in jerky playback, frames skipping froward and back and visual corruption.
Sorry, being dense here, is this a parameter in advancedsettings.xml? If so let me know what to change and I’ll try 10 and report back.
It’s just that command from the last thread. Just substitute the 16 for 10.
The kernel update in the dev channel just had it hard-coded to 16. Sam will probably push another update if everyone is seeing the same results. Then it’ll end up in an official update once it’s clear there’s no problems.
I can confirm that too… with 16 the chapter skip or skip forward the playback isn´t playable but with 10 all is fine, do a 30 minutes test with Serenity!
Yep still good on both The Mummy Returns and Serenity, although I still get the weird frame skipping that a previous user mentioned if I FFWD or RWD the movie
10 seemed to work for me too - I only tested a bit round the previous error points but certainly the oddness of frame skipping wasn’t apparent. Can try 9 too if needed.