Main > Software Forum
MAME Movie Maker released
Howard_Casto:
budda... if you are interested... i've been playing around and I think i have a solution for the several fighters that don't get their loop detected properly.
You need to add the option to do a sample check after a possible loop is found. Try a simple rgb point sample in each corner and in the center.... if the colors all match up... keep going. This way the loop only detects loops with actual frames, not solid color fields and screen wipes.
So the loop would start and end with the first frame of the title screen, not the blank wipe before it.
donnyj:
Thanks buddabing for helping me fix it!
Thanks everyone else for telling me you compiled from scratch too, was worried I was just making my life hard!!!
Now I'll try making cpmaker, just to punish myself some more! :laugh:
Buddabing:
--- Quote from: Howard_Casto on February 08, 2005, 06:44:04 pm ---budda... if you are interested... i've been playing around and I think i have a solution for the several fighters that don't get their loop detected properly.
You need to add the option to do a sample check after a possible loop is found.
--- End quote ---
Howard_Casto:
--- Quote from: Buddabing on February 09, 2005, 09:42:40 am ---
--- Quote from: Howard_Casto on February 08, 2005, 06:44:04 pm ---budda... if you are interested... i've been playing around and I think i have a solution for the several fighters that don't get their loop detected properly.
You need to add the option to do a sample check after a possible loop is found.
--- End quote ---
--- End quote ---
Buddabing:
Howard,
I coded up your idea except I am sampling the whole image and taking the maximum and minimum r,g,and b values over the whole thing. The frame is skipped if the max r minus the min r is less than the -moviethreshold parameter, and the max g minus min g, and the max b minus the min b.
I need more specific information on what games are having a problem. "Allfighters made by x,y,z" means nothing to me since I don't play fighters. I need rom names, not game names.
You mentioned 64street and arabfgt earlier. 64street has a static picture on it with changing text below the picture. A loop is detected when the text is blanked out and just the picture is showing. The new method of blank frame detection does not detect this.
On arabfgt, a loop is detected at a screen blank also, but this time the screen is not completely blanked, it has the "insert coin" text at the top and "sega 1991" at the bottom.
A black detection that excluded the top and the bottom of the screen would help arabfgt but not 64street, and may break other games.
I agree with you that having the game's title screen at the beginning of the video is important. I just don't think the solid color blanking is as common as you think.
But, give me a sample of a game with this solid color blanking, and I'll see if this changed blank frame detection will help.
In fact, you can try it yourself. I've uploaded the test executable here.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version