Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02442 Core Major Always Sep 27, 2008, 08:56 Oct 2, 2008, 07:08
Tester Firewave View Status Public Platform MAME (Self-compiled)
Assigned To aaron Resolution Fixed OS Windows XP/Vista 64-bit
Status [?] Resolved Driver
Version 0.127u5 Fixed in Version 0.127u6 Build Debug
Fixed in Git Commit Github Pull Request #
Summary 02442: -aviwrite produces faulty files
Description The .avi files produced by -aviwrite are quite faulty. When playing in Media Player Classic and Windows Media Player the values for the time are totally wrong and the progress bar isn't working properly. It also seems to skip frames, so the sound doesn't match the images. And once MPC did even crash when I opened the video.

When you load the video in Virtualdub and save it again the frameskipping and wrong time values are gone, but there is no sound. There is also no sound when you are just viewing the video in Virtualdub.
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
5
User avatar
No.02609
Fujix
Administrator
Sep 27, 2008, 10:15
I noticed that when I checked another -aviwrite issue.
I thought it was because I don't have proper filter for the avi file MAME output.
User avatar
No.02613
aaron
Developer
Sep 27, 2008, 17:03
The first problem is not a bug. The files are completely uncompressed, and you won't be able to play them natively at full speed due to the fact that your computer can't really read that much from the hard disk fast enough to keep up with the frame rate. You *must* process them and compress them with another tool first so that the data rate is more reasonable.

The second issue might be an issue, but I need a specific example. Tell me a game where it happens, how long the recording was (preferably with -str) so I can reproduce it.
User avatar
No.02620
Firewave
Senior Tester
Sep 27, 2008, 18:05
Virtualdub saves the video in the same format (even the filesize is almost identical minus the sound size) and it does play properly. The unmodified video also runs fine at full speed in Virtualdub minus sound.
According to mahlemiut it's also playing in Totem on Linux without sound, but with bad video.
It appears the playback is okay on players, that play the video frame-by-frame and faulty in players, that seem to rely on the data, that also messes up the time values.

I can reproduce all the issues with any game and any length.
User avatar
No.02625
aaron
Developer
Sep 27, 2008, 22:49
I fixed the sound issue. Remaining issues should get separate reports if they are still present.
User avatar
No.02656
Firewave
Senior Tester
Oct 2, 2008, 07:08
All issues have been fixed in 0.127u6.