0 Members and 4 Guests are viewing this topic.
I checked those posts and page and it was not for the 9860GII as he asked, but rather the 9860 SD
"welcome to the world of computers, where everything seems to be based on random number generators"
Hello,I do not have any automated tool, I did following:1. take a video and convert it (by autoGK) to have width 128 pixels.2. extract images from the video (I used IV_Player.exe from Irfan view's plugins directory)3. by irfan view - crop all images to have height 64 pixels (they had 80), decrease color depth to 2 (use Floyd-Steinberg dithering) and save as raw - use batch mode, images should have 1 byte per pixels -> 8KB per image4. "compress" the images so they have 1 bit per pixel, the highest bit of the first byte is top left pixel (1KB per image)5. negate it (on the calc 0 means white, 1 means black; opposite as on PC).6. append all images together -> done
What kind of movies does it play, and does it need an SD card?
Quote from: DJ_O on January 27, 2012, 04:28:34 amI checked those posts and page and it was not for the 9860GII as he asked, but rather the 9860 SD There are 3 types of 9860 as I know:1. old 9860G ( + 9860G SD), this is the model on which I wrote the player and everything should work :-)2. 9860 G II - very similar to old 9860G, has back-light and newer OS (which was possible to flash to the old 9860G and what I already did)There should also everything work.3. 9860 G II Power graphic 2 (I am not sure with the name), with CPU from Prizm. This is different HW, but because I released the source code, owner can use my sources, remove the sound part (which is platform specific) and use only silent video player. It should work I hope.
Oh ok because if it's compatible with 9860G, then why does it require a SD card? The 9860G doesn't have an SD card slot...
Yeah but what I mean is if it requires SD, then why MPoupe says it's compatible on the 9860G in the first place, even though the 9860G lacks SD card support? Or is english language barrier the issue?
hello, i try create a video using JPG filesim in this step:compression level 60 (use irfan_view - batch mode)here is i can change compression level?EDITED: i had used this site: http://jpeg-optimizer.com/ to compress the imagesmy first converted jpg based video -> http://videobam.com/gmOxw
I have all of my jpegs stored in a folder, now what do I do to compile them together into a .mjp file?
#include "stdio.h"const char *pszInputFmt="%04u.jpg";const char *pszOutputfile = "demo.mjp";char gBuf[65536];int LoadFile(int index){ char sName[1024]={0}; FILE *f; int len; sprintf(sName,pszInputFmt,index); f=fopen(sName,"rb"); if(!f) { return -1; } len=fread(gBuf,1,sizeof(gBuf),f); fclose(f); len = (len+3) & ~3; return len;}int main(int argc, char* argv[]){ FILE *f = fopen(pszOutputfile,"wb"); int i,len;//max 5 240 for(i=1;;i++) { len = LoadFile(i); if(len <=0)break;//read failed if(i % 5)continue;//25 fps --> 5 fps conversion fwrite(&len,4,1,f);//each frame (= jpg file) has 4 byte length (int32, little endian) fwrite(gBuf,len,1,f);//the file itself printf("."); } fclose(f); return 0;}
...Quote from: flyingfisch on January 27, 2012, 12:49:51 pmWhat kind of movies does it play, and does it need an SD card?it play special converted movies, and the app needs SD Card for save the video (video file is too big for non SD models) ...more info here: http://martin.poupe.org/casio/scvp/index.html
Quote from: jgibson02 on February 07, 2012, 09:16:29 pmI have all of my jpegs stored in a folder, now what do I do to compile them together into a .mjp file?The mjp file format is simple, it is an array of "frames". Each frame is length of the jpg file (rounded up to be dividable 4; 32 bit value in little endian) and the jpg file itself.I attached simple program which does exactly this compilation to the package (streamer.cpp). For your convenience I dump it here :Code: [Select]#include "stdio.h"const char *pszInputFmt="%04u.jpg";const char *pszOutputfile = "demo.mjp";char gBuf[65536];int LoadFile(int index){ char sName[1024]={0}; FILE *f; int len; sprintf(sName,pszInputFmt,index); f=fopen(sName,"rb"); if(!f) { return -1; } len=fread(gBuf,1,sizeof(gBuf),f); fclose(f); len = (len+3) & ~3; return len;}int main(int argc, char* argv[]){ FILE *f = fopen(pszOutputfile,"wb"); int i,len;//max 5 240 for(i=1;;i++) { len = LoadFile(i); if(len <=0)break;//read failed if(i % 5)continue;//25 fps --> 5 fps conversion fwrite(&len,4,1,f);//each frame (= jpg file) has 4 byte length (int32, little endian) fwrite(gBuf,len,1,f);//the file itself printf("."); } fclose(f); return 0;}
I'm sorry to be a bother, but I'm a huge newbie to this type of thing, with minimal programming experience, although I hope to learn soon and go onto a computer science major. I downloaded your package yesterday, but could not figure out how to execute the steamer.cpp file to compile the jpegs.
if(i % 5)continue;//25 fps --> 5 fps conversion
if(i % 1)continue;//25 fps --> 5 fps conversion
cd C:\MinGW\bin
g++ streamer.cpp -o streamer.exe
Quote from: helder7 on January 27, 2012, 04:37:51 pm...Quote from: flyingfisch on January 27, 2012, 12:49:51 pmWhat kind of movies does it play, and does it need an SD card?it play special converted movies, and the app needs SD Card for save the video (video file is too big for non SD models) ...more info here: http://martin.poupe.org/casio/scvp/index.htmlI thought the PRIZM does not have an SD card slot. How will that work out?