Viewing Issue Advanced Details Jump to Notes ] segaorun.cpp
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06286 Misc. Minor Always Jul 10, 2016, 12:13 Jul 16, 2016, 00:18
Tester StHiryu View Status Public Platform MAMEUI
Assigned To Kale Resolution Fixed OS Windows Vista/7/8 (64-bit)
Status [?] Resolved   Driver segaorun.cpp
Version 0.175 Fixed in Version 0.176 Build 64-bit
Summary 06286: shangon: Captured AVI video from this game shows only sound, no image
Description I usually capture avi for my mame arcade gameplays, all work perfect but with this game something is wrong:

The avi file can be open with windows media or winamp and plays fine with image and sound.
With another player like VLC, the video shows a black screen and music.
If you try to open it with an avi editor like virtualdub, no image is shown and when you move the slider to another frame, an error message is displayed: "VideosourceAVI: uncompressed frame X is short (expected 215936 bytes, got 215712)"

It only happens with this game as far as I know.
Steps To Reproduce Capture avi on shangon
Try to edit it with virtualdub
Additional Information
Flags
Regression Version
Affected Sets / Systems shangon
Attached Files
 


-  Notes
User avatar
No.12920
Tafoid
(Administrator)
Jul 11, 2016, 01:08
I can confirm it doesn't play video on VLC (latest version) and does play on WinAmp which I have a copy of.
User avatar
No.12932
Kale
(Developer)
Jul 13, 2016, 08:40
edited on: Jul 13, 2016, 08:41
Does this occurs with Out Run and Turbo Out Run as well?

Following is list of all games in this driver, might be important to know if happens to Super Hang-On "brothers" as well.
https://github.com/mamedev/mame/blob/master/src/mame/drivers/segaorun.cpp#L2976

User avatar
No.12933
einstein95
(Tester)
Jul 13, 2016, 08:55
ffplay gives the following for the streams:
    Stream #0:0: Video: rawvideo, bgr24, 321x224, 103653 kb/s, 60 fps, 60 tbr, 60 tbn, 60 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s

The only difference to an avi recorded from another driver, like cdimono1, is the video size (which in that case is 384x310).

@Kale: Out Run and Turbo Out Run record fine (video size 320x224)
User avatar
No.12940
StHiryu
(Tester)
Jul 14, 2016, 21:15
One thing that call my atention is the resolution of the game (321x224) It's the first time I see an odd number for the resolution (321) and trying to edit the video with an editor a error message showed "Illegal resolution". Could be this one of the reasons?
User avatar
No.12943
M.A.S.H.
(Senior Tester)
Jul 16, 2016, 00:17
Fixed by Angelo Salese:
http://git.redump.net/mame/commit/?id=4faef70cc3f993f231e11e4f98f4145faba4676e