Main > Software Forum

MAME Movie Maker released

<< < (54/153) > >>

papaschtroumpf:
I didn't think the problem was detecting unique frames, MMM probably does something similar (haven't looked at the code). The problem is that there can be 2 identical frames even though the loop isn't finished, such as a fully black frame during a "fade to black".

Howard_Casto:

--- Quote from: papaschtroumpf on January 30, 2005, 02:36:29 am ---I didn't think the problem was detecting unique frames, MMM probably does something similar (haven't looked at the code). The problem is that there can be 2 identical frames even though the loop isn't finished, such as a fully black frame during a "fade to black".

--- End quote ---

close.... the detector has some common sense built in if I'm reading the code properly, so a single fade to black won't screw it up.  Unfortunately two or more fades to black (or any color for that matter)  will, and since many games do this we are kinda screwed at this point.  :(

Buddabing:

--- Quote from: donnyj on January 29, 2005, 11:05:53 pm ---suggestions for listgen:

put the default makemovies.bat "script" in the filters.sql file as an example

do the syntax checking BEFORE loading all the data files (so errors bomb out faster)

question:

how would I reverse the sort order?  for example, sort by year in reverse?

--- End quote ---

Are you talking about syntax checking in the SQL? I might implement something like a "-sqltest" option. Do you really think that's worth the effort it will take?

Reversing the sort order is done with "order by":

select * from gamedata
   order by year desc;

For ascending order use "asc"

select * from gamedata
   order by year asc;

Some of the years are missing so you will have modern games at the end of the descending order list.

Buddabing:

--- Quote from: papaschtroumpf on January 30, 2005, 02:36:29 am ---I didn't think the problem was detecting unique frames, MMM probably does something similar (haven't looked at the code). The problem is that there can be 2 identical frames even though the loop isn't finished, such as a fully black frame during a "fade to black".

--- End quote ---

Fades to black aren't a problem. If you change the -moviethreshold value, fades to dark gray won't be a problem either.

Fades to a non-black color will cause the loop detection to trigger on the second fade.

I could try figuring the max and min pixel value of each image, and not triggering loop detection if the difference between max and min is less than -moviethreshold. This will prevent a false loop detect of all solid colors where the color is the same, at the cost of considerably more calculation.

When I looked at at Robocop, the movie looped at the high score list. For kof94, you can see the "credit 00" at the beginning and end of the movie on an otherwise black screen. On 64th street, the loop detection happens when the dialogue between the two characters is blanked out, the screen is not blank then.

Kof94 and 64street may be improved by increasing the -minmovielength parameter. Otherwise, someone can go and manually get the start and end frame and generate a movie from that.

The coding is complete on the next version which will have the -moviestartframe and -movieendframe parameter. Using those parameters may make the movie making process a bit faster.

Now I have to go and port everything over again now that .91 is out.

papaschtroumpf:

--- Quote from: Buddabing on January 30, 2005, 04:48:27 pm ---Now I have to go and port everything over again now that .91 is out.

--- End quote ---

I could spend my entire spare time upgrading rather than playing if tried to keep up with MAME. In fact the only reason I upgraded from 0.88 is MMM, now I may have to do it again? Aaarg!
I haven't looked at the code and patches so I'm not sure if I can keep up with MMM by diffing the code or I'm better off upgrading to 0.91 when you release MMM for 0.91.

I guess I could probably jsust upgrade MAME itself without worrying about keeping the ROMS, screenshots, flyers, etc... in sync with the MAME version, since that's where I spend 99% of the upgrade time.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version