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 - thepenguin77
Pages: 1 ... 73 74 [75] 76 77 ... 108
1111
« on: February 01, 2011, 03:24:08 pm »
Compression is almost certainly impossible. I could actually almost see this being easy as a matter of fact. Just interlace the video and sound byte for byte and during the time that was previously used to decompress, write a byte to the screen.
Using this strategy, the video would be forced to run at 27 fps and the filesize would be 44KB/s (0.91DCS/s). Meaning 34 seconds of video. But it's possible.
Clearly no grayscale though. Sound requires uninterrupted CPU time and grayscale requires interrupts.
1112
« on: February 01, 2011, 03:10:05 pm »
That's odd. Try installing both the x86 and x64 versions. I have no idea where I heard it, but I feel like sometimes it errors on 64 bit machines that only installed one. x86x64
1113
« on: February 01, 2011, 12:34:59 pm »
It just happened. The first ever true calculator Rick Roll. Description: 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.
1114
« on: January 31, 2011, 08:54:20 pm »
Compression artifacts? I don't think so! I even made a few more fixes so this one is running at 15 fps meaning that this 30 sec file is 500k. Compression's not done yet though. And with a TI-83+SE?
Yes. An 83+SE is essentially just an 84+SE without a USB port. They even have the crystal timers, which the Nspire lacks, meaning this won't work on that either. 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.
1115
« on: January 31, 2011, 07:16:43 pm »
That is just... intense. I didn't know you could swap pages that quickly, though.
Swapping pages is instant. Meaning it's the fastest way to move data. (You're not really moving it though.) It doesn't seem to work on a real calc, what do you have to do with the files?
It should work. I was showing people at school. Send both files, from the same post, and run the program. The app only contains data. Oh, and it definitely won't work on an 83+ for so many reasons.
1116
« on: January 31, 2011, 07:02:05 pm »
Yay Apcalc! It's cool to see someone else do exactly what I did lol. (The whole ugly conversion process). If you or I figure out some way to make the conversion process easier, spread the word. Especially if you figure out how .avi files work. For compression, I'm currently working with Deflate, so I'll let you know how that goes.
1117
« on: January 31, 2011, 04:16:28 pm »
I'm thinking of doing a variation of DEFLATE. Here is the specification if anyone is interested. (if you're going to look at it, the important part is the top of page 11) It is essentially LZ77 paired with huffman tables for the distances and lengths. It's what .png uses so I figure it's good for pictures/video. What I think I'll do is just use the uncompressed and Fixed huffman table parts of it because I don't think my file sizes are big enough to be able to use the dynamic huffman table properly. Since LZ77 using a sliding window, that creates a sort of problem when doing it on the calculator due to memory requirements. I am thinking of using a sliding window of 768*2*2=3,072 because that is two frames. To accomplish this quickly and efficiently, I'm going to move data around by switching pages rapidly. In what might be the most hacked memory configuration yet, I will have the flash page in the $4000 slot. I will have $3A00 bytes of page $81 swapped into the $8000 range through port ($28). Then, I will alternate having pages 0 and 3 swapped into the $8000 range and the $C000 range so that the two frames are always in the same place: $BA00 and $FA00. Hopefully, this will allow me to get the speed and address space required to make this work. (I'm backing up page 0, so don't worry.)
1118
« on: January 31, 2011, 03:08:53 pm »
Here is my current method of compression. 00's and FF's are the target since black or white sections are all one color.
Data: 00 00 00 00 00 00 00 00 00 06 58 00 36 87 ff ff ff ff ff ff ff ff 59 ff ff 86 32 Comp: 00 00 08 06 58 00 36 87 ff ff 07 59 ff ff 01 86 32 Expl: 00flag#-1 one ok FFflag#-1 only downside
As you can see, any long string gets shortened to three bytes with this. The only downside is that since the flag is a repeated FF or 00, 00 00 and ff ff get expanded one. But those are somewhat rare. The reason that the number of bytes is -1 is just to make life easier in z80.
As for dithering I just figured out that that means artificial grayscale by alternating colors between frames. But I could more easily add 8 level grayscale, it's just the file size that would suffer.
Edit: Does anyone have a good idea for compression techniques? I would love to hear them.
1119
« on: January 30, 2011, 11:02:12 pm »
What do you mean by dithering in this case? If you are talking about the scan lines, those are only present in wabbitEmu. I tried it on my real calculator and they are hardly noticeable.
You are also definitely correct about the compression artifacts. I traced the steps through and it looks like SUPER caused them when it converted the .flv to .jpg's. But as of now, I don't know any other way to do that step.
For decompression on the calculator, there is definitely enough time. 16,000,000 hz * 50 % (grayscale) /15 = 533,000 clock cycles per frame. That's 347 clocks per byte, clearly enough time to do something amazing. The only thing I'm doing right now is converting strings of 00's and FF's to 00 00 (length) and FF FF (length).
1120
« on: January 30, 2011, 08:57:36 pm »
Oops, I accidentally left off the last 62 frames of the video. (fourvid.exe <source folder> <output file> <number of frames>). So here is the full video in 12 shades of gray.
Edit: Has anyone tried this on a real calculator?
1121
« on: January 30, 2011, 08:44:15 pm »
SirCmpwn, the problem with Fake is that once the kids figure out that it's enabled, they'll just delete it and start deleting things again. I would think that Fake is more to stop teachers rather than other students. Plus, it can't stop you from individually deleting files. (And I too learned that it doesn't work on MP OS's the hard way.)
As for an 83+ patch, I'm sure I can do that. It's not much different other than the fact that unlocking flash is different and port (06) doesn't AND the page numbers.
1122
« on: January 29, 2011, 05:30:47 pm »
So it turns out that when super converts a video to .jpg's, it doesn't change the frame rate to what you want. So here is a video running at 29 fps. I couldn't think of anything cooler, so this is what you get.
Edit: Again, this looks better on wabbit than in the screenshot.
1123
« on: January 29, 2011, 04:11:46 pm »
I don't think Err:MSM is supposed to happen. I would imagine that the program crashed and jumped to somewhere it wasn't supposed to. I've got Waiting... Please install an operating system now from crashing a program before.
1124
« on: January 29, 2011, 04:04:11 pm »
1125
« on: January 29, 2011, 04:00:38 pm »
Are they smart enough to do the FLASH self-test to clear the archive?
That can only be invoked when you don't have an OS. And it clears all the flash, not just the archive. Thepenguin77, can the final OS patch that allows still allows deleting apps/progs, but moves it, be ported to the 2.43?
I already did. Check back in the responses.
Pages: 1 ... 73 74 [75] 76 77 ... 108
|