4 ms·
Hey there ! Thank you for sharing my blog post. I tried to share it myself earlier, but my post was hidden (probably because my account is new). This is my fir
by pcouy 4y ago
Hey there ! Thank you for sharing my blog post. I tried to share it myself earlier, but my post was hidden (probably because my account is new).
This is my first technical blog post. I intended for it to be easy to follow along, and tried my best to write in a pleasant style. However, as a non-native speaker, I know that my writing sometimes feels awkward.
Please tell me everything that is wrong with this post, whether it's from a technical or a linguistic standpoint. Don't worry about sounding harsh, this will only help me improve :)
I wish you a pleasant read.
- neilsimp1 4y agoI wish HN had more content like this. Thanks for the write-up!
- pcouy 4y agoThanks for the kind words ! Really motivates me to write more
- ta988 4y agoWhy did you use that approach and not a USB video card?
- sintax 4y agoDid you consider using Sunshine/Moonlight? https://github.com/LizardByte/Sunshine https://github.com/LizardByte/Sunshine and https://github.com/moonlight-stream https://github.com/moonlight-stream
- pcouy 4y agoI'm not at my computer rign now, and can't remember if I did, but I'll make sure to keep you updated
- xyro 4y agoMoonlight requires nvidia GPU and GeForce Experience no?
- sintax 4y agoNo, both the client (moonlight) and the server (sunshine) support AMD/Intel/nVidia. Might be useful: "System on a Chip - Benchmark for Moonlight Game Streaming Project" - https://docs.google.com/spreadsheets/d/1WSyOIq9Mn7uTd94PC_LXcFlUi9ceZHhRgk-Yld9rLKc https://docs.google.com/spreadsheets/d/1WSyOIq9Mn7uTd94PC_LX... lists the Pi3 as having about 10ms latency at 1080p 60fps.
- xyro 4y agothanks.
- manmal 4y agoWanted to write a top level comment to suggest Sunshine/Moonlight too. I've been using it to stream 3.5k@60fps from my midrange gaming PC (Ryzen 5, 3060 Ti) to my Macbook Pro. I set up a virtual display with my Macbook's native resolution (minus some height because I don't want to overlap with the notch), and it's just perfect, with no perceptible input lag. Sometimes I need to restart Sunshine, but I could just move the PC to the basement and operate it completely remotely (Moonlight supports WoL). If your host is on latest Win 10/11, you can even get by without a monitor or HDMI dummy: https://www.reddit.com/r/MoonlightStreaming/comments/rzpcpc/moonlight_streaming_without_monitor_no_dummy_plug/ https://www.reddit.com/r/MoonlightStreaming/comments/rzpcpc/...
- oktwtf 4y agoThanks for that link! I've been meaning to write the EDID to the dummy dongle I have to enable resolutions/refresh using CRU. But I think I'll dive into this first. I too have a workstation/gaming pc presently in the basement, for about a year it lived ~15km away. I used Parsec at first but migrated to Sunshine when I started using Linux clients due to the more recent Parsec clients dropping GPU acceleration. I just got a refund on my Lenovo X1 Nano laptops because they were non functioning after years of service troubleshooting. (Nightmare experience, ThinkPads are not what they used to be!) Took my money and got a MacBook Pro, Streaming to this screen is amazing. Looking forward to getting 120Hz working.
- bmsleight_ 4y agoLove the blog post. I did something similar with Kindles - into a plug-and-play HDMI monitor. But not as good as you on delay. https://hackaday.com/2021/01/08/old-kindle-shows-hdmi-video-eventually/ https://hackaday.com/2021/01/08/old-kindle-shows-hdmi-video-... I may need to look again at the parameters you have used for ffpmeg, as it appear to be almost a sorcery to get the correct parameters.
- pcouy 4y agoIt indeed took several days of trial and errors to get a result I felt comfortable using
- jon-wood 4y agoYou totally hit the mark on being easy to follow, and pleasant to read, I love blog posts like this which don't just dump a solution and then leave it at that but also walk through the process of getting to that point. Can I suggest adding an RSS feed to your blog? I'd love to follow it, but realistically unless I can add it to a feed reader I'm going to forget it exists!
- pcouy 4y agoThanks for your encouragements. I'm still tweaking the jekyll website, but I'll make sure to add an RSS feed to it
- pcouy 4y agoHey ! I hope you didn't forget my blog already, because I added the RSS feed as you suggested. You can find it at https://pierre-couy.dev/feed.xml https://pierre-couy.dev/feed.xml
- bmicraft 4y agoYou state multiple times that the Raspberry Pi 3 does not support hardware accelerated h264 decoding, but that's simply not true. All Pis (except Pico series) support both accelerated encoding and decoding, and have done so since 2012. The Broadcom VideoCore IV in RPi 3 Model B does hw decode at 1080p30.
- pcouy 4y agoYeah you're right. Someone mentioned it on reddit and the issue was indeed not the lack of hardware decoding, but the fact that using it disabled my optimizations regarding latency. You can read more in this thread :https://reddit.com/r/programming/comments/11r9osx/using_a_raspberry_pi_to_add_a_second_hdmi_port_to/jc9bljm https://reddit.com/r/programming/comments/11r9osx/using_a_ra...
- stity 4y agoCongrats on being on the front page of HN ! Are you the Pierre Couy I met in Centrale Lyon ? We did a project together using D3.js for a pharmaceutical company. Valentin
- pcouy 4y agoYes I am, and I clearly remember the D3.js project. It has been almost 10 years, crazy how time flies! It's nice meeting you again on HN :)
- danShumway 4y agoFantastic post, great level of detail. Thank you for writing it and sharing it; I hope you write more technical stuff like this in the future.