r42 video demo

All aspects of programming on the Commander X16.
Post Reply
Ed Minchau
Posts: 508
Joined: Sat Jul 11, 2020 3:30 pm

r42 video demo

Post by Ed Minchau »

Here's a video demo, with 12970Hz mono sound, ten frames per second, with 160x32 images stretched to 640x273 pixels (horizontal scale $20, vertical scale $0F, layer 0 vertical offset low byte $04):

download/file.php?id=1273

Try It Now!

I know that works on the web emulator, but I wanted to see how the web emulator handled even more data, so I doubled the image horizontal resolution to 320x32 (Hscale $40). Not sure if this will work. I know it won't work well on a Windows emulator, but if it works on the web emulator then it will probably work on a Linux emulator too.
INDY2.zip
(9.96 MiB) Downloaded 152 times
Try It Now!

update: OK, the 320x32 video does work on the web emulator, but the sound is not optimal, little clicks reminiscent of the old reel-to-reel projectors. I suppose I could tweak the vertical scale to get better video quality than the 160x32 source, say 160x48, but it looks like I've reached the limits of the X16 here.

The audio is divided up into 2594 byte (1/10 of a second) clips. On the first video the images are 5kb per frame, on the second they're 10kb per frame. So, the first video is streaming about 75kb/second, and the second about 125kb/second. The sweet spot is probably that 160x48 source, streaming 100kb/second.
yock1960
Posts: 136
Joined: Tue Nov 16, 2021 8:42 pm

Re: r42 video demo

Post by yock1960 »

Wow! :shock:
Post Reply