Posts by noggin

    Hi I didn't enabled this option in config.txt and I was able to play 4k HEVC movie anyway. Is that possible? Now i tried enable this option and only difference is, that I can put Kodi interface to 4k 60fps mode, previously I could use just 4k 30fps.

    I'm doing it right: I opened SD card on my computer, opened config.txt file and added line hdmi_enable_4k=1.

    But i'm surprised, that 4k worked without this line.

    Thanks

    Yes - confusingly the hdmi_enable_4k isn't needed to enable all 4K modes (4K24-30 is enabled without it) - it just enables the 4K50-60 modes...

    Without 4K60 enabled (which is an HDMI 2.0 mode)you are effectively running with a max of 4K30 (which is potentially an HDMI 1.4b mode in SDR)

    Movies and drama TV shows are traditionally 24-25p so will play with no obvious difference without 4K60 being enabled. However any live TV sport or entertainment (BBC iPlayer is carrying Wimbledon in 4K50 at the moment) will most likely be 50 or 60 - and the UI will look smoother in 50 or 60.

    I think Da Flex is talking about getting the Raspberry Pi to decode DD+ to PCM in the Pi, whereas Novalis wants passthrough/bitstreaming, where the DD+ bitstream is passed, untouched, from the Pi to the AVR for the AVR to decode?

    Both are valid approaches for non-Atmos content, and the 'decode to PCM' is the only approach for the Pi 3B+ and below for Dolby True HD and DTS HD MA (which the Pi traditionally can't bitstream *), whereas the Pi can bitstream/passthrough DD and DTS. It seems some have reported success with DD+ bitstream/passthrough.

    (*) The Pi 4B supports 8 channel 192kHz over HDMI which means it should allow HD Audio passthrough (the previous generation of Pis only had enough bandwidth for 4 channel 192kHz so couldn't)

    Yeah, but as far as I know H.264 HW decode is limited to 1080p@60 and I want to use 4K content, so :(

    Or I'm wrong?

    PD: sorry for the off-topic hehehe

    My understanding is that the hardware decode of non-HEVC stuff is basically near-identical to previous Raspberry Pi models - with the new HEVCv2 4:4:4 4096x4096 decode capabilities added separately, so performance with h.264 will be the same as previous models.

    I guess the approach the Pi developers have taken is to maximise compatibility (by adding new functionality without replacing the elements that were present in previous Pis?)

    For the stuttering reports there is a fix. Either wait for the next LE update or grab firmware from here:

    start4.elf?raw=true

    fixup4.dat?raw=true

    rename and replace http://start.elf/fixup.dat on the FAT partition of sdcard.

    This fixes the issues I have seen with h.264 1080i interlaced content (i.e. Freeview HD stuff) - but my 2160p59.94 Rec 709 SDR HEVC test stuff is still frame dropping like crazy. (Some other 2160p59.94 stuff isn't though)

    Decoder is ff-hevc-mmal (HW)

    Pixel format is rpi

    Also 5.1 PCM is now working for me (though I discovered an HDMI issue elsewhere in my set-up that may have resolved that)

    Just trying to rule out possible causes in an effort to identify what is happening.

    As it happens, there should be a fix for the "washed out" videos in the next release as MMAL required some extra support for the Rec2020 colour space that had been omitted. It would still be very nice if someone could upload a test sample or provide a link to a file that demonstrates the problem so we can fix it at the first attempt.

    Also, stuttering issues with interlaced videos should be fixed in the next release.

    I got my 4GB 4B last night. First boots of both Raspbian and the LibreElec Alpha from the downloads page with my UHD TV connected to HDMI 1 didn't go well, and LibreElec TV ran in 4096x2160p mode with very odd level space (and odd pulsing audio). Disconnected and using HDMI 0 (a tight fit with a Micro HDMI->HDMI adaptor and the USB-C power connector) it worked OK, starting up in 4096x2160/24p but with correct levels.

    2160p60 output is RGB 8-bit currently on my set-up.

    I'll upload some Rec 2020 HLG and HDR10 content once I've tested it. SDR Rec 2020 is pretty rare - I'm not sure I have any. HLG Rec 2020 is backwards compatible with SDR Rec 2020 though - the highlights just look a bit different because of the HLG EOTF differing from BT.1886 once you get past about 75%.

    BTW - other observations. Interlaced 1080i h.264 is very juddery, and 5.1 FLAC is output 2.0 (even with 5.1 configured) Totally understand this is a very early alpha - and not complaining!

    *** EDIT : Watching some 2160p59.94 10-bit HEVC SDR Rec 709 content, played from a locally connected USB 3.0 ExFAT drive, I'm seeing hundreds of dropped frames too *** I'll message you with a DropBox link to some test content.

    documentation/hdmi-config.md at master · raspberrypi/documentation · GitHub

    In /flash/config.txt, add the following to enable 4Kp60 support:

    Code
    hdmi_enable_4k=1

    HDR metadata should be ignored for now, so if your display looks washed out try toggling Settings > System > Display > Use limited colour rage (16-235).

    Why would 0-255 or 16-235 be an issue for Rec 2020 HDR10 output flagged as Rec 709 SDR?

    Wouldn't you be better forcing your TV into Rec2020 and HDR10 mode? (My Sony lets you do this in its video settings)

    This won't help cope with the different Rec 709 vs Rec 2020 RGB<->YCrCb matrix (so if any RGB processing takes place it will be a bit out), but will use the required EOTF for HDR10 (i.e. use the right dynamic range) and will switch to Rec 2020 primaries (so that the colours are in the correct gamut) assuming the Pi 4B LibreElec is just treating HDR Rec 2020 stuff as if it is Rec 709 SDR (and not trying to do any gamut or EOTF conversion)

    Or are you saying that the UHD HDR 16-235 content is flagged 0-255 permanently?

    Hi all,

    I installed this release on my PI4 2gb and and have a few questions.

    I can play 4K HEVC files fine but as all of them are HDR which isn't supported yet will this result in incorrect playback? They seem to be washed-out and lacking colour but this could be in my mind.

    The maximum refresh rate I can get is 30. In 1080p I can get 60. Is this likely to be down to the HDMI cable I'm using? I seem to remember I had this with my laptop and had to buy a quality cable. I'm using a micro to full size adaptor which I think might be limiting things.

    Thanks in advance for any help.

    If HDR10 HDR with a Rec 2020 gamut content (i.e. UHD Blu-ray material) is played as if it is SDR Rec 709 it will look very washed out as the colour primaries and 'gamma' (for want of a better word) are very different and unless a tone mapping conversion is taking place it will look terrible. You may find you can force your TV into HDR10 and Rec 2020 but this still may not make things 100% correct (as the RGB<->YCrCb matrices for 709 and 2020 are different)

    I'm told Atmos should be okay. If you aren't using pass-through you'll only get the DTS core (5.1) anyway and if it is being passed through it's not being decoded and thus a license isn't needed. Or something like that .. IANAL :)

    Don't you mean you'll get either a lossy Dolby Digital accompanying secondary stream (if DD passthrough is enabled but True HD disabled) or Dolby True HD decoded to 5.1PCM (if all passthrough disabled and thus lossless decode - ignoring Atmos extensions - kicks in? ISTR that most True HD + Atmos has a 5.1 True HD core?)

    Not sure where DTS comes from (And True HD technically isn't a DD core + True HD extension is it? Unlike DTS + DTS HD MA - True HD is self contained and there is usually a secondary DD standalone stream - though this is sometimes hidden from view on discs)

    Does Dolby Vision also involves metadata passthrough as well?

    DV requires metadata passthrough - and there are different ways of doing this (early DV tunnelled the metadata within the video, which requires displays to extract the DV metadata from the video) Not all displays support all metadata routes (more recent displays only support the low latency DV system that carries metadata separately, I believe similarly to HDR10+?).

    In fact DV's main reason for existence is to pass Dolby metadata through the viewing chain to Dolby licensed processing elements.

    I understand it has hardware decoding for HEVC content but what about 10 bit? Will it smoothly run 1080 and 4K x265 10 bit content?

    The HEVC/h.265 decode hardware is quoted as supporting 4:4:4 4096x4096 at 10-bit in specs I've seen reported elsewhere.

    That should be fine for 3840x2160 4:2:0 10-bit consumer HEVC/h.265 as used on UHD Blu-ray etc. in decode terms.

    (I don't think anyone would seriously now offer 8-bit limited UHD HEVC/h.265 decoding)

    I'd just like to know. Is it possible to get a definite answer to this question? Or is it a secret? So far I don't get it running with my AVR. But maybe I'm doing something wrong.

    It works with Windows though.

    Light please. :idea:

    Kodi supports DD+ passthrough, so LibreElec support will depend on the hardware support in the surrounding Linux ecosystem that LibreElec uses, which means it's based on the hardware platform you are running.