I have released my PNG Video Library but its only compatible with graphics.h and graphics.c. Its easy to use and you can create videos from png files and easily play them on your PSP with my code and have your own intro video or something.
I made a windows program to make the video file and the psp code to stream it.
Here is the readme:
PNG Video For People who want to put short video or clips into their apps or games!!!
BY: pspballer07 email: email@example.com
Okay so...I am sure many people have wanted to put homemade videos or intro clips into their apps. I know I did, so I made a file format called PNG Video(sorry anyone if it already exists) that you can play on your psp with the code provided. NO SOUND UNLESS YOU DO IT YOURSELF WITH MULTITHREADING! ALSO NOTE THAT THIS IS ONLY FOR GRAPHICS.H AND GRAPHICS.C USERS.
The PNG Video Creator App Included
It is a windows app. You just click on it. Type the name of your png video (i.e. vid.pngv) and then it does the rest for you. YOU MUST HAVE THE APP IN THE SAME DIRECTORY AS ALL THE PNG IMAGES(frames) AND THEY MUST BE NAMED 001.png - 999.png.
The Code to play the videos on your psp
Ok first copy all the code below and paste it somewhere in the middle of your graphics.c
The actual code is in the real readme
Ok then in the middle of your graphics.h put this:
extern int StreamPNGVideo(char *PakName,int x,int y,int framedelay);
And your good!
Here is a description:
char *PakName ---- The PNG Video Filename i.e. "data/video.pngv"
int x, int y ----- The X and Y coordinates on the screen to draw the frames. i.e. 0,0
int framedelay ------ The amount of delay between each frame. Must be at least 1. i.e. 1000
return value ---- always 1
Here is an Example of its use:
NOTE: THERE MIGHT BE COMPILE WARNINGS BUT IT WILL STILL WORK. IF YOU GET COMPILE ERRORS LET ME KNOW BECAUSE I COULD HAVE LEFT OUT SOMETHING.
Here is download
I am even using it on my RPG Paradise
IF THERE ARE ANY COMPILE WARNINGS, ITS OK.
IF THERE ARE ANY COMPILE ERRORS, PLEASE LET ME KNOW CUZ I COULD'VE LEFT SOMETHING OUT.