EZGames69
He/They
Publisher, Reviewer, Expert player (4460)
Joined: 5/29/2017
Posts: 2761
So I've playing around with New Mupen recently, making some encodes with them. It for the most part is stable enough to make some dumps with it, however there's some issues with how it dumps video sometimes that I need some help figuring out. Audio sync and Audio quality is by far the biggest issue. Starting a dump on Mupen at first wouldnt be that bad and nothing out of the ordinary would happen, but as dumping would continue along, you would notice some desyncs in audio from the video. It only seems to happen after you've dumped video for a good amount of time. Here's an example of how bad it can get, this is an unedited clip of the Mischief Makers dump I used for the Publication encode without any fixes to sync (about 90,000 frames into the movie btw): https://www.youtube.com/watch?v=ye_qzP0_n_o The other major issue I've come across is with audio popping. For some reason the audio will have popping or crackling to it, even if there's no actual audio going on. There has been attempts at fixing it so far in New Mupen, but it still pops up from time to time, like here: https://www.youtube.com/watch?v=Uvg-fVm--OU. The way I've personally gotten around this was to use the Jabo's DirectSound 1.6 Audio plugin, as it has a feature that lets you record audio separately, and this seems to remove any popping that would come up in an avi dump, and I would manually edit the timing of audio in post using AviSynth to sync up the audio in case it went out of sync for any reason. Now in a more recent version of New Mupen (which you can download here), there's a few new settings added that attempt to fix it, but they are untested and need more work. Under Options->Settings->Other, you have "Audio-Authoritative Sync" which prioritizes audio and removes frames where audio is not played, "Video-Authoritative Sync" which prioritizes video frames over audio, and "No Sync" which is essentially what old mupen sync used to do. What I need to figure out is 1. Why audio popping seems to show up in Dumps 2. Why does audio seem to desync from the video after 3. Do the Sync Settings under Options->Settings->Other do anything useful or is it a matter of needing to be developed more?
[14:15] <feos> WinDOES what DOSn't 12:33:44 PM <Mothrayas> "I got an oof with my game!" Mothrayas Today at 12:22: <Colin> thank you for supporting noble causes such as my feet MemoryTAS Today at 11:55 AM: you wouldn't know beauty if it slapped you in the face with a giant fish [Today at 4:51 PM] Mothrayas: although if you like your own tweets that's the online equivalent of sniffing your own farts and probably tells a lot about you as a person MemoryTAS Today at 7:01 PM: But I exert big staff energy honestly lol Samsara Today at 1:20 PM: wouldn't ACE in a real life TAS just stand for Actually Cease Existing
Emulator Coder, Judge, Experienced player (729)
Joined: 2/26/2020
Posts: 779
Location: California
https://github.com/CasualPokePlayer/mupen64-rr-lua-/releases/tag/1.0.9-speexv2 I've solved the popping issue. It seems the resampler was at fault here, so I hacked in speex's resampler, and the pops are gone with that in.
Emulator Coder, Judge, Experienced player (729)
Joined: 2/26/2020
Posts: 779
Location: California
https://github.com/CasualPokePlayer/mupen64-rr-lua-/releases/tag/1.0.9-speex-fixed_audio_sync I have fixed audio sync too, this should address the audio desyncing issues (tl;dr I ripped out the old audio sync logic and put in new logic which should make more sense and actually sync to audio). EDIT: These fixes have been merged into upstream now!