Main > Software Forum
MAME Movie Maker released
Buddabing:
--- Quote from: 2600 on March 15, 2005, 05:15:11 pm ---Buddabing,
I may have found the bug and that I think will start you in the right direction.
--- End quote ---
2600:
Using Mame .94 and testing with 3countb. I am using what you suggest for the mame.ini, except for maxmovielength which is 12000. It's easy to tell using neogeo games because the part that repeats is the BIOS and it has basically a white screen. Used i-fun viewer to locate the end frame and once you start reading the log from that frame you'll see what I mean.
I'll rerun the test's tomorrow on 3countb and send you the files. I'll also test some other roms and maybe another version of mame.
Buddabing:
--- Quote from: 2600 on March 15, 2005, 07:57:04 pm ---Using Mame .94 and testing with 3countb.
--- End quote ---
donnyj:
--- Quote from: Buddabing on March 16, 2005, 07:38:33 pm ---
--- Quote from: 2600 on March 15, 2005, 07:57:04 pm ---Using Mame .94 and testing with 3countb. I am using what you suggest for the mame.ini, except for maxmovielength which is 12000. It's easy to tell using neogeo games because the part that repeats is the BIOS and it has basically a white screen. Used i-fun viewer to locate the end frame and once you start reading the log from that frame you'll see what I mean.
I'll rerun the test's tomorrow on 3countb and send you the files. I'll also test some other roms and maybe another version of mame.
--- End quote ---
I found the problem. When a duplicate frame is found, the match count is not incremented. So, if there is one matched frame, then 100 duplicates, then nine more matched frames, the loop will trigger but will be 100 frames too long.
Changing this to increment the match count even when there are duplicate frames could lead to some false positives. To compensate, I suppose I could not increment the match count, but also count how many duplicates there are during the match, then subtract those out of the loop at the end.
I'll have to experiment both ways. Thanks to 2600 for finding this.
--- End quote ---
Great News!!!!!
On a lot of movies, if the start is 100 frames too late, then the end goes 100 frames too long which creates a loop (from wrong start to wrong end)... is this problem related?
2600:
--- Quote from: Buddabing on March 16, 2005, 07:38:33 pm ---
--- Quote from: 2600 on March 15, 2005, 07:57:04 pm ---Using Mame .94 and testing with 3countb. I am using what you suggest for the mame.ini, except for maxmovielength which is 12000. It's easy to tell using neogeo games because the part that repeats is the BIOS and it has basically a white screen. Used i-fun viewer to locate the end frame and once you start reading the log from that frame you'll see what I mean.
I'll rerun the test's tomorrow on 3countb and send you the files. I'll also test some other roms and maybe another version of mame.
--- End quote ---
I found the problem. When a duplicate frame is found, the match count is not incremented. So, if there is one matched frame, then 100 duplicates, then nine more matched frames, the loop will trigger but will be 100 frames too long.
Changing this to increment the match count even when there are duplicate frames could lead to some false positives. To compensate, I suppose I could not increment the match count, but also count how many duplicates there are during the match, then subtract those out of the loop at the end.
I'll have to experiment both ways. Thanks to 2600 for finding this.
--- End quote ---
After thinking about it and rereading your post, I see what you mean by false positives. Not sure if this is a good solution, but instead of keeping count of the duplicates could you track the first matched frame. Then you would make the video end with matchframe-1. Offhand I can't think of any downsides, but maybe you can.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version