Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02410 Misc. Minor Sometimes Sep 26, 2008, 03:03 Sep 27, 2008, 20:03
Tester Smitdogg View Status Public Platform MAMEUI
Assigned To aaron Resolution Fixed OS Windows XP/Vista 64-bit
Status [?] Resolved Driver
Version 0.127u4 Fixed in Version 0.127u6 Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 02410: -aviwrite: files over 2 gigs sometimes get cut off
Description Sometimes MAME writes the file ok after 2 GB, but most of the time it cuts it off. It was thought to be fixed a few versions ago but it's back. I have also had it crash and exit MAME when trying to record Taito F2 games.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
10
User avatar
No.02577
Smitdogg
Senior Tester
Sep 26, 2008, 03:06
BTW I could do without the issue history section.
User avatar
No.02580
Tafoid
Administrator
Sep 26, 2008, 10:52
It's needed to know who added what information to a bug.. and when. No one here judges edits - we all have to make them :)
User avatar
No.02583
aaron
Developer
Sep 26, 2008, 13:49
I cannot find any games where it fails. Please provide a specific example (preferably just recording the attract mode) if you want to see this fixed.
User avatar
No.02587
Smitdogg
Senior Tester
Sep 26, 2008, 16:14
If I just record a little attract mode, it won't reach the 2GB size, and will never get cut off and the file will be fine... Camel Try is an example of one that cuts off regularly after 2GB but it has happened with multiple games. I can make a movie and post it here but I don't understand what you need.
User avatar
No.02588
Tafoid
Administrator
Sep 26, 2008, 16:20
edited on: Sep 26, 2008, 16:20
He might be referring to an .INP of a game which specifically has this problem. I believe you can use an input file and record an AVI at the same time from it? I would try this, but I have very little spare HD space (yes.. 2gb is a most everything I have right now) :)
User avatar
No.02602
Fujix
Administrator
Sep 26, 2008, 23:23
edited on: Sep 26, 2008, 23:31
I tested with mame -aviwrite samp.avi mappy and left for some minutes.
The file size reached 1.99 GB (2,146,953,568 bytes) and stopped increasing.

I don't have the crash with Taito F2 games and the final file size is 1.99 GB (2,147,133,916 bytes) in metalb, 1.97 GB (2,122,689,244 bytes) in cameltry.

I left MAME without speed throttling, and when the file size reaches 2 GB, frame rate suddenly jumped. So MAME seems to have stopped recording.
User avatar
No.02608
Firewave
Senior Tester
Sep 27, 2008, 08:25
Same here. Tried mk2 on Windows XP x64 with a 32-bit compile and it stopped at 2,147,193,818 bytes.

If you open the video with MPC it starts buffering, which means the video file is corrupt (mostly missing the ending chunk).

I also get weird timestamps and sometimes even crashes when opening videos, but that's not related to the 2 gig thing and should be a different bug report.
User avatar
No.02612
Tafoid
Administrator
Sep 27, 2008, 16:39
There is enough here IMHO to consider this confirmed. It's odd that when the . AVI stops for people is right around the maximum value that a 32-bit Integer can be: 2,147,483,647 - notice none of them surpass this amount for total byte size.
Could variable type be an issue?
User avatar
No.02614
aaron
Developer
Sep 27, 2008, 17:05
You are all running on NTFS file systems, correct? FAT32 can only handle 2GB files.
User avatar
No.02619
Firewave
Senior Tester
Sep 27, 2008, 17:55
I am using NTFS. According to mahlemiut it does work with SDLMESS on ext3.