I've wasted so much time trying to get "good" video playback on the CX16, not complaining it's been "fun"
the main issue is streaming bandwidth from the "sd-card", which is closest to real hard ware that I don't have yet
So I use the Unity Engine to process video and create the ".XAV" files
I use a compute shader to modify each frame, calculate optimal palette, diffusion and dither
*I'll just say some kind of bit plane mode would be awesome...guess too late in design for vera that would allow 32, 64, 128 colors
So this a 16 color video, each frame with a new palette calculated
Future improvements:
*palette per scene to reduce color "flashes"
*optimize decompressing
.
.
Please try again if you viewed the old version, Updated 12/5/2023 with Palette Optimization
.
Try It Now!
.
.
.
Video Playback Tests
Forum rules
This section is for testing Commander X16 programs and programs related to the CX16 for other platforms (compilers, data conversion tools, etc.)
Feel free to post works in progress, test builds, prototypes, and tech demos.
Finished works go in the Downloads category. Don't forget to add a hashtag (#) and the version number your program was meant to run on. (ie: #R41).
This section is for testing Commander X16 programs and programs related to the CX16 for other platforms (compilers, data conversion tools, etc.)
Feel free to post works in progress, test builds, prototypes, and tech demos.
Finished works go in the Downloads category. Don't forget to add a hashtag (#) and the version number your program was meant to run on. (ie: #R41).
Video Playback Tests
- Attachments
-
- DEADPOOL.zip
- (7.17 MiB) Downloaded 523 times
Last edited by badmai on Tue Dec 05, 2023 1:27 pm, edited 1 time in total.
Re: Video Playback Tests
Really impressive ! I'll try on real hardware and report back.
Re: Video Playback Tests
Works very well on real hardware . Well done!
- ahenry3068
- Posts: 1135
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Video Playback Tests
Pretty impressive work. I have an idea that would probably make it look even more impressive. Rather than trying to encode full color video, pick a cartoon. Something like Tom & Jerry, The Flintstones, Maybe Wizard's or Cool World if you want something more "Adult". The resulting video will look much better because there are less colors to lose ....
Also what frame rate are you shooting for. 30 ? With a cartoon you could probably drop as low as 15 or 20 fps and it will still look good.
At 15 fps you could probably do full screen.
Also what frame rate are you shooting for. 30 ? With a cartoon you could probably drop as low as 15 or 20 fps and it will still look good.
At 15 fps you could probably do full screen.
- ahenry3068
- Posts: 1135
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Video Playback Tests
Also on the Cartoon Idea. The copyright on "Steamboat Willy" is about to expire soon.
Re: Video Playback Tests
I doubt Disney's gonna let that happen.ahenry3068 wrote: ↑Thu Nov 30, 2023 12:10 pm The copyright on "Steamboat Willy" is about to expire soon.
- ahenry3068
- Posts: 1135
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Video Playback Tests
Right now it's actually looking like a done deal... Disney will still have Trademark on Mickey Mouse of course, but the depiction in Steamboat Willie will be Public Domain. (It isn't yet)mortarm wrote: ↑Thu Nov 30, 2023 3:29 pmI doubt Disney's gonna let that happen.ahenry3068 wrote: ↑Thu Nov 30, 2023 12:10 pm The copyright on "Steamboat Willy" is about to expire soon.
Last edited by ahenry3068 on Fri Dec 01, 2023 1:54 am, edited 1 time in total.
Re: Video Playback Tests
I really didn't spend much time on this, quick conversion
Try It Now!
I can get really good 256 color videos, just not on real hardware. whats the point if it can't run on hardware.
I do get what you mean for "cartoons", in fact my Dragons Lair port would be a good candidate.
edit: Just for fun, I may try this in 1 bit, I could 4x the resolution
Try It Now!
I can get really good 256 color videos, just not on real hardware. whats the point if it can't run on hardware.
I do get what you mean for "cartoons", in fact my Dragons Lair port would be a good candidate.
edit: Just for fun, I may try this in 1 bit, I could 4x the resolution
- Attachments
-
- SBW.zip
- (18.5 MiB) Downloaded 550 times
- ahenry3068
- Posts: 1135
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Video Playback Tests
If you do 1 bit. Do nearest color, no dithering. I think it will look better.. Bravo.badmai wrote: ↑Thu Nov 30, 2023 11:52 pm I really didn't spend much time on this, quick conversion
I can get really good 256 color videos, just not on real hardware. whats the point if it can't run on hardware.
I do get what you mean for "cartoons", in fact my Dragons Lair port would be a good candidate.
edit: Just for fun, I may try this in 1 bit, I could 4x the resolution
( I think you should try that in 4 bit mode as well, at least for cartoons)
P.S. Dragon's Lair is cool, But I was really hoping for something from Wizards . "They killed Fritz, They killed Fritz "
Last edited by ahenry3068 on Fri Dec 01, 2023 1:05 pm, edited 5 times in total.
Re: Video Playback Tests
Do these output on Composite if enabled? I think it's a 1-bit change somewhere to ensure that can happen.
(really great conversions! ty for sharing those)
(really great conversions! ty for sharing those)