Author Topic: TruVid - 4 level grayscale video with sound  (Read 27309 times)

0 Members and 1 Guest are viewing this topic.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #30 on: July 08, 2011, 08:33:44 pm »
Personally, I think the dithered video, although noisy, looks far better than the undithered video. In most cases, I don't see why anyone would be viewing their calculator from less than about a foot away, so the noise from the dithering shouldn't be too prominent. And I'm not really sure if ordered dithering would make things better or worse, though. It would result in less noise, but it might also look strange to apply to a video, as I imagine it would appear as if the objects in the video are actually moving under the dithering, not moving with it.
I'd have to say I agree completely.

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: TruVid - 4 level grayscale video with sound
« Reply #31 on: July 09, 2011, 04:15:26 pm »
Ok, I finished ordered dithering. I used a strange pattern so that I wouldn't get the crosshatches because I don't like them, although it results in diagonal lines, but i think that looks better.

I also changed my relative cutoffs calculation so that it tries to avoid counting boarders. If 10% of the screen is the exact same brightness, it just doesn't count that shade because most likely it is a boarder, this leads to more colors being available for the actual video itself.

So with the new changes, here are the results:
ThresholdF-S Dithering
Ordered DitheringHeavy Ordered DitheringBoth!?!

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 GreenFreak

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +16/-1
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #32 on: July 09, 2011, 04:17:08 pm »
I like the F-S Dithering version most...

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #33 on: July 09, 2011, 04:23:57 pm »
thepenguin77, how about you release a demo application of about 25 seconds of video, with every 5 seconds using a different dithering method? Wabbitemu is nice, but when testing visuals like this, it often doesn't completely accurately represent what it will look like on a real calculator, mainly regarding blur and actual pixel response time.

But just from the wabbitemu screen captures, I think the Floyd-Steinberg dithering looks the best. It looks the most noisy, but that actually helps to blend colors better together and more accurately represent the original image. Seeing it on a calcuator could change my opinion, though.
« Last Edit: July 09, 2011, 04:26:08 pm by Runer112 »

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: TruVid - 4 level grayscale video with sound
« Reply #34 on: July 09, 2011, 07:54:18 pm »
Here is a test video for anyone who want to see the differences between the dithering techniques. It's charlie bit my finger because that video is really consistent and is not fast moving. The app is 28 pages and has only .2 sec of sound, so don't plug in your headphones. But best of all, it's valid!

I'll let you figure out which dithering is which, but if you've been paying attention, it should be obvious.

Edit:
   I forgot to include the runner, here it is.
« Last Edit: July 09, 2011, 08:02:46 pm by thepenguin77 »
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 critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: TruVid - 4 level grayscale video with sound
« Reply #35 on: July 10, 2011, 05:24:31 am »
Great! :)

Does it also work on TI-83+SE and on TI-83+?
« Last Edit: July 10, 2011, 05:24:46 am by critor »
TI-Planet co-admin.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #36 on: July 11, 2011, 11:53:41 am »
TI-83+SE, yes. (It has the crystal timers and as much ROM as the 84+SE). Not so for the 83+, though, which doesn't, among other things, have the crystal timers.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline GreenFreak

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +16/-1
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #37 on: July 11, 2011, 03:01:25 pm »
Can you make a smaller version of it, please?  :(
I really want to try it on my Ti-84+BE  (320kb arch free) ::)
(maybe with Nyan Cat^^)

I would be very happy, if you do that for me  ::)


Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #38 on: July 11, 2011, 03:42:51 pm »
Can you make a smaller version of it, please?  :(
I really want to try it on my Ti-84+BE  (320kb arch free) ::)
(maybe with Nyan Cat^^)

I would be very happy, if you do that for me  ::)


I think that would be quite hard. The calculator can't decompress data efficiently since there's so much processing time used for just the sound. If you take a look at a video file for computers, it might even be several hundred megabytes, so it's hard to make it small enough to fit on a calculator! (Calc videos do have a lower resolution, but it still takes a lot of place to store both audio and video.

Offline GreenFreak

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +16/-1
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #39 on: July 11, 2011, 03:57:48 pm »
What about to disable the sound? And to lower the FPS?

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: TruVid - 4 level grayscale video with sound
« Reply #40 on: July 11, 2011, 03:59:19 pm »
To disable the sound, I recommend this: http://ourl.ca/8984/168820

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: TruVid - 4 level grayscale video with sound
« Reply #41 on: July 11, 2011, 04:16:29 pm »
Can you make a smaller version of it, please?  :(
I really want to try it on my Ti-84+BE  (320kb arch free) ::)
(maybe with Nyan Cat^^)

I would be very happy, if you do that for me  ::)

Yeah, sorry about making it 25 seconds long, it doesn't have sound though. But actually, the file is only 475136 bytes on my calculator, so it would fit if you deleted everything. (and yes, if you want sound/video on an 84+BE, you are going to have to delete everything)

To disable the sound, I recommend this: http://ourl.ca/8984/168820

zTrumpet has a very good point though, back on this project, I think I compressed the videos like 40% because I didn't have sound to worry about, so I'm sure one of those files will fit :D And I'm going to try to get Nyan Cat to fit when I make it, and if it doesn't, Nyan Cat OS!!!
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 calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #42 on: July 11, 2011, 04:22:37 pm »
And I'm going to try to get Nyan Cat to fit when I make it, and if it doesn't, Nyan Cat OS!!!
928KiB of just Nyan Cat! (On an 84+) ;D
« Last Edit: July 11, 2011, 04:22:48 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline GreenFreak

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +16/-1
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #43 on: July 11, 2011, 05:25:10 pm »
Whats that?? O.O sounds epic (Nyan Cat OS)

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: TruVid - 4 level grayscale video with sound
« Reply #44 on: July 11, 2011, 05:27:31 pm »
It should support sending itself to other calculators. Spread the Cat!!! (leaving behind a trail of calculators that can't do anything but play the nyan cat animation)
« Last Edit: July 11, 2011, 05:28:19 pm by t0xic_kitt3n »