Author Topic: nPlayer - TI-Nspire Video Player  (Read 57825 times)

0 Members and 1 Guest are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI-Nspire Video Player
« Reply #15 on: January 31, 2011, 11:00:24 pm »
Ah yes i see now, we need to be able to write some sort of Flash to C compiler :P

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: TI-Nspire Video Player
« Reply #16 on: February 01, 2011, 11:43:13 am »
Ok, I've been working on some compression methods for this.  Instead of playing every frame generated by SUPER, I am only playing, in this video, every 5th frame.  Although the file size in this example is larger than the previous ones, I am getting a full 1:38 video to play (the speed on calc is still not exact, though)!  I should note, once again, calc capture is making this go both slower and choppier than it is on the emulator/calculator!


Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: TI-Nspire Video Player
« Reply #17 on: February 01, 2011, 11:56:36 am »
This is amazing. How large are these files?
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: TI-Nspire Video Player
« Reply #18 on: February 01, 2011, 11:57:39 am »
That one is a massive 15 MB :(

But, the example videos I had playing yesterday are down to about 5 MB! :)


Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: TI-Nspire Video Player
« Reply #19 on: February 01, 2011, 12:04:40 pm »
15 MB for 1:38 of video on a calc isn't that bad
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: TI-Nspire Video Player
« Reply #20 on: February 01, 2011, 12:32:15 pm »
Awesome videos !
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 calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: TI-Nspire Video Player
« Reply #21 on: February 01, 2011, 01:48:14 pm »
If you want to improve speed, you might not want to use memcpy. It copies each byte individually, which as you can imagine would be pretty slow. An optimized assembly version for copying screen buffers that uses the multiple load/store instructions would probably be better. I might have posted such a routine somewhere, I'll see if I can find it.

Edit:
Actually, it was a routine for clearing a buffer. Not too useful in this case I guess.
« Last Edit: February 01, 2011, 01:52:08 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: TI-Nspire Video Player
« Reply #22 on: February 01, 2011, 03:11:12 pm »
holy... f**king... s**t

that is amazing... I cannot wait until I can get a castlevania judgement video on it :P

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: TI-Nspire Video Player
« Reply #23 on: February 01, 2011, 03:16:00 pm »
that is amazing... I cannot wait until I can get a castlevania judgement video on it :P

Give me a link to a youtube video and I'll make a screenshot for you! :)


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nspire Video Player
« Reply #24 on: February 01, 2011, 03:36:46 pm »
Darn this is so great! However I was wondering since the Nspire resolution is so high and the pixels relatively small if you could give users the option to compress their file for longer videos or smaller file size? I mean for example drawing every 2 columns or 2 rows or 50% resolution at 2x scaling. This goes into news along with the other video player now.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: TI-Nspire Video Player
« Reply #25 on: February 03, 2011, 02:32:26 pm »
This is a win! Our dreams of on calc rickrolls are finally realized!

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: TI-Nspire Video Player
« Reply #26 on: February 03, 2011, 02:56:14 pm »
Well I was showing this off in class and the general response was that it was pretty cool. One kid said he now has -1000 respect for me. Other than taht, pretty good :D


oh, and this is the vid I would LOVE  to see as a screenshot:
« Last Edit: February 03, 2011, 02:57:50 pm by qazz42 »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Nspire Video Player
« Reply #27 on: February 04, 2011, 02:12:55 am »
Lol that guy at your school sucks x.x

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: TI-Nspire Video Player
« Reply #28 on: February 04, 2011, 04:00:52 pm »
yeah... he hates me....

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: TI-Nspire Video Player
« Reply #29 on: February 04, 2011, 04:06:27 pm »
yeah... he hates me....
I know someone like that. I'm sure its mutual. ;-)