| ▲ | qbow883 7 hours ago | |||||||||||||||||||||||||
Setting aside the various formatting problems and the LLM writing style, this just seems all kinds of wrong throughout. > “Just lower the bitrate,” you say. Great idea. Now it’s 10Mbps of blocky garbage that’s still 30 seconds behind. 10Mbps should be way more than enough for a mostly static image with some scrolling text. (And 40Mbps are ridiculous.) This is very likely to be caused by bad encoding settings and/or a bad encoder. > “What if we only send keyframes?” The post goes on to explain how this does not work because some other component needs to see P-frames. If that is the case, just configure your encoder to have very short keyframe intervals. > And the size! A 70% quality JPEG of a 1080p desktop is like 100-150KB. A single H.264 keyframe is 200-500KB. A single H.264 keyframe can be whatever size you want, *depending on how you configure your encoder*, which was apparently never seriously attempted. Why are we badly reinventing MJPEG instead of configuring the tools we already have? Lower the bitrate and keyint, use a better encoder for higher quality, lower the frame rate if you need to. (If 10 fps JPEGs are acceptable, surely you should try 10 fps H.264 too?) But all in all the main problem seems to be squeezing an entire video stream through a single TCP connection. There are plenty of existing solutions for this. For example, this article never mentions DASH, which is made for these exact purposes. | ||||||||||||||||||||||||||
| ▲ | bugufu8f83 6 hours ago | parent | next [-] | |||||||||||||||||||||||||
>Setting aside...the LLM writing style I don't want to set that aside either. Why is AI generated slop getting voted to the top of HN? If you can't be bothered to spend the time writing a blog post, why should I be bothered spending my time reading it? It's frankly a little bit insulting. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | 6 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
| [deleted] | ||||||||||||||||||||||||||
| ▲ | mschuster91 7 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
> For example, this article never mentions DASH, which is made for these exact purposes. DASH isn't supported on Apple AFAIK. HLS would be an idea, yes... But in either case: you need ffmpeg somewhere in your pipeline for that experience to be even remotely enjoyable. No ffmpeg? No luck, good luck implementing all of that shit yourself. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | rdsubhas 5 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Huh? This is the least LLM writing style I've encountered. Extraordinary claims require extraordinary proof. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | ozim 5 hours ago | parent | prev [-] | |||||||||||||||||||||||||
*Why are we badly reinventing MJPEG instead of configuring the tools we already have?* Getting to know and understand existing tools costs time/money. If it less expensive or more expensive than reinventing something badly is very complicated to judge and depends on loads of factors. Might be that reinventing something badly - but good enough for the case is best use of resources. | ||||||||||||||||||||||||||