Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 22:05:54 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2 3 ... 9   Go Down
  Print  
Author Topic: Four Level Grayscale Video -  (Read 7330 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 03:20:50
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Topic starter
Total Post Ratings: +778

View Profile
« on: 29 January, 2011, 06:46:25 »
+8

Yes, that title means exactly what you think it does. I can play 4 level grayscale videos. The videos run at 15 fps and are 12*64*2 = 1,536 bytes a frame. But through some RLE (compressing 00's and FF's) I managed to get compression ratios of about 30% meaning that overall, these videos run at about 16KB/s.

As far as the converting, it is very ugly. First I send a video through SUPER and it spits it out as a series of .jpg's. Then I use a GIMP extension to convert those to .bmp's. Then my converter looks at each picture, decides which colors go where, and spits out a binary which goes through To8xk and Wabbitsign to become an app.

To decide what color to use where, I tried two different strategies. The first was to tally up all the brightnesses of every pixel in the whole video then take the Q1, Mid, and Q3 as the cutoffs for each color. But this resulted in parts of the video that were mostly one color. So used the same technique to calculate the cutoffs each frame and that is what I use now. (But the old way is still possible with the flip of a bit.)

There'll be more videos to come. Even one sync'd with another calculator for sound (bet you can't guess what that is Wink). But for now, you just get to watch me do a Daffy off a jump while skiing.

Edit:
     It looks better in wabbitEmu, so here are the files. (I can't even imagine on a real calc 0.0

Edit2:
     I got too anxious and uploaded an uncompressed video and a decompressing player. Fixed now.


* fourVidDemo.gif (116.82 KB, 192x128 - viewed 508 times.)
* fourvid.8xp (0.42 KB - downloaded 69 times.)
* File z.8xk (160.26 KB - downloaded 76 times.)
« Last Edit: 29 January, 2011, 07:02:24 by thepenguin77 » Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
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
ztrumpet
The Rarely Active One
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 22 May, 2013, 03:10:30
Date Registered: 08 November, 2009, 21:10:12
Location: Michigan
Posts: 5687


Total Post Ratings: +360

View Profile
« Reply #1 on: 29 January, 2011, 06:51:47 »
0

THAT'S AWESOME! (pardon my caps)

Wow. shocked  Wonderful job.  How much video can we fit on the calc at once?
Also, nice jump. Grin
Logged

thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 03:20:50
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Topic starter
Total Post Ratings: +778

View Profile
« Reply #2 on: 29 January, 2011, 06:56:17 »
0

It obviously depends on the video. But if you get around 30% compression, around 90 seconds. Meaning that it holds more video than sound.

I forgot to mention in the first post, don't garbage collect with this on your calculator. Some of the pages start with FF and the app will surely get corrupted.
Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
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
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 08:17:37
Date Registered: 15 August, 2010, 09:18:54
Posts: 3190


Total Post Ratings: +220

View Profile
« Reply #3 on: 29 January, 2011, 06:56:49 »
0

How does it work? Wabbitemu won't run it for me  Cry
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 03:20:50
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Topic starter
Total Post Ratings: +778

View Profile
« Reply #4 on: 29 January, 2011, 06:57:41 »
0

Send the app and the program and run the program. That's so it's easier to modify while working on it.
Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
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
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 08:17:37
Date Registered: 15 August, 2010, 09:18:54
Posts: 3190


Total Post Ratings: +220

View Profile
« Reply #5 on: 29 January, 2011, 06:59:27 »
0

Well, there goes Wabbit...
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 03:20:50
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Topic starter
Total Post Ratings: +778

View Profile
« Reply #6 on: 29 January, 2011, 07:03:01 »
0

I got too anxious. Read the Edit2 on the first post. That will probably fix your problems.
Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
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
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 19:10:11
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50232


Total Post Ratings: +2615

View Profile WWW
« Reply #7 on: 29 January, 2011, 10:15:47 »
0

That's awesome! I wonder if this could be streamed from MSD8x...
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Xeda112358
Xombie. I am it.
Coder Of Tomorrow
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Last Login: Yesterday at 22:01:23
Date Registered: 31 October, 2010, 08:46:36
Location: Land of Little Cubes and Tea, NY
Posts: 3760


Total Post Ratings: +610

View Profile
« Reply #8 on: 29 January, 2011, 10:24:26 »
0

Wow, now that is a cool idea!
Logged



Grammer Download (2.29.04.12)
Latest update (possibly incomplete)
My pastebin
Spoiler for FileSyst:
FileSyst is an application that provides a folder and filesystem for the TI-83+/84+ calculators. It is designed to be easy to access and use in BASIC, and it can be used to access game files and save data, or to create a command prompt, among other things:

Spoiler for Graphiti:
This is a graph explorer for graph theory. It will require lots of work to finish. Currently you can:
Add/delete vertices
Add edges (direction not shown, but they are directed)
Arrange vertices in a circle (in the future, you will be able to define levels of rings and the number of nodes in each)
Create complete graphs quickly

Plans:
Add adjacency matrix viewer
Deleting edges
Multiple graphs support
Arrows for directed graphs
Planarity testing
Matrix operations
Weighted edges
Chromatic polynomials
Chromatic numbers

Spoiler for Stats:

Samocal             [o---------]
Virtual Processor   [o---------]
EnG                 [oo--------]
Grammer             [ooo-------]
AsmComp             [ooo-------]
Partex              [oooo------]
BatLib              [oooooooo--]
Grammer82           [----------]
Grammer68000        [----------]


Pseudonyms:  Zeda, Xeda, Thunderbolt
Languages:   English, français
Programming: z80 Assmebly
             Grammer
             TI-BASIC (83/84/+/SE, 89/89t/92)
Known For:   -Creator of the Grammer programming language
              (Winning program of zContest2011)
             -BatLib- One of the most feature packed libraries for BASIC programmers available
              with over 100 functions and a simple programming language
             -Learning to program z80 in hexadecimal before using an assembler (no computer was
              available!)
╔═╦╗░╠═╬╣▒║ ║║▓╚═╩╝█


z80man
Casio Traitor
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 04 September, 2012, 19:42:33
Date Registered: 26 December, 2010, 10:02:50
Location: City 17
Posts: 966


Total Post Ratings: +83

View Profile
« Reply #9 on: 29 January, 2011, 10:31:23 »
0

That's even more amazing than the first time I ran truegray.  shocked
Logged


List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)
kindermoumoute
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: Today at 17:48:08
Date Registered: 15 May, 2010, 17:53:56
Posts: 837


Total Post Ratings: +51

View Profile
« Reply #10 on: 29 January, 2011, 10:53:05 »
0

Amesome screenshoot !
(a video player on z80, soon ?)


I download the 2 files, and I got a bug :



PS : Which langage is use ?
Logged

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%
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 19:10:11
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50232


Total Post Ratings: +2615

View Profile WWW
« Reply #11 on: 29 January, 2011, 11:02:35 »
0

Wow, your screenshot looks like a video converted from a VHS tape during two overlapping recordings. Tongue

He uses assembly, by the way.
« Last Edit: 29 January, 2011, 11:02:58 by DJ Omnimaga » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
graphmastur
King Graphmastur
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 02 February, 2013, 08:34:45
Date Registered: 03 June, 2010, 21:15:55
Posts: 2262


Total Post Ratings: +60

View Profile
« Reply #12 on: 29 January, 2011, 16:44:20 »
0

Could you make a program that does the same thing, but for black and white screens?
Logged

Ashbad
Guest
« Reply #13 on: 29 January, 2011, 18:51:31 »
0

I would totally do this for the sausage song
Logged
JosJuice
LV9 Veteran (Next: 1337)
*********
Online Online

Last Login: Today at 22:00:49
Date Registered: 24 September, 2010, 16:46:12
Location: Sweden
Posts: 1300


Total Post Ratings: +51

View Profile
« Reply #14 on: 29 January, 2011, 21:02:11 »
0

I'm surprised no one thought of rickrolls yet Tongue
Logged

Pages: [1] 2 3 ... 9   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.29 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.