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

0 Members and 1 Guest are viewing this topic.

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: Four Level Grayscale Video
« Reply #105 on: March 28, 2011, 11:18:34 pm »
I always wondered if USB8x works via the TI-Nspire in 84+ mode, but then we're getting a bit off topic. :P
It doesn't.  The Nspire doesn't emulate the 84+'s USB controller - all USB access is done through a set of special opcodes instead.  I don't know enough about these special opcodes to even say whether a port of USB8x would be possible.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Four Level Grayscale Video
« Reply #106 on: March 29, 2011, 04:12:11 am »
8 pages late: wow. cool!
I'm not a nerd but I pretend:

Offline ikemike

  • LV3 Member (Next: 100)
  • ***
  • Posts: 67
  • Rating: +4/-0
  • Hmm.
    • View Profile
Re: Four Level Grayscale Video
« Reply #107 on: April 05, 2011, 12:03:53 am »
Somewhat off-topic, but what is the longest song trusound can fit on an empty calculator at a decent sound quality?
Anonymous Legend

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Four Level Grayscale Video
« Reply #108 on: April 05, 2011, 12:07:13 am »
Depends on the calc. An 84+SE? I'd guess 3 mins or less. Maybe if you had slower bit sampling it'd be better,

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Four Level Grayscale Video
« Reply #109 on: April 05, 2011, 12:59:25 pm »
Depends on the calc. An 84+SE? I'd guess 3 mins or less. Maybe if you had slower bit sampling it'd be better,
I think it's around 80-90 seconds, or maybe even less. Lower quality would allow longer sounds, but it sounds pretty bad...

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: Four Level Grayscale Video
« Reply #110 on: August 06, 2011, 10:46:44 am »
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.




This never gets old
This used to contain a signature.

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 #111 on: January 31, 2013, 09:56:22 pm »
Holy necro-update batman!!

So today I wanted to show someone a video on my calculator, but I didn't have any because they are just too big to keep on there all the time. So, since I never actually put this program into a usable state, I figured I'd finish it.

This program now operates exactly like TruVid and even has the same dithering patterns. But, what makes it better than TruVid for videos is that it also compresses them. The compression ratio varies, but anything from 1% to 70% is possible.

Here is the same 1:30 video rendered in all 8 modes:
b
a b
a
1,376,256  (2%)
1,359,872  (3%)
1,064,960  (24%)
1,032,192  (27%)
o
n
ao
an
819,200  (42%)
802,816  (43%)
622,592  (57%)
458,752  (68%)

The first number is the size of the video and the second number is the compression ratio. The flags are:
-   - Use flyod-steinburg dithering
- a - use absolute brightness cutoffs rather than per-frame cutoffs
- b - use both floyd-steinburd dithering and ordered dithering
- n - use no dithering
- o - use ordered dithering


It's interesting that the compression ratios line up rather well with quality. It would appear that to get the best video and still use compression, you should go for the -o flag. -a -n obviously gets the best compression, but it looks terrible. And I'm not sure which is better between (none) and -b, but they both basically have no compression.


In any case, here's everything you need to make your own videos and the -o video: (as well as sources

And this only works on windows because I use DirectShow.
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 Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Four Level Grayscale Video
« Reply #112 on: January 31, 2013, 10:08:44 pm »
This is awesome!
I actually think that the higher compression rates look better :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Four Level Grayscale Video
« Reply #113 on: January 31, 2013, 10:36:59 pm »
-o and -n look best, imho
I am Bach.

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Four Level Grayscale Video
« Reply #114 on: January 31, 2013, 11:13:54 pm »
I like milk.

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Four Level Grayscale Video
« Reply #115 on: February 01, 2013, 10:06:43 am »
Also, does anyone know of a good conversion software where I can convert with a custom resolution with WMVs.
I am Bach.

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 #116 on: February 01, 2013, 03:47:54 pm »
Super

It can convert just about anything to anything. Just watch out when installing though because any more they really try to add in a bunch of garbage.
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 Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Four Level Grayscale Video
« Reply #117 on: February 01, 2013, 05:03:18 pm »
I use Freemake to convert my vids.
I like milk.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Four Level Grayscale Video
« Reply #118 on: February 02, 2013, 06:43:56 pm »
This is wonderful :D
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Four Level Grayscale Video
« Reply #119 on: February 06, 2013, 10:55:28 pm »
Converted Gangnam Style:

This is just with -O
« Last Edit: February 06, 2013, 10:56:46 pm by Spenceboy98 »
I like milk.