Main > Software Forum

MAME Movie Maker released

<< < (137/153) > >>

cdbrown:
I'm going to keep pressing on with this buddamame way for the moment as it seems to work quite well now that I have it tweaked.  The new MovieBatch.exe works great.  I have changed the batch.bat so that the mame game window doesn't pop-up by putting this between @ and mame
start /min /wait
ie @start /min /wait mame %1

Now is there anyway to keep all the output videos to a single resolution - say 128x128?  Perhaps force buddamame to take snapshots at that res?

Cheers
-cdbrown

Silver:
Ah did I not use the minimise control for mame? only for vdub - soon fix that!

regarding resolution. How mame outputs it is Buddabing's territory, but I belive it would be very hard to impliment in mame. The images are all at the exact original game resolution.

Virtuldub however, certainly does have the facility to resize videos to anything you want. It involves fiddling with the rom.vdb file that buddamame makes for each game, so with the current setup it may take some fiddling by BuddaBing...

Although if memory serves - @Buddabing, is the "roll your own" method (4?) still implimented in your builds? where you can specify the vdb file contents externally? If so I could alter my program to allow certain filters to be used, such as resizing etc...

Silver:
Look like -movievideo 4 was the option, and it will look for a file vcodec.dat.

Buddabing, currently you import:

VirtualDub.video.SetCompression
VirtualDub.video.SetCompData

from the vcodec.dat. If you are interested in adding support for filters (eg resize) then all you need to do is change the import so that it imports an extra couple of lines.

This is what we currently have in the vdb file:

VirtualDub.video.SetCompression
VirtualDub.video.SetCompData
VirtualDub.video.filters.Clear();
VirtualDub.audio.filters.Clear();

With a filter we want:

VirtualDub.video.SetCompression
VirtualDub.video.SetCompData
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("resize");
VirtualDub.video.filters.instance[0].Config(128,128,2);
VirtualDub.audio.filters.Clear();

So the 2 extra lines to import must go after the:

VirtualDub.video.filters.Clear();

Is that doable?

EDIT: Just to clarify, I can put the filters in the vcodec.dat now, but if I do that, the next line that buddamame places after them is:

VirtualDub.video.filters.Clear();

which clears the filters. I can include that line in vcodec.dat, so all you need to do is remove the above line when movievideo 4 is selected....

NIVO:
sounds good, i also request the size 128x128. You see in my fe, i plan to use attract vids of this size, i dont need large file sizes as i dont wish them to be that large. Not to mention it helps keep file sizes down, which is always a huge plus. Again, thx for the time in taking a look at our requests, much appreciated.

Buddabing:
Well, there already is Howard's -moviesquare option, for creating movies that can be used as textures.

The -moviesquare option creates a 256x256 movie, IIRC.

Aspect ratio is not preserved using this option, it is up to the front end to correct it. That's how Howard and )p( wanted it.

IMO it would be more useful and not redundant to have a resize option that preserves aspect ratio. The larger dimension of the movie would be 128, or what the user specifies, and the smaller dimension would be adjusted according to the aspect ratio.

Why can't you just use the -resolution MAME parameter to do the resizing?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version