Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - apcalc

Pages: 1 ... 39 40 [41] 42 43 ... 96
601
TI-Nspire / Re: TI-Nspire Video Player
« 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! :)

602
TI-Nspire / Re: TI-Nspire Video Player
« 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! :)

603
TI-Nspire / Re: TI-Nspire Video Player
« 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!


604
TI-Nspire / Re: TI-Nspire Video Player
« on: January 31, 2011, 10:21:46 pm »
Considering the current way I am "playing" the video by showing a stream of images

Isn't that exactly what video is? o.O

Yes, well, I guess I should rephrase what I said.  The thing I send to the calculator has all of the sound data completely removed, and it is only a stream of images, without any other data.  This makes it difficult to re-add the sound data, as I would have to get another program to retrive the sound, then have my program put them all together, making the conversion process uglier than it already is.

Also, I don't have a set of headphones that would fit into the 84+ keypad, making it impossible for me to test it even if I could add it :(

605
TI-Nspire / Re: TI-Nspire Video Player
« on: January 31, 2011, 10:18:20 pm »
Sound? :D

Considering the current way I am "playing" the video by showing a stream of images, I don't know how practical this would be at this point in development.  I hope to fix the speed at which the videos play so you could at least play the video on the calc and the sound on a computer and have it synchronized, though! :)

606
TI Z80 / Re: Four Level Grayscale Video
« on: January 31, 2011, 08:56:51 pm »
Oh, and so I don't create any suspense. What I did was just have super not change the image sizes, so that way they were pixilated in 480p when I sent them into GIMP which gets rid of those artifacts when it cuts the size.

Ah!  I guess that explains why I didn't have any artifacts when I did the train video (resized with GIMP), but I did with the Rickroll (resized in SUPER).

Also, I should note, this is extremely amazing to see videos on the 84+.  With such a "slow" processor compared to the Nspire, I am amazed that you get that good speed!

607
TI-Nspire / Re: TI-Nspire Video Player
« on: January 31, 2011, 08:06:50 pm »
Rickroll!


608
TI-Nspire / Re: TI-Nspire Video Player
« on: January 31, 2011, 06:55:17 pm »
Yes, I absolutely plan on making it easier for users to view the videos on the calc.  At this point, my main goal was to get an example to play to prove to myself that this was possible.  I plan on having users send files (possibly extension .nvid) to the calc and I will have a program that reads them.  Likewise, another thing high on my list of priorities now is to find a compression method for the files so I can play longer files.

Right now, I don't have too much time to dedicate to this (AP classes :(), but I definitely plan on adding many of these features in the future.  Right now, this is in very early stages of development (actually, only 2 days of coding :)).

Also, it is absolutely amazing to see this on real hardware! :)

609
TI-Nspire / nPlayer - TI-Nspire Video Player
« on: January 31, 2011, 06:30:40 pm »
First and foremost, I must thank thepenguin77 for inspiration to make this project and a method to make this happen.  I have wanted to do this for a while, but if it were not for your post doing this on the 84 a few days ago, this would have never happened! Also, thank you to calc84 for helping me fix a bug in showing the images! :)

This is a 16-level grayscale video player for the TI-Nspire Graphing Calculator.  As I said earlier, I based this off the method used by thepenguin77.  First, I download the video from Youtube, I send it through SUPER to convert it into a series of .jpg images, then, I use a Plug-In in The GIMP to convert the .jpgs to .bmps and resize the, finally, I throw the resulting .bmp images through my own program that generates a .c file that can be builtd with nspire-gcc and played on the Nspire!

The only drawback to this method is that it is terribly difficult for a user to convert a video to the Nspire format.  In its current state, it also requires one to have an Nspire development environment set up to build the generated .c file.  (It also takes a terribly long time to build the massive .c file that is generated!)

Nevertheless, it still does a great job doing what it is supposed to do:  Play videos on the Nspire! :D

Screenshot (It runs much smoother on the actual emulator):


610
Calculator C / Re: TI-Nspire Video Player Help
« on: January 31, 2011, 06:24:56 pm »
YAY! :D

That works beautifully, calc84, thank you!  Now I can actually rickroll everyone in school tomorrow!!!! :)

611
Calculator C / TI-Nspire Video Player Help
« on: January 31, 2011, 04:30:16 pm »
I am in the process of coding a video player for the Nspire using almost the same method as described by thepenguin77 in his 84+ video player.  Unfortunately, I am having difficulty getting the .tns file to run.  I find that when I display one and only one frame of the video, everything works fine, but the instant I try to show more than one frame, whether it be 200 frames of 2 frames, the Nspire crashes.

For example, the code:

Code: [Select]
#include <os.h>

int main (void) {

char * buffer=malloc(SCREEN_BYTES_SIZE);
memcpy(buffer,0xFF,SCREEN_BYTES_SIZE);
char image1[SCREEN_BYTES_SIZE]={image data, too long to post here};
memcpy(buffer,image1,SCREEN_BYTES_SIZE);
memcpy(SCREEN_BASE_ADDRESS,buffer,SCREEN_BYTES_SIZE);
free(buffer);
return 0;

}

But, when I add a second image, like so:


Code: [Select]
#include <os.h>

int main (void) {

char * buffer=malloc(SCREEN_BYTES_SIZE);
memcpy(buffer,0xFF,SCREEN_BYTES_SIZE);
char image1[SCREEN_BYTES_SIZE]={image data, too long to post here};
memcpy(buffer,image1,SCREEN_BYTES_SIZE);
memcpy(SCREEN_BASE_ADDRESS,buffer,SCREEN_BYTES_SIZE);
char image2[SCREEN_BYTES_SIZE]={image data, too long to post here};
memcpy(buffer,image2,SCREEN_BYTES_SIZE);
memcpy(SCREEN_BASE_ADDRESS,buffer,SCREEN_BYTES_SIZE);
free(buffer);
return 0;

}

The Nspire crashes when I run the program.  Does anyone know what could be causing this?  Obviously, this program is still in very early stages, and the conversion process is difficult at this point, but, I can't make any more progress until I can at least see something play.  Is there something preventing me from calling memcpy( so many times?  The data files for each frame are HUGE, could having more than one be causing me to crash?   Any help would be much appreciated, I would love to finish this program, as I think it would add new dimensions to Nspire programming.

Also, for the curious, here is a screenshot of it successfully running one single frame:


(note, the dithering is done by my screenshot program, not the actual calculator)

612
Calculator C / Re: nDOOM - Fixing the crash on exit
« on: January 31, 2011, 03:23:23 pm »
This might be it! :

A screen buffer is equal to SCREEN_WIDTH*SCREEN_HEIGTH/2, so this would be 320*240/2, not 320*240

Try using the constant "SCREEN_BYTES_SIZE" for the third argument of memcpy! :)

613
nDoom / Re: nDOOM - Work in progress
« on: January 28, 2011, 05:53:17 pm »
Good news!

I updated my version of this yesterday and I tried it with the clickpad keypad again - and it works fine!  I guess I must have been using an old version or something by mistake! :)

614
Do you need instructions on how to compile Ndless programs, or do you just want a working version of Ncaster?  If only the latter, it is attached to this post, else, look at Hackspire for more information! :)

615
Jumpman 68K / Re: Jumpman
« on: January 26, 2011, 10:34:35 pm »
Glad to hear this is progressing! :)

Pages: 1 ... 39 40 [41] 42 43 ... 96