[help] video from MAME : what the ?!?

The place for all discussion on gaming hardware
Post Reply
User avatar
Hydeux
Posts: 259
Joined: Wed Jul 30, 2008 7:49 am
Location: France
Contact:

[help] video from MAME : what the ?!?

Post by Hydeux »

Hi !
I cleared EspGaLuDa a few days ago. I intend to make a "1-sissy" of it, so I used my .inp (from MAMEPLUS) to record a .avi movie directly with MAMEPLUS (huge file, big quality) but :

http://www.youtube.com/watch?v=S7qB3oR4HZY
:?

This stupid vid' is in 9/16 ! (it seems that the PCB gives a 9/16 picture ! don't know how it is corrected to show a 3/4 picture on-screen...)

So : would you know if there's a way to get a 3/4 .avi file out of MAMEPLUS ? (Anyway, how comes the vid is in 9/16 ?!? When I play Galuda, the picture is a perfect 3/4 !)
Or : would you know how to convert my 9/16 .avi file in 3/4 ?

(I know I could just make a replay of the .inp file and record my screen via FRAPS or Camtasia, but this means a real loss of quality, more so with my not really powerful computer...)
User avatar
Fudoh
Posts: 13041
Joined: Mon Mar 06, 2006 3:29 am
Location: Germany
Contact:

Re: [help] video from MAME : what the ?!?

Post by Fudoh »

Why don't you just throw the existing video into VirtualDub, resize to a proper 3:4 aspect ratio and save it again using a Codec of your choice ?
User avatar
StarCreator
Posts: 1943
Joined: Mon Jan 12, 2009 2:44 am
Location: Maryland, USA
Contact:

Re: [help] video from MAME : what the ?!?

Post by StarCreator »

The AVI writer outputs the game at its native resolution, which indeed does not use square pixels. MAME then applies a resize filter to present the game to you at the correct square pixel aspect. As mentioned above, you can use VirtualDub or some other encoding software to resize the video to a 3:4 aspect ratio and add letterboxing as needed for presentation on YouTube.
User avatar
Hydeux
Posts: 259
Joined: Wed Jul 30, 2008 7:49 am
Location: France
Contact:

Re: [help] video from MAME : what the ?!?

Post by Hydeux »

:shock:
THX guys !
I just didn't know VirtualDUB could do that ! (I thought the "resize" option was to crop a video...)
User avatar
Hydeux
Posts: 259
Joined: Wed Jul 30, 2008 7:49 am
Location: France
Contact:

Re: [help] video from MAME : what the ?!?

Post by Hydeux »

Here's my first attempt :
http://www.youtube.com/watch?v=qop0FBS5r-8

FFDshow codec, max quality, new size 240x320.

What would be your codec of choice ?
User avatar
StarCreator
Posts: 1943
Joined: Mon Jan 12, 2009 2:44 am
Location: Maryland, USA
Contact:

Re: [help] video from MAME : what the ?!?

Post by StarCreator »

If you're uploading to YouTube only, use whatever you're willing to upload - YouTube will re-encode on their end anyway.

Your resize looks a little iffy - make sure you're not using the Nearest Neighbor method. I'd use the Precise Bilinear method. Also, for quality reasons I'd enlarge rather than reduce (e.g., resize to 480x640 or 336x448).

Also, if the original video is ~60fps you probably want to chop that in half since YouTube will only display ~30fps max. I'd do this by blending every two frames together so that every frame has some sort of representation in the video (rather than dropping every other frame, which can eliminate frame-based effects like blinking enemies and drop shadows). It's been a long time since I've used VDub's filters (I've long since moved to AVISynth for my video processing) so I'm afraid someone else would have to walk you through how to do this unless I get time to look into it. Random Googling found this thread but it's 5 years old and VDub probably has much better timeline-based filtering now.
User avatar
Hydeux
Posts: 259
Joined: Wed Jul 30, 2008 7:49 am
Location: France
Contact:

Re: [help] video from MAME : what the ?!?

Post by Hydeux »

Thank you !
Post Reply