Printvideo.com
justine.lol
justine.lol
```
error: Uncaught SIGSEGV on <omitted-name-of-machine> ./printvideo.com E?/err=2/errno:2/GetLastError:0 Linux <omitted-name-of-machine> 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021
7fffea2de458 00000042cb19 UNKNOWN 7fffea2df360 000000401722 UNKNOWN 7fffea2df3a0 000000402fec UNKNOWN 7fffea2df3b0 00000040116a UNKNOWN
RAX 0000000000000000 RBX 0000000000000000 RDI 0000000000000000 ST(0) 0.000000 RCX 0000000000000000 RDX 00007fffea2df230 RSI 000000000046b8c0 ST(1) 0.000000 RBP 00007fffea2df360 RSP 00007fffea2df348 RIP 000000000042cb19 ST(2) 0.000000 R8 00007fffea2e0f49 R9 0000000000000004 R10 0000000000000000 ST(3) 0.000000 R11 0000000000000293 R12 00007fffea2df3c8 R13 0000000000000003 ST(4) 0.000000 R14 00007fffea2df3e8 R15 00007fffea2df578 VF PF ZF IF
XMM0 ffffffffffffffffffffffffffffffff XMM8 00000000000000000000000000000000 XMM1 00000000000000000000000000000000 XMM9 00000000000000000000000000000000 XMM2 00000000000000000000000000000000 XMM10 00000000000000000000000000000000 XMM3 ffffffffffffffffffffff0000000000 XMM11 00000000000000000000000000000000 XMM4 00000000000000000000000000000000 XMM12 00000000000000000000000000000000 XMM5 00000000000000000000000000000000 XMM13 00000000000000000000000000000000 XMM6 00000000000000000000000000000000 XMM14 00000000000000000000000000000000 XMM7 00000000000000000000000000000000 XMM15 00000000000000000000000000000000
./printvideo.com -ts /home/vincent/Downloads/crabrave.mpg ```
https://en.wikipedia.org/wiki/AAlib
https://www.google.com/search?channel=fs&client=ubuntu&q=ffm...
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.
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 [2] https://en.wikipedia.org/wiki/Cinepak [3] https://web.archive.org/web/19981202202315/http://product.in...
(See actually portable Executable and ...dip! I can't keep up, what was the other recent one?)
Edit: I found it : https://news.ycombinator.com/item?id=26271117 - Red bean Single file webserver
Edit: oh, so looking at strace, right before it crashes, the program is looking for sox, which it apparently needs to play audio. Installing sox makes the segfault goes away.
Would be an improvement over AAlib or libcaca text output modes. Instead, it'll still just sit quietly neglected and bit-rotting in its forgotten corner of the web.
A low resolution text stream gzipped may turn out to be smaller I think.