Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Recording MNG files in MAME and converting to AVI  (Read 7376 times)

0 Members and 1 Guest are viewing this topic.

MrQuan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:October 30, 2008, 03:47:14 am
  • Well, at least you threw a punch...
    • Tilt Arcade - Check it out!
Recording MNG files in MAME and converting to AVI
« on: November 06, 2006, 11:05:06 am »
I have been trying to record game play in MAME using mngwrite and have had limited success.  :-\

I was unable to get mngwrite working with the mamepp.ini, however using -mngwrite filename.mng I have been able to get mng output.

I've then been attempting to convert the mng file to avi using mng2avi supplied from the BYOAC wiki.  I do the command line: "mng2avi sfa3.mng sfa3.avi" but get an error halfway through, the standard windows 'send error message thing'.  I cancel this and it seems to keep running the script but at the end says pacman.wav not found??  I didn't specify a wav??

I'm hoping someone can help me - maybe there's something obvious I've overlooked?  Is there a guide to mng2avi?  Any help is appreciated, thanks :)

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Recording MNG files in MAME and converting to AVI
« Reply #1 on: November 06, 2006, 12:00:46 pm »
I believe mngwrite (and mng recording in general) has been broken since v0.107. Try using version v0.106 or earlier.

I'm working on a new version of mng2avi. One problem with mng files is that the library used to process them reads in the whole file, and thus takes a geegob of memory. Also, it is not particularly robust.

Lastly, mng creation is not very fast. You may not be able to play a game (especially a complicated one such as sf3) at full speed while taking a mng snapshot. For gameplay recording, you might try using -record then playing back the the recording with -mngwrite.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

MrQuan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:October 30, 2008, 03:47:14 am
  • Well, at least you threw a punch...
    • Tilt Arcade - Check it out!
Re: Recording MNG files in MAME and converting to AVI
« Reply #2 on: November 07, 2006, 09:37:38 am »
Thanks for your help  ;D

As suggested I installed MAME 0.106 on my laptop for the purpose of recording with mngwrite (didn't want to overwrite 0.109 on my arcade cab).  Worked a treat!

I haven't put MNG2AVI on my laptop yet (the PC I'm using for recording), so I'll give that another go soon.  But from what I can see with Jasc Animation Shop 3, the frames are all there in the MNG, not just thousands of blank black frames like I was getting in MAME 0.109.

Thanks for the tip about -record for game play.  Most games run pretty good, some of the more CPU intensive ones lagged a bit after some time, so that came in handy - cheers :)

MrQuan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:October 30, 2008, 03:47:14 am
  • Well, at least you threw a punch...
    • Tilt Arcade - Check it out!
Re: Recording MNG files in MAME and converting to AVI
« Reply #3 on: November 07, 2006, 03:49:47 pm »
... Just another quick question!


How many frames per second are saved into the MNG file from MAME?  Is this the same as the refresh rate setting?

Example:  -resolution 720x576@60

... does that mean 60 frames in the MNG per second?  (I realise the resolution I set is disregarded and frames are saved in native resolution, is this the same for FPS?)
« Last Edit: November 07, 2006, 10:15:15 pm by MrQuan »

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Recording MNG files in MAME and converting to AVI
« Reply #4 on: November 07, 2006, 04:25:13 pm »
All frames are saved in the mng. The refresh rate is in the mng header. Yes, it is the same as the refresh rate setting.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!