4 ms·
> PRINTVIDEO.COM should also go fast enough to render 4K video on an old ThinkPad without needing APIs or GPUs, since experience has led me to believe... Come
by ReactiveJelly 6y ago
> PRINTVIDEO.COM should also go fast enough to render 4K video on an old ThinkPad without needing APIs or GPUs, since experience has led me to believe...
Come on, Justine. It's fast enough to render that because you're using MPEG-1 (Older codecs take less CPU per unit of video, at the price of worse compression ratios) and because you're rendering to a postage stamp of a target. You can probably just skip most of the DCT and do the rendering off of 8x8 blocks. (IIRC MPEG-1 is very similar to JPEG, but moving)
> One of the properties of GNU/Linux code is it tends to approach read-only on a long enough timeline, in the absence of continual maintenance. That partly explains why we can't compile old GCC, or what may have frightened off John Carmack when he tried to share Quake with the Linux community.
I always appreciate a random potshot at the free software movement and one of the most popular kernels for dev-facing CPUs.
> In fact, it actually takes less CPU to decode + convolve + render high definition video than it does for OpenSSH and Zlib to copy the finished text to ethernet, possibly due to
to the fact that MPEG-1 is, again, a codec made for such 30-year-old CPUs.
- jart 6y agoAuthor here. This a toy program demo. MPEG-1 is the only one that's legally unencumbered by patents if I understand correctly. I'm sorry you didn't like it! You might like the other demos.
- robin_reala 6y agoMPEG-2 is also patent-free as of a few years ago.
- CharlesW 6y ago> …MPEG-1 is, again, a codec made for such 30-year-old CPUs. I'm picking a nit here, but for anyone interested in the history: MPEG-1 software decoders could not do realtime, full-framerate decoding on the most powerful workstations available in 1991.[1] (This is one reason Cinepak[2] was so monumentally important.) I believe realtime, full-framerate MPEG-1 software decoding became possible on high-end PCs around 1995. Apple introduced their software decoder in 1997[3], after having introduced their hardware decoder in 1995. [1] http://www.cs.unc.edu/~kmp/publications/mm93/MM93-paper.pdf http://www.cs.unc.edu/~kmp/publications/mm93/MM93-paper.pdf [2] https://en.wikipedia.org/wiki/Cinepak https://en.wikipedia.org/wiki/Cinepak [3] https://web.archive.org/web/19981202202315/http://product.info.apple.com/pr/press.releases/1997/q2/970124.pr.rel.quicktime.html https://web.archive.org/web/19981202202315/http://product.in...