Author Topic: Movies  (Read 317 times)

hcf

  • Jr. Member
  • **
  • Posts: 93
Movies
« on: April 30, 2010, 02:17:24 AM »
I have been wondering a thing. I have seen a bunch of PCE games that have videos: Sherlock Holmes, Sherlock Holmes II... (maybe "It came from the desert" too?). I have read some documents related to PCE development, but I have not found information about this.

I have tried to make a video only with sprites. Although the result is surprisingly decent, it's clear that this is not the correct way: in order to show video with sprites, I must be reading from CD almost all the time... and this makes impossible to play an audio track at the same time. So, unless I use the ADPCM buffer, I cannot play audio at the same time (Arkhan, don't be angry: I am talking about playing voices, not about MML music which of course CAN be played, hehehe).

Maybe the PCE has an special hardware to play videos? Anyone has worked with it?

If anyone wants to test my method of "making video with sprites", I will give an advice: it is important that the frames that we read from CD are the frames that we are NOT using at the moment. This is important to avoid flicker effects...  :)

touko

  • Hero Member
  • *****
  • Posts: 953
Re: Movies
« Reply #1 on: April 30, 2010, 02:44:50 AM »
You cannot loading adpcm datas and reading CDA in same time ..

You must buffering datas first, and play CDA after.

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: Movies
« Reply #2 on: April 30, 2010, 11:27:43 AM »
videos are done with direct VRAM tile updating, I think.    You can do direct tile updates to make animated tiles, so videos are likely done in a similar manner.


If you load up a video and turn off the background layer, the movie goes away too :D

[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

nodtveidt

  • Guest
Re: Movies
« Reply #3 on: April 30, 2010, 11:55:52 AM »
You cannot loading adpcm datas and reading CDA in same time ..

You must buffering datas first, and play CDA after.
That's not what he said though. It is possible, however, to stream both graphic data and adpcm data from the disc "at the same time", even though it's actually streaming one chunk of graphic data and then one chunk of audio data. This is how HuVideo works.