Posts by mrsix

    So I've used this same Pi to play all kinds of h.265 up to and including 10bit 60fps 4k videos

    This specific video however it will run in to an infinite loop in the debug log of:

    Code
    2020-09-01 00:12:31.668 T:1667232624   ERROR: CMMALPool::GetBuffer - failed pool:0x99359c00 omvb:(nil) mmal:0x959f5090 timeout:500
    2020-09-01 00:12:31.668 T:1667232624   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
    2020-09-01 00:12:31.668 T:1667232624   ERROR: ffmpeg[635FF370]: [hevc] get_buffer() failed
    2020-09-01 00:12:31.668 T:1667232624   ERROR: ffmpeg[635FF370]: [hevc] thread_get_buffer() failed
    2020-09-01 00:12:31.668 T:1667232624   DEBUG: ffmpeg[635FF370]: [hevc] Error parsing NAL unit #0.

    This video will play perfectly on other decoders, including an Intel openelec device. I do have gpu_mem=320 set in the config.txt which was necessary to play a 10bit 4k movie when it had a very similar problem. This file however is a mere 480p. I'm not sure what's different about it.

    The only thing I could guess is: Chroma subsampling : 4:4:4 on the one that won't play - maybe the pi's decoder doesn't support it?

    Attached is a very small 5 second clip of the video element only/audio removed (muxed in to an mkv for convenience)

    Interestingly I also tried this on the latest milhouse build which is a little different, it plays the audio of the proper file while displaying no video (not a black screen, just whatever screen it was on)

    1080i is indeed a display mode which has little to do with codecs....

    The annoying thing here is the display's EDID does indeed report that it not only supports but prefers that mode:

    Code
    ibreELEC:~ # tvservice --modes cea
    Group CEA has 7 modes:
    mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
    mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive
    mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive
    mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
    (prefer) mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced
    mode 6: 720x480 @ 60Hz 4:3, clock:27MHz x2 interlaced
    mode 7: 720x480 @ 60Hz 16:9, clock:27MHz x2 interlaced
    LibreELEC:~ #

    If I use tvservice -e "CEA 5" it switches the display mode and uses the mode perfectly.... but kodi is still at the 720p display resolution so it shows up in the top-left corner :/

    edit: even more interesting if I force mode 4 it displays the colours properly... something libre/kodi is doing differently in 720p mode is causing the display to be all green....

    So for some reason on a pi4 kodi isn't giving me the ability to set the display to 1080i. The display I'm using is really flaky and doesn't like any resolutions other than 480p or 1080i - if I set it to 720p the colours go all wrong (it seems to be a hardware issue with the display, I've tried everything with the pi's config.txt and nothing seems to make a difference)

    I tried setting

    hdmi_group=1<br>

    hdmi_mode=5<br>

    <br>

    The pi's bootscreen 'colour splash' thing shows perfectly, but as soon as libre boots it seems to go back to 720p and libre doesn't give me the option of 1080i<br>

    For some reason I haven't been able to determine setting hdmi_ignore_edid=0xa5000080 along with these stops libre from displaying anything at all (though the colour splash still works)

    <br>

    My old pi 1 B+ seems to see 1080i and uses it without issue...

    Is there a way for force a 1080i to show up, or forcibly change it

    Edit a Log file but I didn't have debuging turned on when I was testing this... if you need debugging on I'll have to run it tomorrow as I can't currently do anything with it...