VDPENC

Page 3/13
1 | 2 | | 4 | 5 | 6 | 7 | 8

Par ARTRAG

Enlighted (6862)

Portrait de ARTRAG

14-05-2007, 13:33

Actually I find that standard VQ and dithering on the resulting tiles ROCKS!!!
It looks much better than simple sr2 conversion even when you include this step in the kmeans!!

RAFAEL JANNONE thanks !!
Your converter (and your implementation of Floid algorithm for scr2) is great!!!

TRY and see !!
http://ragozini.googlepages.com/vdpenc2

I think that this is very close to the best MSX1 can do about video encoding...
*_*

Par jltursan

Prophet (2619)

Portrait de jltursan

14-05-2007, 14:38

Looks really great indeed!. Is there a way to get plain white on the tiles surrounding the crab?, it's a bit strange to see the dithering being all white tiles...

Par ARTRAG

Enlighted (6862)

Portrait de ARTRAG

14-05-2007, 14:46

Yes, but the problem is that the dithering is applied to the tiles when they are stored as a whole image
so errors can propagate across tile boundaries.

I used jannones tool as it is.

Doing a development ad hoc, (e.g. extracting the core of the jannone's converter, with its permission -naturally)
I could do the dithering within each tile, this could reduce the kind of errors you spotted and improve the general
level of noise due to Floyd.

Par ARTRAG

Enlighted (6862)

Portrait de ARTRAG

14-05-2007, 17:03

Par Manuel

Ascended (18953)

Portrait de Manuel

14-05-2007, 22:42

It is indeed a very impressive result. Are you sure it's only using MSX1 colours???

Par ARTRAG

Enlighted (6862)

Portrait de ARTRAG

14-05-2007, 23:05

Yes
Wink

ah, I've forgot! Now on line, there is also a small MSX player to show the animation in your own MSX.
So you can test yourself that it is all true, non only simulated in matlab.
Enjoy!

http://ragozini.googlepages.com/msx.zip

Par ARTRAG

Enlighted (6862)

Portrait de ARTRAG

15-05-2007, 00:12

The "miracle" is that in 9K uncompressed we store 12 frames of full screen animation
(actually we can go much better using differential encoding across frames)

Par Manuel

Ascended (18953)

Portrait de Manuel

15-05-2007, 10:36

Cool! Now create a real movie Smile
What is the maximum framerate of the replayer?

Par ARTRAG

Enlighted (6862)

Portrait de ARTRAG

15-05-2007, 11:02

The replayer can go at 50fps without any problem
each frame, uncompressed, is only 768bytes, so it can be
displayed by the z80 in far less than a Vblank.
Naturally, @50fps the video takes a lot of ram unless I do not add vidio encoding.
As the z80 has a lot of spare time, this issue is on the to do list.

To make clear the features of my solution :
1) it needs only one tileset for many frames (it's a trade off: the more frames you encode with the same tileset, the worst it goes)
2) the tilesets are encoded in screen 2 (MSX1)
2) each frame is composed by the sole PNT (uncopressed it takes only 768 bytes!)
3) you can update the whole PNT in far less than one Vblank, thus:
3a) the z80, at 10 fps, has plenty of spare time for other things -e.g. video decompression, PCM audio, what you like
3b) you do not need double buffering

On the to do list ther is video compression:
in particular I could
1) store only differences between successive frames,
2) use pletter like compression schemes on the resulting differences.

The z80 has plenty of spare time (the sole real task is to move 768 bytes to VRAM),
so it is easy apply compression!!! and a do a lot more!!

Big smile

Par ARTRAG

Enlighted (6862)

Portrait de ARTRAG

15-05-2007, 11:49

Try this video also:

http://ragozini.googlepages.com/francesco.rar

It is my baby (5 months old)

PS
Quality could improve if I reduce the area of the image
(more tiles become free for encoding differences across frames)

Page 3/13
1 | 2 | | 4 | 5 | 6 | 7 | 8