TASEmulators / TASEmulators/BizHawk

N64 AVI Dumping Audio Fix

Open
#870 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug (GoogleCode) Core: Mupen64Plus Ghost'd
Dominant language
C#
Stars
2.8k
Forks
468
PR merge metrics
No merged PRs in 30d

Description

There is audible crackling produced in AVI dumps of N64 games. It seems to be circumstantial and is not present in some games and some situations, whilst in some its subtle, and then in others it's noticeable and intrusive.

Attached, is a savestate for Banjo-Tooie (U). If you start the selected cutscene (King Jingaling Gets Zapped), one such crackle is present during the fade-in and should immediately be noticable.
TooieCinema.zip

A potentially more prominent example is in the fourth gameplay demo. If you leave the title screen on long enough, brief gameplay demos cycle through in batches of three. The fourth demo exhibits quite a lot of the problem within the first ten seconds when dumped to video. Attached is a savestate for that, too.
TooieDemo.zip

As of Bizhawk 1.12.1, there was a fix labelled "fix audio in AVI recording" for N64 Hawk. I had a look and it appeared to be a fix for this issue, but with the above examples it would seem that the issue is alive and well in Bizhawk 1.13.0. Using alternate sync fixes a majority of these cases (and has done since it was implemented) and is a completely viable solution to this problem (although at the expensive of a change in how the video is saved), but I assumed this fix was for this particular issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the crackling with the attached TooieCinema.zip and TooieDemo.zip savestates while recording N64 gameplay to AVI, then compare the normal and alternate sync paths. Done means the supplied cutscenes and gameplay demo no longer produce audible crackling under the normal AVI recording path.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.