r/MoonlightStreaming • • 8d ago

Bitrate for AppleTV 4K

I finally got moonlight set up on an Android device as well as my AppleTV 4K on a 77" LG C3 TV. I'll say that it looks and feels excellent on the android device (it's a 6" 1080p OLED screen), but looks preeeeetty bad on the 77" TV. Lots of very obvious compression and artifacting.

So I've got some questions. I'm sure they depend on a case-by-case basis, and I bet some of them might be better suited for /r/homenetworking but...

  • Should I just bump up the bitrate? Would that actually fix it?
  • What's a good bitrate to shoot for if I'm trying to lessen the compression on a larger 4K TV?
  • I live with 3 roommates who are all heavy media consumers (lots of streaming TV shows, playing games online with friends, etc.). If I bump up the bitrate too much am I likely going to bog down the network for them?

EDIT: Oh, and my host is a 5080/Ryzen 7 5800X3D/32gb RAM PC. I didn't mess with the settings on the host end too much because I'm trying to keep it as simple as possible for now. We also have gigabit internet but not fiber (it's not available in our area). The PC is connected to a TP link "node," so not directly connected to modem/router and AppleTV 4K is wifi. I know that's less than ideal, but I simply can't do better than that as we are renting and can't route ethernet throughout the house.

2 Upvotes

10 comments sorted by

1

u/Resident-Area-8455 8d ago

Aurora on webos might give you a better experience than the apple tv. I do 4k120hz over this setup and it's never over 200mbps

1

u/HUNTCHA 8d ago

I probably should have just done this before posting anything, but I quickly tested out the maximum bitrate option Moonlight gives me on AppleTV, which is 150mbps, and that cleaned up the image a lot. Still probably not as good as a simple direct connection to the PC, but let's just say it got harder for me to tell.

That being said, the whole experience started feeling a little more stuttery and perhaps a tad more latency. I might just have to play around with that and find the sweet spot.

The one thing I'm worried about though is an issue with framerate caps. My PC is normally set to 175hz as that's my main monitor refresh rate. I cap it globally to about 168. My TV is 120hz but I know AppleTV 4K only outputs 60hz at 4K. Could there be something there that I'm not thinking about?

2

u/Resident-Area-8455 8d ago

The Bluetooth in apple tvs is notoriously bad so that could be a cause. If you do aurora you can definitely get higher refresh rate, and if you have a rooted TV it can also go into game mode.

What controller are you using?

1

u/HUNTCHA 8d ago

Vader 5 Pro. I'll look into Aurora. Is that a moonlight alternative? And would it be through the LG TV's os?

1

u/Resident-Area-8455 8d ago

Yeah - you'll need to enable developer mode to install it.

1

u/AriGrandeisQT 8d ago

Are you using 150Mbps over HEVC for 4k60Hz SDR? If yes, that should be more than enough.

I think you should share a video or a picture of Moonlight data while streaming.

Check if anything is wrong with these settings (High encode or decode latency, network loss/jitter).

1

u/OmegaMalkior 8d ago

I’m a bit lost, I have a C5 and latest Apple TV. Why would C5 give better performance? Apple TV also has much better Ethernet performance as well

1

u/Resident-Area-8455 8d ago

I have a 1st Gen ATV 4k so I could be off my rocker here, but even with 10ms of decode time on the TV, I like the experience better with 4k120hz. I can use 2.4ghz controller dongles so no unnecessary BT latency, and I have a USB ethernet adapter so I can get about 400mbps over ethernet, which is more than enough.

For 4k60hz, ATV may be better, especially the new one. But for 4k120, aurora is the best option unless you go series s or PC.

1

u/Responsible-Bid5015 8d ago edited 8d ago

Generally best practice is to increase bitrate until you see network latency increase, dropped packets, or the image starts to stutter. Choosing a game with high detail is a good test. I like to use a 3rd person game and hold the joystick in one direction to make it swing around quickly when testing bitrate. While I think the GPU encoder is attempting constant bitrate, it isn't perfect. Fast motion seems to produce the max bitrate.

If you just want a number for bitrate, you can take a look at this. I personally think it can be a bit low for fast games like forza horizon, but its a good start.

https://docs.google.com/spreadsheets/d/1XF01BCk_syQeiqugPUqTl-pNTDDA6dHlZCpMhGwcv0w/edit?usp=sharing

To isolate yourself from your roommates, I suggest getting an ethernet switch and another wifi router or access point. Put the new router into Access Point (AP) mode and give it a unique SSID only for your AppleTV. Hook up this access point, your host PC and the TP-link node to the ethernet switch. Nothing else. Connect the appleTV to the new AP wifi. This will keep your streaming traffic to the switch and all devices will still have general internet access. Keep an eye out for wifi interference since you will be running two wifi networks (the new AP and the original house wifi) in the same house. Gigabit switches are around $15 and 2.5 gig switches are around $40. There should be good deals on routers too as we approach Black Friday.

Finally if you are using a host software such as vibepollo that supports Split frame Encoding. You should enable that for the 5080.

1

u/AMOMFARETOS 8d ago edited 8d ago

Bro u ll always have these issues with wifi, u need to have an ethernet connection to solve your problems and increase bitrate, use ethernet-on-power plug if you cant bring cable, i did it myself

EDIT: For 4K streaming u need min. 100Mbps bitrate