Orix playing a video on real hardware

Want to discuss about Demos on the Oric, here you are !
jede
Flying Officer
Posts: 191
Joined: Tue Mar 14, 2006 11:53 am
Location: France

Orix playing a video on real hardware

Post by jede »

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
User avatar
Dbug
Site Admin
Posts: 4437
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Orix playing a video on real hardware

Post by Dbug »

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?
jede
Flying Officer
Posts: 191
Joined: Tue Mar 14, 2006 11:53 am
Location: France

Re: Orix playing a video on real hardware

Post by jede »

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
Last edited by jede on Tue Jul 04, 2017 8:11 pm, edited 1 time in total.
User avatar
iss
Wing Commander
Posts: 1637
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Orix playing a video on real hardware

Post by iss »

Cool animation! Take look here or here how Apple][ performs the ‘Star Wars: The Last Jedi’ trailer.
I wish to have it for Oric/Orix too ;).
User avatar
ibisum
Wing Commander
Posts: 1643
Joined: Fri Apr 03, 2009 8:56 am
Location: Vienna, Austria
Contact:

Re: Orix playing a video on real hardware

Post by ibisum »

Cool! I'm seeing a way that "Dragons Lair" could be ported to the Oric .. ;)
jede
Flying Officer
Posts: 191
Joined: Tue Mar 14, 2006 11:53 am
Location: France

Re: Orix playing a video on real hardware

Post by jede »

iss wrote: Sat Jul 01, 2017 11:37 am Cool animation! Take look here or here how Apple][ performs the ‘Star Wars: The Last Jedi’ trailer.
I wish to have it for Oric/Orix too ;).
I tried this video, but it's too dark to have a good result.
jede
Flying Officer
Posts: 191
Joined: Tue Mar 14, 2006 11:53 am
Location: France

Re: Orix playing a video on real hardware

Post by jede »

User avatar
iss
Wing Commander
Posts: 1637
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Orix playing a video on real hardware

Post by iss »

... cinema gugu ... WALL·E ! :D
User avatar
Steve M
Squad Leader
Posts: 787
Joined: Fri Mar 24, 2006 3:33 am
Location: Cumbria, UK
Contact:

Re: Orix playing a video on real hardware

Post by Steve M »

Nice work , Jede.
User avatar
Symoon
Archivist
Posts: 2301
Joined: Sat Jan 14, 2006 12:44 am
Location: Paris, France

Re: Orix playing a video on real hardware

Post by Symoon »

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.
User avatar
ibisum
Wing Commander
Posts: 1643
Joined: Fri Apr 03, 2009 8:56 am
Location: Vienna, Austria
Contact:

Re: Orix playing a video on real hardware

Post by ibisum »

Drag-ons Lair! Dra-gons Lair! Dragons Lair!
sam
Officer Cadet
Posts: 57
Joined: Sun Jul 09, 2017 3:28 pm
Location: Brest (France)
Contact:

Re: Orix playing a video on real hardware

Post by sam »

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.
jede
Flying Officer
Posts: 191
Joined: Tue Mar 14, 2006 11:53 am
Location: France

Re: Orix playing a video on real hardware

Post by jede »

ibisum wrote: Sun Jul 09, 2017 10:51 am Drag-ons Lair! Dra-gons Lair! Dragons Lair!
It could be done, but it requires more work than i did for theses videos :)
jede
Flying Officer
Posts: 191
Joined: Tue Mar 14, 2006 11:53 am
Location: France

Re: Orix playing a video on real hardware

Post by jede »

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.
Hello (I am french, but i'll speak in english :),

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 :)
Post Reply