Unofficial Hacker News companion — get notified on comment replies, and more.

Netflix turns low-fidelity media into production-grade HDR with GlowNet (opens external site)

222 points by mfrw 1 day ago | netflixtechblog.com | 174 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (40)

  1. Okay, this is offtopic and gonna sound super nerdy, but I have this gaming video of me and my team from like 2012 playing this video game called Unreal Tournament, and it's really pixelated. I would really love to see it in its glory in year 2026.

    What would be the best way to upscale it?

    Because it's not really human footage. It's basically video game footage. So I don't think it would be easy with regular tools?

    Does anyone have any ideas? Only asking here because I hope this thread might gather some people who know about this stuff. tyia.

    Replies (12)
    1. It might be worth loading some credits into fal.ai and testing a few of the video models on a short clip to see if you can get output close to the original.
      Replies (1)
      1. thank you, worth testing out!
    2. What resolution is it in? RTX VSR works on most modern Nvidia graphics cards, it will clean up compression artifacts and upscale during playback.

      Next is Topaz video upscale, this can really upscale a lot of content really well, not sure about game footage though. There are some other cheaper or freer options like Hitpaw.

      Replies (1)
      1. I am not worried about free - i am asking if there's anything that could work for this specific use-case!
    3. Extract positioning/actions from the video, then replay using the original game engine and render at any desired resolution. Capture replay, pixelate and compare. Repeat until identical. Though the effort required suggest you postpone that project for perhaps two more years, until the required compute/intelligence is cheap.
      Replies (3)
      1. Does UT have deterministic saves?

        The corresponding project in any Trackmania game, for instance, would be made trivial with access to the original save (saves to reproduce online match) as one can simply replay the saves in the existing replay editor, set your cameras as desired, and even produce a new recording from the replay editor.

        Like, if you see a crappy youtube upload where perhaps you can't quite see something, if the save is on the exchange, you can watch it in whatever resolution you have at home.

      2. it's a .wmv video not a save-game/replay save
        Replies (1)
        1. Is the recording of a single map? What version of Unreal Tournament?
          Replies (1)
          1. no - it's a montage video from the best shots over months - typical mid 2010 stuff

            I believe Unreal Tournament 2003 specifically for this video

      3. "Extract positioning/actions from the video"

        How would one even start doing it? Especially in a pixelated video?

        The very best I would hope for this way, would be a very rough approximation. Unless one specially trains a model for this task. Or am I missing something?

        Replies (2)
        1. With "structure fron motion", you could reconstruct a model of the level geometry. Then you could find a best-fit position compared to the actual level geometry, and that gives you the path of the camera through the level. With some reverse engineering you could read the position, velocity, etc. of the character from RAM and program a PID controller to play inputs to match the computed camera path.

          It would be quite a significant undertaking.

        2. The geometry is already available, as well as all movement physics. It is probably much easier than upscaling real world footage.
          Replies (1)
          1. The geometry of the level is avaiable as well as the physic of the game in general. But everything else, all the positions, events, actions, .. you get from where?
            Replies (1)
            1. You'll get it from the original pixelated footage, if I haven't overlooked anything.

              Continue this thread (1 replies) →

    4. This might be exactly what you're looking for. It seems promising! I haven't tried it yet, but I was looking into similar products to upscale some 480p DVD rips.

      https://www.topazlabs.com/topaz-video

      Replies (1)
      1. I signed up and paid $3 to test it on 5 seconds of footage. It's not bad!
        Replies (3)
        1. Nothing else comes close to topaz
        2. Awesome! Good to hear, I might bite the bullet then and try it out
        3. If anyone's curious - here's [1] the before (left) and after (right) 2x loop - play it slow to see how much less pixelated it is...

          [1] https://streamable.com/g4425a

    5. I don't know any of the details but I know people (and maybe a Korean media company?) have been doing content-aware upscaling of Starcraft footage from the early 2000s. They've got the HD graphics from Starcraft: Remastered (2017) as a target for the upscaling algo to use on the gameplay (text overlays, and the live cameras for the players, would have to use other techniques).

      Speculation: if you have game replay files featuring the same levels/textures/etc, and can play them back with both old-style and new-style rendering settings, you can probably synthesize a great training set for some sort of model. Would be a lot of work for a single video though. No idea what sort of resources this requires!

      Replies (1)
      1. No game files sadly, this is a Windows media video file... Lol
    6. I think SeedVR2 is the best video upscaler at the moment, but I'm no expert. You can use it in ComfyUI, check out r/comfyui.

      https://iceclear.github.io/projects/seedvr2/

      https://docs.comfy.org/tutorials/utility/seedvr2

      Replies (3)
      1. I experiment with a few this weekend, I found FlashVSR v1.1 Tiny looked better in my limited samples. There’s also a newer flashvsr+ as well though in my tests it didn’t looks as good in my personal opinion. This was all running on a M2 Mac, it definitely was not fast.
      2. Steppe looks promising, looking forward to trying it.
      3. I tried this, but it seems having a video as input, ComfyUI will happily decode all the frames and upload them to VRAM --- which quickly exhausts, naturally.

        There must be a smarter way to do this. Can ComfyUI read chunks of frames and iterate through a whole video file? There doesn't seem to be such an option in the default load video node.

    7. > this video game called Unreal Tournament

      The way you referenced UT like it's some obscure old lost media made me feel all kinds of uncomfortable lol

      Replies (1)
      1. After epic games made fortnite I also feel uncomfortable about ut(99) and all the sequels... They did the series dirty for no reason when they dropped it in alpha state and then hoped some uneducated gamers could fix it. Funny because now with AI they could!
    8. If you can reproduce how it's pixelated (I bet it was resized and compressed), there's an off-chance a custom-trained model could do a decent job with synthetic data. Essentially, you'd capture lots of footage of the level and gameplay, do the same processing that pixelated it, and have a model guess what's right. Because the level, textures, codec, etc. are known, you might get a result better than an off-the-shelf model.
      Replies (1)
      1. I’m going to guess it was pixelated at the source being a game from the late 90s.
        Replies (1)
        1. Pull up some screenshots. It's low-polygon, and the textures usually weren't detailed enough, so what you saw, even on GPUs from the era, was crisp edges and blurry details. It looked better than you're expecting.
    9. I'd be happy to upscale it for you on my local setup with SeedVR2 and/or Kandinsky VideoSR. Former UT competitive gamer here, but like from 2002 :)
    10. Download Nvidia's Open-H3 IC model, and perform LoRa fine-tuning using high resolution UT recordings.

      You'll need to use handbrake or ffmpeg to generate corresponding low-res files as the training requires hi-res + low-res video pairs.

      Replies (1)
      1. this seems like a good path - thanks for suggesting it
    11. You might try upscaling with FSR 1. FSR 1 only takes the final frames as input (as opposed to needing motion vecors, depth buffers, etc.), so it should work on video, and it's tuned for upscaling game frames.

      There's a CLI tool at https://gpuopen.com/fidelityfx-superresolution/ that can upscale individual frames. I'm not sure what tools exist for applying it to video.

      Edit: Ah, Ffmpeg implements it (using AMD HW acceleration), of course, as sr_amf[1]:

        ffmpeg -hwaccel amf -hwaccel_output_format amf -i input.mp4 -vf "sr_amf=4096:2160:algorithm=sr1-1" -c:v hevc_amf output.mp4
      
      Also see the `sr` filter[2].

      [1]: https://trac.ffmpeg.org/wiki/Hardware/AMF#a5.3SuperResolutio...

      [2]: https://ffmpeg.org/ffmpeg-filters.html#asr

      Replies (1)
      1. Seems like FSR could run realtime on a TV or media player. Would be cool to see VLC use it for upscaling. Maybe they already do.
    12. Nvidia VSR can be ran offline with cli tools if you have a nvidia GPU. This will be fast (faster than realtime possibly be a lot, that's what its designed for) but probably won't be the best quality you can get.

      Others have mentioned the other options which will be (much) slower: FlashVSR (free) SeedVR2 (free) Topaz (paid)

      Although speed will depend on input and output resolution and your hardware.