Author Topic: Four Level Grayscale Video  (Read 28940 times)

0 Members and 1 Guest are viewing this topic.

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Four Level Grayscale Video
« Reply #61 on: February 01, 2011, 03:13:21 pm »
This is too epic ;D

Now I wonder if monochrome videos combined with sound would be doable on a 15 MHz calc?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Four Level Grayscale Video
« Reply #62 on: February 01, 2011, 03:15:33 pm »
This is too epic ;D

Now I wonder if monochrome videos combined with sound would be doable on a 15 MHz calc?
And if it's possible, would compression be too hard? I have a feeling that video+audio files will be very large...

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: Four Level Grayscale Video
« Reply #63 on: February 01, 2011, 03:23:51 pm »
It just happened. The first ever true calculator Rick Roll.



Description:
Quote
Using my new program for the 84+, FourVid, I am able to play 4 level grayscale videos on the calculator. Then by combining that with my other program, TruSound, I am able to play videos sync'd with sound!

Obviously this is on an 84+SE. Both the sound and video files are 1.3MB in size, which means that I had to clear the memory on both of them before I started.

Here are the files needed to play it. Just note that the sound file is clocked for wabbitEmu (15MHz) so it will run too fast on a real calculator (16MHz).

Also, if you have sent any of my videos to your real calc. You may have noticed that you are missing some memory. This is because some of the app pages started with $FF and the calculator won't delete them. So the only way to get the memory back is to back up everything on your computer and then clear All Mem. This RickRoll video also suffers from the same problem. Sorry about that. I'll fix that soon.

Haha, the files are too big for this post. Video, player, song.



It work perfectly on wabbitemu, I didn't know a sound like this can be listen on 84+.
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Four Level Grayscale Video
« Reply #64 on: February 01, 2011, 03:24:08 pm »
Compression is almost certainly impossible. I could actually almost see this being easy as a matter of fact. Just interlace the video and sound byte for byte and during the time that was previously used to decompress, write a byte to the screen.

Using this strategy, the video would be forced to run at 27 fps and the filesize would be 44KB/s (0.91DCS/s). Meaning 34 seconds of video. But it's possible.

Clearly no grayscale though. Sound requires uninterrupted CPU time and grayscale requires interrupts.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Four Level Grayscale Video
« Reply #65 on: February 01, 2011, 03:26:23 pm »
I see. It wouldn't be possible to make the video run at lower FPS?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Four Level Grayscale Video
« Reply #66 on: February 01, 2011, 03:31:56 pm »
Well, maybe. The video and audio have to be interlaced in some easy fraction. So assuming 23000 bytes per second on audio and 800 bytes per screen (768 + driver commands) 1/2 would be 14.5 fps. Which I guess is perfect. That was easy.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Four Level Grayscale Video
« Reply #67 on: February 01, 2011, 03:33:33 pm »
Well what I mean is couldn't the same video data be re-used every 2 frame? Or is that what you mean? 14.5 fps seems reasonable too because on-calc high FPS is blurry anyway.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Four Level Grayscale Video
« Reply #68 on: February 01, 2011, 03:38:14 pm »
Yes, that is exactly what I mean. So instead of video sound video sound video sound. It's video sound sound video sound sound.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Four Level Grayscale Video
« Reply #69 on: February 01, 2011, 03:40:32 pm »
Wow O.O I think my brains just exploded out of my ears

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Four Level Grayscale Video
« Reply #70 on: February 01, 2011, 03:44:47 pm »
It just happened. The first ever true calculator Rick Roll.

Second. You were beaten by apcalc :D

But either way, the graphics are absolutely incredible! And is that the full song?
* Deep Thought lost the Game in joy

EDIT: HOLY CRAP IT HAS SOUND! :crazy:
« Last Edit: February 01, 2011, 03:58:41 pm by Deep Thought »




Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Four Level Grayscale Video
« Reply #71 on: February 01, 2011, 03:50:08 pm »
It just happened. The first ever true calculator Rick Roll.

Second. You were beaten by apcalc :D
But what about this?


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Four Level Grayscale Video
« Reply #72 on: February 01, 2011, 03:54:27 pm »
That was fake :P
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Four Level Grayscale Video
« Reply #73 on: February 01, 2011, 03:59:45 pm »
It's still funny.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Four Level Grayscale Video
« Reply #74 on: February 01, 2011, 04:32:09 pm »
That's incredibly.  I'm amazed.  Again.  Wow.  O.O