Posts by popcornmix

    This doesn't look like a typical hevc file:

    Code
    2023-07-31 22:33:58.744 T:1118     info <general>: ffmpeg[0x417b128]: [matroska,webm] Unknown/unsupported AVCodecID V_MS/VFW/FOURCC.
    2023-07-31 22:33:58.753 T:1118    debug <general>: ffmpeg[0x417b128]: [matroska,webm] Could not find codec parameters for stream 0 (Video: none (HEVC / 0x43564548), none, 1280x540): unknown codec
    2023-07-31 22:33:58.753 T:1118     info <general>: ffmpeg[0x417b128]:   Stream #0:0: Video: none (HEVC / 0x43564548), none, 1280x540, SAR 1:1 DAR 64:27, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)

    Note that it probes "Video: none (HEVC / 0x43564548), none"

    When I play a hevc file I see:

    Code
    Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709),

    Can you confirm if you can play a typical hevc file? e.g. this?

    Can you post output of mediainfo for your file?

    Seems to be a problem with the EDID reported by the AVR.

    I'd suggest you connect it to directly to the TV (with working full hd),

    and then run getedid create.

    Then when you reconnect the AVR it will use the working EDID.

    The reason for the faulty EDID may be the AVR itself, or it may be the extra HDMI cable used when going through the AVR.

    It might be worth trying with that replaced.

    I've updated a build I made from current head of master here.

    A quick test updated, and ran, and included the deinterlace support.

    copy to /storage/.update and reboot to update. Be aware this is a master build, rather than nexus.

    I don't think much has changed that would cause an issue with updating, but as always having a backup is useful.

    Recent LE12 nightly builds (since this PR) now support bwdif deinterlace, which has had recent neon optimisation in ffmpeg.

    The quality of this deinterlace is much better than the previous firmware accelerated bob deinterlace.

    In fact it's generally thought to be better than yadif.

    See here for deinterlace comparisons.

    bwdif is shows as "Bob-Weave" in the table.

    To use it you want to disable settings/player/video/Allow hardware deinterlace with DRM PRIME

    which allows the better quality software deinterlace to be used. We may make this a default option if feedback is positive.

    You really want a Pi4 for HD resolution (Pi2/3 should handle SD).

    The previous edid provided is probably fine, but it does report a large number of display modes supported, including 3D modes, and support for multichannel and passthrough audio formats which a basic display won't support.

    I've created a more basic edid for 1080p50 and 1080p60 support, plus stereo PCM audio support.

    You can grab it here.

    I used AW edid editor to create this. It can be downloaded for free here.

    This tool could be used to create an accurate edid for any display (with some work).

    Obviously using a working display and/or working hdmi cable would be the simpler solution, but this is the workaround.

    Possibly this thread is useful:

    mikeybs
    July 11, 2023 at 4:12 AM

    Based on (limited) information provided I'm guessing your display or HDMI cable is faulty and isn't providing an EDID.

    This thread may be helpful:

    mikeybs
    July 11, 2023 at 4:12 AM

    Is there a way to adjust overscan ie. border in the vido output? and the resolution.
    The ui works, but the text is a little hard to read.

    See: https://kodi.wiki/view/Settings/…deo_calibration

    Your resolution is fixed when using composite.

    The default Estuary skin is optimised for 1080p (you can use it at lower resolutions but you may find the text is small).

    You should investigate switching to skin that better supports low resolution screens.

    There was a SD/CRT skin

    I found, but it may not have been updated beyond Matrix.

    But there are many skins. You may find something that works better.

    First, remove any changes to config.txt and cmdline.txt (note: a # character is not a valid comment character in cmdline.txt).

    Run "getedid create". It captures your current edid (which is a broken, zero length one) and modifies http://config.txt/cmdline.txt to use it.

    It appears here (with zero length): /storage/.config/firmware/edid/edid-HDMI-A-1.bin

    What you can do is replace that file with a valid edid (it won't exactly match your display capabilities, but it may be usable).

    Here is a possible edid

    Download that and copy it to /storage/.config/firmware/edid/edid-HDMI-A-1.bin

    Run "create-edid-cpio" to update the fake edid used to this one.

    Now reboot. Do you get video? Can you choose audio output?

    from cmdline.txt and rebooting and getting a new log file?


    If I remove that I don't get a picture anymore, but I can still log in via ssh and get the log file

    You can, but I believe the kernel will just choose a default hdmi mode (I have a feeling it was 1024x768 which isn't that widely supported) if hotplug detect is working. If hotplug detect is not working I think you will get no resolutions.

    Do you have another TV you can connect to? If that works it rules out the hdmi cable. If it doesn't then the cable is the problem and needs replacing.

    If the other TV works and has similar capabilities then you could try capturing its edid and using it with the original TV.

    See: https://wiki.libreelec.tv/configuration/edid

    Remove

    Code
    hdmi_group=1
    hdmi_mode=5

    from config.txt (they apply to a deprecated driver we don't use).

    Remove hdmi_drive=2 from cmdline.txt (they only make sense in config.txt and if you moved them there, they would have no effect as they apply to a deprecated driver we don't use)

    This is the key bit from log:

    Code
    2023-07-12 08:05:03.831 T:770      INFO <general>: Found resolution 1280x720 with 1280x720 @ 60.000000 Hz

    There should be many modes found, and is more confirmation that there is no usable edid.

    To be sure, run:

    Code
    find /sys -name edid -exec wc -c {} \;

    You should see something line:

    Code
    256 /sys/devices/platform/gpu/drm/card0/card0-HDMI-A-1/edid
    0 /sys/devices/platform/gpu/drm/card0/card0-HDMI-A-2/edid
    0 /sys/devices/platform/gpu/drm/card0/card0-Writeback-1/edid

    The actual hdmi display you are using should start with a non-zero number (typically 256 for a TV style display with audio).

    If all the numbers shown are 0, we can't read the edid.

    That log doesn't have debug enabled.

    The link I gave shows a pastekodi command that reports a lot more info than the kodi.log.

    There is no cmdline option to hardcode audio. We need to confirm what the issue is.

    I'm suspecting it's not possible to read the edid, which suggests either the hotplug detect (pin 19)

    or SCL/SDA (pins 15/16) are not functional.

    The fact it doesn't just work out of the box for you (like it does for almost everyone else) suggests you have a problem with detecting the display. This is probably a faulty hdmi cable (although it could be a faulty display).

    Try switching hdmi cable, or connecting to a different hdmi input (of there is more than one).

    Post a log file which may have more clues.