Skip to content

VLC & Kodi Crashing with some H265 videos. #3492

Closed

Description

@Bleep42

Hi,
I have a few H265 Videos that are crashing VLC. This is using a Pi4, Latest updated Raspbian.
Link to a 2 minute sample
They are low resolution and used to play fine. They will just about play using Kodie under Raspbian, but are very blocky and distorted, and eventually Kodi will lock up.
All other higher resolution H265 play well.
There is a fuller investigation on the Pi Forum Where the current kernel was rolled back, which fixed the problem.
Would be greatful if someone could take a look.

Activity

  1. JamesH65 commented on Mar 9, 2020

    @JamesH65
    Contributor
  2. popcornmix commented on Mar 9, 2020

    @popcornmix
    Collaborator

    Was Jan 10 firmware the last version that worked (so Jan 14 has the issue?)
    Can you confirm if it is just the firmware update that causes the issue (i.e. start*.elf/fixup*.dat).

    I can check this at some point but not in the office today.

  3. Bleep42 commented on Mar 9, 2020

    @Bleep42
    Author

    Sorry I've never gone back to a specific version before, I've looked at documentation here but that doesn't help.
    Regards, Kevin.

  4. pelwell commented on Mar 9, 2020

    @pelwell
    Contributor

    This is a VFAQ, so to avoid retyping it all you can read a good explanation from MrEngman: https://www.raspberrypi.org/forums/viewtopic.php?t=79031#p561307

  5. Bleep42 commented on Mar 9, 2020

    @Bleep42
    Author

    Hi @popcornmix
    I can confirm that the 22nd Jan kernel 993F475 Is the last working version.
    The 30th Jan update 1526192 is the first kernel with the problem.
    Hope this is of help? Let me know if I can check anything else.
    Regards, Kevin.

  6. popcornmix commented on Mar 9, 2020

    @popcornmix
    Collaborator

    Thanks @Bleep42 . The changes that seem most likely are:
    firmware: MMAL / video_render: Allow column stride to be set on column formats
    firmware: vc_image/video_decode: Move +16 lines for di_adv from vc_image to decoder

    I'll try to reproduce tomorrow and confirm which one it is.

  7. JamesH65 commented on Mar 9, 2020

    @JamesH65
    Contributor
  8. 6by9 commented on Mar 10, 2020

    @6by9
    Contributor

    Assertion geo.height_y >= video_height && geo.height_c >= video_height / 2 failed at src/libavcodec/rpi_zc.c:509
    reported in the forum thread is @jc-kynesim 's code complaining about a format.
    Indeed those patches have removed a load of padding from YUVUV formats.

    (I did try playing that clip yesterday and it was fine. Then I noticed my kernel didn't have the relevant /dev nodes for the hevc decoder!)

  9. popcornmix commented on Mar 10, 2020

    @popcornmix
    Collaborator

    We've pushed a potential fix to rpi-update firmware. Please test and confirm is issue is resolved.

  10. Bleep42 commented on Mar 10, 2020

    @Bleep42
    Author

    Hi @popcornmix
    Ok, that has fixed the VLC, and Kodi using 32bit kernel, but not Kodi under Raspbian using the 64bit kernel, I am using 18.5 Git 20191208, though I am unsure you will be concerned about this.
    Regards, Kevin.
    Comment updated, as I missed out the 64bit kernel.

  11. popcornmix commented on Mar 10, 2020

    @popcornmix
    Collaborator

    Hardware decode isn't supported with 64-bit kernel yet, so that is expected.

  12. added a commit that references this issue on Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions