2 pointsby razvan237 hours ago1 comment
  • smalltorch7 hours ago
    This is Cinema.

    what's involved in transcoding a video to this custom codec?

    • razvan237 hours ago
      There isn't actually any custom video transcoding or preprocessing involved at all! It plays standard format videos (like stock .mp4, .mkv, or .webm) natively, completely on the fly. It spins up a background thread using libmpv which decodes the standard video file and hands me raw RGB frames in memory. The custom engine then takes those frames and heavily downsamples them using a Box Filter. Then it maps each 2x4 "pixel" block into its exact corresponding UTF-8 Braille character representation.
      • smalltorch5 hours ago
        Very cool. What does the example in your repo look like regularly? Would give a good representation as a side by side.

        On average, How much data per second would the stream be?