Post subject: getting sound syncing with a/v sync?
Experienced player (703)
Joined: 2/5/2011
Posts: 1417
Location: France
even with avsync I can't get sound synced, there is 2 seconds sound delay, I thought using Dump audio on avi but it makes dolphin crash, any guys have idea? Using Rayman 3, 3.5-1749 avsync :p Thanks!
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand
Editor, Experienced player (608)
Joined: 11/8/2010
Posts: 4012
There are a few more steps you need to follow with the older A/V sync. You need to use the regular Dump Audio, concatenate the three dspdump files, and then run an Avisynth script to sync the video and audio based on a file called timecodes.txt, which also changes the stream to the correct frame rate (59.94 fps, I believe). I can give you a script I have if you need it.
Experienced player (703)
Joined: 2/5/2011
Posts: 1417
Location: France
yes, please, thanks! :D
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand
Editor, Experienced player (608)
Joined: 11/8/2010
Posts: 4012
Here is the one I used for Paper Mario: TTYD. You will need to install Avisynth if you haven't already. Make sure you open the script in Notepad and change my Dolphin folder to yours. "dspdump.wav" is what I called the final audio file (the three dspdumps combined), but you can call that something else too if you want.
Experienced player (703)
Joined: 2/5/2011
Posts: 1417
Location: France
Thanks, I'll use it in my next WIP! :D
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand
Experienced player (703)
Joined: 2/5/2011
Posts: 1417
Location: France
Soo...;I've tried your script but VirtualDub don't accept x264vfw so I used Lagarith but it crash at 2gb split, so basically I'm screwed, any ideas lol ? 3.5-1749
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand
QuizmasterBos
He/Him
Joined: 6/23/2013
Posts: 136
According to the recent Dolphin update write-up over last month, AV-sync has been modified and brought into the Master Build of Dolphin. Perhaps you can try using that instead? Here's the whole article with all information you need: https://dolphin-emu.org/blog/2014/10/31/dolphin-progress-report-october-2014/
Experienced player (703)
Joined: 2/5/2011
Posts: 1417
Location: France
QuizmasterBos wrote:
According to the recent Dolphin update write-up over last month, AV-sync has been modified and brought into the Master Build of Dolphin. Perhaps you can try using that instead? Here's the whole article with all information you need: https://dolphin-emu.org/blog/2014/10/31/dolphin-progress-report-october-2014/
I already knew that, but the run don't sync in that.
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand
RachelB
She/Her
Player (127)
Joined: 12/3/2011
Posts: 1579
got4n wrote:
Soo...;I've tried your script but VirtualDub don't accept x264vfw so I used Lagarith but it crash at 2gb split, so basically I'm screwed, any ideas lol ? 3.5-1749
There are plugins for virtualdub that will allow you to use h264 videos.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
got4n wrote:
Soo...;I've tried your script but VirtualDub don't accept x264vfw so I used Lagarith but it crash at 2gb split, so basically I'm screwed, any ideas lol ? 3.5-1749
Are you trying to import h.264 videos into VirtualDub, or encode h.264 videos with VirtualDub? x264vfw has a "VirtualDub hack" checkbox that needs to be activated.
Experienced player (703)
Joined: 2/5/2011
Posts: 1417
Location: France
It still don't work with virtual dub hack, but I got it to work by installing ffmpeg codec, but when trying to launch avs script I have error: AviSource: Could not open video stream in any supported format. script: LoadCPlugin("D:\Encoding\timecodefps.dll") video = AVISource("C:\Users\Dalil\Desktop\Tout les Dolphins TASing\Dolphin AVsync\User\Dump\frames\framedump0.avi").TimecodeFPS("C:\Users\Dalil\Desktop\Tout les Dolphins TASing\Dolphin AVsync\user\dump\frames\timecodes.txt", fpsnum=60000, fpsden=1001) audio = WAVSource("C:\Users\Dalil\Desktop\Tout les Dolphins TASing\Dolphin AVsync\User\Dump\audio\dspdump0.wav") AudioDub(video,audio)
Current: Rayman 3 maybe? idk xD Paused: N64 Rayman 2 (with Funnyhair) GBA SMA 4 : E Reader (With TehSeven) TASVideos is like a quicksand, you get in, but you cannot quit the sand
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Can you open the AVI file with Windows Media Player / MPC-HC? If so try opening the file in Avisynth with DSS2.