moonlight-embedded icon indicating copy to clipboard operation
moonlight-embedded copied to clipboard

raspberry pi 4 + buster - h265 possible?

Open danpowpow opened this issue 5 years ago • 8 comments

before i go crazy troubleshooting an impossible situation:

according to the link below, the pi4 supports h265 decode https://cdn.shopify.com/s/files/1/1560/1473/files/Inside_Raspberry_Pi_4.pdf?2142

but when i run moonlight with -codec h265 i get: Initializing platform...done Resolving host name...done Starting RTSP handshake...done Initializing control stream...done Initializing video stream...done Initializing audio stream...done Initializing input stream...done Starting control stream...done Video format not supported Starting video stream...Video stream start failed: -1

Has anyone succeeded with moonlight embedded and pi4 / h265? cheers

danpowpow avatar Sep 12 '19 16:09 danpowpow

Same problem here. I guess the OS aren't ready to use this codec on the raspberry yet.

yukatan avatar Oct 01 '19 17:10 yukatan

Trying to do the same but I don't think it's possible :(. At least platform=pi only support h264: https://github.com/irtimmer/moonlight-embedded/blob/7a32234c0b2fd7603a2fe93640209c3a5bf98495/src/video/pi.c#L54 Same applies to moonlight-pc where general rpi hw support was added, but not for h265,

And since that's the only way to do 4K streaming, it doesn't look like that's possible. Same btw seems to apply to parsec and steamlink.

discordianfish avatar Nov 27 '19 22:11 discordianfish

raspberry pi 4 has the hardware to decode h265 but software is not ready yet. it won't be ready until Q1-Q2 2020 sadly

yukatan avatar Nov 28 '19 09:11 yukatan

@yukatan libelec supports h265 hw decoding on rpi though: https://libreelec.tv/2019/06/libreelec-9-2-alpha1-rpi4b/ So it seems possible, here are a few more details: https://forum.kodi.tv/showthread.php?tid=345112

Also see the same discussion over at moonlight-qt: https://github.com/moonlight-stream/moonlight-qt/issues/160

discordianfish avatar Nov 28 '19 10:11 discordianfish

Any change on this?

zaptrem avatar Jun 07 '20 17:06 zaptrem

I am experiencing this issue and willing to help implement a patch if I can figure it out.

Has anyone else made any progress on this?

zbuc avatar Dec 02 '20 23:12 zbuc

Is this project dead?

zbuc avatar Feb 14 '21 03:02 zbuc

Yes this is now possible on Moonlight-Qt version 3.1.2

KiralyCraft avatar May 04 '21 15:05 KiralyCraft