Orix playing a video on real hardware
Orix playing a video on real hardware
Here is a small demo of a video running on Oric
Length of the video : 10MB
in white and black
https://www.youtube.com/watch?v=GirDjB0Bjos
with colors :
https://www.youtube.com/watch?v=XfCOGRyAFJI
Length of the video : 10MB
in white and black
https://www.youtube.com/watch?v=GirDjB0Bjos
with colors :
https://www.youtube.com/watch?v=XfCOGRyAFJI
Re: Orix playing a video on real hardware
Nice
From what I see, it seems you converted each frame individually using libpipi algorithm?
Are they compressed, or is that full 8KB hires pictures for each frame loaded in realtime?
From what I see, it seems you converted each frame individually using libpipi algorithm?
Are they compressed, or is that full 8KB hires pictures for each frame loaded in realtime?
Re: Orix playing a video on real hardware
I used Pictconv with -f0 flag to generate video color.
It's not crunched, it should be more smooth in text mode (less bytes to display). Each frame is loaded from usbkey to hires screen.
This video could be improved a lot.
Source code : https://github.com/jedeoric/presto
It's not crunched, it should be more smooth in text mode (less bytes to display). Each frame is loaded from usbkey to hires screen.
This video could be improved a lot.
Source code : https://github.com/jedeoric/presto
Last edited by jede on Tue Jul 04, 2017 8:11 pm, edited 1 time in total.
- ibisum
- Wing Commander
- Posts: 1646
- Joined: Fri Apr 03, 2009 8:56 am
- Location: Vienna, Austria
- Contact:
Re: Orix playing a video on real hardware
Cool! I'm seeing a way that "Dragons Lair" could be ported to the Oric ..
Re: Orix playing a video on real hardware
I tried this video, but it's too dark to have a good result.
Re: Orix playing a video on real hardware
... cinema gugu ... WALL·E !
Re: Orix playing a video on real hardware
Nice work , Jede.
Re: Orix playing a video on real hardware
That's great because it means one can do a game based on loads of pre-recorded animations or locations, designed on another computer if needed. For instance a kind of Dungeon Master.
- ibisum
- Wing Commander
- Posts: 1646
- Joined: Fri Apr 03, 2009 8:56 am
- Location: Vienna, Austria
- Contact:
Re: Orix playing a video on real hardware
Drag-ons Lair! Dra-gons Lair! Dragons Lair!
Re: Orix playing a video on real hardware
Hello!
This is sam speaking, coming from the Thomson galaxy.
I've come about this thread by accident and discovered what you attend to do on the Oric. This reminds me of what was done on the Thomson machines few years ago. Since the Thomsons and the Orics almost share the same gfx capabilities, I think you might be interrested by the compression/encoding technique as well as the way to to get read of error diffusion (bad for flickering and compression) or efficiently render colors while still keeping the same frame-rate.
A sample of what can be done on plain TO7 is available in this message (in French, but I think this doesn't matter to view the result) and can also be tested under Windows using self-contained/preconfigurted emulator available in the download link provided in that message. Actually the whole thread might be interresting to read as well since it started with a very low bandwidth & quality but both improved regularly other the time.
The full technical detail on "how is it working?" is explained there (still in French; sorry guys, you'll have to use google translate and search for the message starting with "Great question!".) Notice that the solution used to display color should ring a bell for some old Oric coder
It is also worth mentioning that in addition to the TO7, the poor Hector machine is also capable of playing a colored video (and later B&W with sound on a 1bit buzzer) so the Oric should definitely be able to get very very good results sooner or later since the current result is already quite good and doesn't use any of the tricks we devised to compress and achieve higher frame-rate or greater image quality.
This is sam speaking, coming from the Thomson galaxy.
I've come about this thread by accident and discovered what you attend to do on the Oric. This reminds me of what was done on the Thomson machines few years ago. Since the Thomsons and the Orics almost share the same gfx capabilities, I think you might be interrested by the compression/encoding technique as well as the way to to get read of error diffusion (bad for flickering and compression) or efficiently render colors while still keeping the same frame-rate.
A sample of what can be done on plain TO7 is available in this message (in French, but I think this doesn't matter to view the result) and can also be tested under Windows using self-contained/preconfigurted emulator available in the download link provided in that message. Actually the whole thread might be interresting to read as well since it started with a very low bandwidth & quality but both improved regularly other the time.
The full technical detail on "how is it working?" is explained there (still in French; sorry guys, you'll have to use google translate and search for the message starting with "Great question!".) Notice that the solution used to display color should ring a bell for some old Oric coder
It is also worth mentioning that in addition to the TO7, the poor Hector machine is also capable of playing a colored video (and later B&W with sound on a 1bit buzzer) so the Oric should definitely be able to get very very good results sooner or later since the current result is already quite good and doesn't use any of the tricks we devised to compress and achieve higher frame-rate or greater image quality.
Re: Orix playing a video on real hardware
It could be done, but it requires more work than i did for theses videos
Re: Orix playing a video on real hardware
Hello (I am french, but i'll speak in english ,sam wrote: ↑Mon Jul 10, 2017 2:12 pm A sample of what can be done on plain TO7 is available in this message (in French, but I think this doesn't matter to view the result) and can also be tested under Windows using self-contained/preconfigurted emulator available in the download link provided in that message. Actually the whole thread might be interresting to read as well since it started with a very low bandwidth & quality but both improved regularly other the time.
This video was only done to show what we can do with the SDCARD interface : http://orix.oric.org/doku.php
This video is a proof of concept. It was done only to show how fast the interface is. It can load at least 46 KB per second, I could wrote some faster routines, but i don't think that the result will be more impressive (if i keep this method).
There is a lot of ways to display a video (at least on the Oric) : https://www.oric.org/software/invtro_as ... -1483.html
Twilighte did a kind of video (a part of a demo in 2003 : never released), and i did also an example in 2003 (never released too) but in text mode (with all the charset modifyed on the fly).
For the video displayed above, each frame (6 KB in raw format) is loaded from sdcard to the hires screen. There is no cruncher. But this video shows the maximum bandwidth allowed with a mass storage : 6502 is the limit, it's not the storage (for example, on CPC, with the same chip at the same frequency, they can load 128 KB per second, but Z80 is also the limit, it's not the sdcard chip).
Of course, i could do better, there is a lot of way to have more frames. But this player is 10 lines of assembly (it calls FOPEN, FREAD Routines from OS). This video is only 30 minutes of my free time
Anyway, i have not enough to time to improve this video (as i usually said, i am doing this hardware, Emulation of this hardware, OS, primitives for this OS etc and others new stuffs .
But if someone wants to try it, let me know