Posts by Ilvy99

    Thank you for the quick reply. I understand the reason must be the TS format.

    But I see this effect only on my Raspberry Pi. When I play the exact same file on kodi on my PC, skipping works fine.

    Also, when I play the same file in H.264 TS format on my Raspberry Pi, skipping works fine.

    The problem somehow seems to be specific to H.265 TS on Raspberry Pi.

    Any explanations for this?

    I play different H.265 TS videos on my Raspberry Pi 5, LibreElec 12.2.1. Skipping backwards always yields very severe artefacts. It seems to me like the skip does not hit the correct frame.

    For example, this can be tested by generating a H.265 TS file using:

    wget https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/720/Big_Buck_Bunny_720_10s_2MB.mp4

    ffmpeg -i Big_Buck_Bunny_720_10s_2MB.mp4 -c:v libx265 -c:a aac -f mpegts Big_Buck_Bunny_720_10s_2MB.ts

    I only observe this effect with H.265 TS files, not with H.264 nor with non-TS files.

    Could there be a bug in the player HW/SW? Any ideas how this could be fixed?

    I have access to a German TVH installation for testing so if this is the original broadcast format it's probably not needed, but can you create a much larger sample; ~2 seconds is too short. NB: The "fix" will need someone to pick up a keyboard and do rework and optimisation on the HEVC codec. Right now it's in a state where I was able to dust off Maxime's known-unfinished code and get it compiled, but that's all. Sadly that's the limits of my coding abilities.

    I double checked again: The HEVC videos play perfectly on my Odroid C2 with LE9. The problems only occur with LE10 and LE11. I am surprised that this requires optimization, since the LE9 code seems to be working great. Anyway, I will be happy to provide samples of any size, if anybody wants to work on this (exceeds my capabilities by far).

    Ilvy99 the HEVC codec is not very optimised at the current time. It might help to enable adjust-refresh and set the whitelist to use 1080p @ 24/50/60Hz with 'doubled' modes working. The TV doesn't appear to have 23.976 or fractional rates like 29.97 or 59.94 but that shouldn't be an issue with PAL media; 25Hz should use 50Hz is doubling is on.

    Thanks for the suggestions. I enabled adjust-refresh on start/stop and set the whitelist to use 1080p @ 25/50/60Hz with 'doubled' modes working, but the video output issues persist :(

    I consulted my magic 8-ball, and it said "could be" .. for a better answer you might need to share debug log files so we can see what media is being played; specifically what codec is being used and whether hardware decoding is active or not.

    I have pasted my kodi and tvheadend log files to

    Ilvy99's logs · paste.gg

    The codec data are:

    Video-Decoder: ff-hevc_v4l2m2m-drm_prime (HW)

    Pixel-Format: drm_prime

    Deinterlace-Methode: none

    Videostream: 1,920x1,080p, 1.78 AR, 50.000 FPS

    I'm not able to test anything related to DVB cards/drivers, so no idea. I also disable the driver-addons (so we don't ship them) as I'm using a kernel that's always ahead of support for compiling them, so the only option in AMLGX is the in-kernel drivers. I generally suggest people run DVB cards on a separate device so you can use whatever kernel/driver combo works reliably on the headend and a latest version of LE on the client device.

    OK, I think the tvheadend problem must be on the client side. I have now a tvheadend server running on my Odroid C2 with LE11, and a tvheadend server (kodi-pvr-hts) on my Ubuntu linux notebook, works great. But my tvheadend client on Odroid C2/LE11 still gives me trouble: video often starts purple/green, sometimes it does not start at all, and sometimes it keeps continuously choppy. Is this a tvheadend client or an LE11 problem? How could I find out?

    I have trouble with DVB on LE10 and LE11. It worked great with LE9 (with "DVB drivers from the latest kernel" activated), but in LE10 and LE11 the video often starts purple/green, sometimes it does not start at all, and sometimes it keeps continuously choppy.

    My DVB USB device is a Silicon Labs Si2168 (supported since Linux kernel 3.16) on an Odroid C2 with Tvheadend. IPTV and HEVC HW Decoder work great, but not with DVB.

    Is this a DVB driver problem? Should I try to install the CrazyCat TBS drivers? Any ideas?