Live data from Hacker News

STV: A full-motion video codec for the Atari ST

medium.com

1–10 of 15 posts

Re: STV: A full-motion video codec for the Atari ST

#2
> Each 8×8 block is turned into a short DCT (Discrete Cosine Transform) feature vector; distance is measured there instead of raw pixels.

Was this your idea or the agent's? Because it feels peculiar to essentially describe JPEG, modulo the entropy coding, without mentioning its name. It was released in 1992 -- before C+C. Which makes me wonder why Westwood didn't just use JPEG too...

Fun fact, DCT's inventor: https://en.wikipedia.org/wiki/Nasir_Ahmed_(engineer)

Re: STV: A full-motion video codec for the Atari ST

#3
Once you see the tile map of this in action, you realize how genius and simple this idea is. You can only update 32 tiles a frame but it can preload tiles in advance of them being displayed provided there is low enough motion and spare space to allocate.

Would love to see something like this ported to similar systems such as Amiga, Mega Drive and Neo Geo. All 68K, all tile based.

Also seeing that gameplay at the end, absolutely wonderful. Would not have figured it was even remotely possible on a system like that, but there it is.

Re: STV: A full-motion video codec for the Atari ST

#4
post #2

> Each 8×8 block is turned into a short DCT (Discrete Cosine Transform) feature vector; distance is measured there instead of raw pixels. Was this your idea or the agent's? Because it feels peculiar to essentially describe JPEG, modulo the entropy coding, without mentioning its name. It was released in 1992 -- before C+C. Which makes me wonder why Westwood didn't just use JPEG too... Fun fact, DCT's inventor: https:/…

Almost every lossy image and video codec uses DCT as well, not just JPEG.

Re: STV: A full-motion video codec for the Atari ST

#5
post #4
post #2

> Each 8×8 block is turned into a short DCT (Discrete Cosine Transform) feature vector; distance is measured there instead of raw pixels. Was this your idea or the agent's? Because it feels peculiar to essentially describe JPEG, modulo the entropy coding, without mentioning its name. It was released in 1992 -- before C+C. Which makes me wonder why Westwood didn't just use JPEG too... Fun fact, DCT's inventor: https:/…

Almost every lossy image and video codec uses DCT as well, not just JPEG.

Which ones came before JPEG?

Re: STV: A full-motion video codec for the Atari ST

#8
There's a FMV player for the 8-bit Sega Master System ( https://github.com/bravesoftdz/tiler ,) which compresses to a fixed number of dynamically updated tiles. The codec in TFA and Tiler seem very similar, with Tiler also taking advantage of the SMS's ability to flip tiles horizontally or vertically.

A higher spec version of Tiler is available as TileMotion, which has a JavaScript demo decoding 1080p video in software here: https://gligli.github.io/tilemotion/demo/

Re: STV: A full-motion video codec for the Atari ST

#9
I'm sure the effort is good, but the article is not. It reads like breathless corporate crap. It also doesn't have any video of this FMV, though what I see in the HTML source is an attempt to use a third-party site to embed youtube videos, which does nothing on Firefox.

Doesn't work:

    
Let's go to the Youtube video it's meant to show: https://www.youtube.com/watch?v=PhOa3KCE_nM

Now let's put Youtube's direct embed code in there:

    
Now it works just fine.

Re: STV: A full-motion video codec for the Atari ST

#10
In case anyone wondering what the "famous" MOVEP instruction does, this:

    MOVE.L  #$AABBCCDD,D0
    MOVEP.L D0,(A0)
Writes to the 8 bytes pointed at by A0 in this format:

    AA xx BB xx CC xx DD xx
Where xx are bytes left as they are.

Something like this:

    MOVE.L  #$AABBCCDD,D0
    MOVE.L  #$11223344,D1
    MOVEP.L D0,(A0)
    MOVEP.L D1,1(A0)
Gives you this at the address pointed to by A0:

    AA 11 BB 22 CC 33 DD 44
Post reply on HN