1 2
7 8 9
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Language: avisynth

AviSource("movie.avi") audio = WavSource("movie.wav") AudioDub(audio, last)
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Experienced player (589)
Joined: 2/5/2011
Posts: 1417
Location: France
HYPE
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
Fog
Emulator Coder, Experienced player (642)
Joined: 4/5/2014
Posts: 459
As of 4.0-3595, Proper Audio/Video Dumping is an official part of Dolphin :D
Experienced player (986)
Joined: 8/30/2012
Posts: 373
Great! Thank you.
Previous TASes: Frogger's Adventures: The Rescue Paper Mario: The Thousand-Year Door any% x 8 Paper Mario 64 Luigi's Mansion Sonic Heroes - Team Sonic Mario Kart Wii ILs
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Congrats!!!
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Experienced player (589)
Joined: 2/5/2011
Posts: 1417
Location: France
Damn, this time Dolphin is getting better. This is so great!
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 (589)
Joined: 2/5/2011
Posts: 1417
Location: France
btw, I don't manage to encode, it keeps saying stopping dumping frames to AVI once the encode is launched. :/
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
Fog
Emulator Coder, Experienced player (642)
Joined: 4/5/2014
Posts: 459
got4n wrote:
btw, I don't manage to encode, it keeps saying stopping dumping frames to AVI once the encode is launched. :/
Print out the full error code if you could
Experienced player (589)
Joined: 2/5/2011
Posts: 1417
Location: France
How to do that? It just says Dumping Frame to: DIRECTORY (RESOLUTION) then just after Frames Dumping To AVI Stopped and the movie is only 0:00:02 lol
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
Patashu
He/Him
Joined: 10/2/2005
Posts: 4045
got4n wrote:
How to do that? It just says Dumping Frame to: DIRECTORY (RESOLUTION) then just after Frames Dumping To AVI Stopped and the movie is only 0:00:02 lol
You should give the ROM/version/movie/etc you are using so it can be reproduced by other people.
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Fog
Emulator Coder, Experienced player (642)
Joined: 4/5/2014
Posts: 459
Patashu wrote:
got4n wrote:
How to do that? It just says Dumping Frame to: DIRECTORY (RESOLUTION) then just after Frames Dumping To AVI Stopped and the movie is only 0:00:02 lol
You should give the ROM/version/movie/etc you are using so it can be reproduced by other people.
It was an issue with Dolphin which has since been patched
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4038
That's awesome, way to go! Now we can make a submittable TAS on any new revision! And it looks like the dspdumps manually combine now and the segments don't add duplicate frames, so thanks for fixing those issues too.
Player (202)
Joined: 8/3/2012
Posts: 116
Location: U.S.
I have been having trouble with video audio syncing in a few Dolphin versions after the supposed fix (I'm using 4.0-4235). During changes in frame rate (when the frame rate drops to around 30 and the VPS stays at 60), the video goes faster for Super Smash Bros. Melee, and as a result the video is shorter than the audio in the end. I haven't tested other games, but I would assume the same applies for most other games. On the 4.2 a/v sync version here, it works perfectly fine.
Experienced player (691)
Joined: 11/23/2013
Posts: 2239
Location: Guatemala
I'm having the same issue, but I'm not using any a/v hack cuz no a/v hack opens or runs games on my PC. So... Can someone make an a/v hack for 4.0.2 32bit if possible?
Here, my YouTube channel: http://www.youtube.com/user/dekutony
Active player (274)
Joined: 2/1/2014
Posts: 928
Kurabupengin wrote:
I'm having the same issue, but I'm not using any a/v hack cuz no a/v hack opens or runs games on my PC. So... Can someone make an a/v hack for 4.0.2 32bit if possible?
they no longer support 32bit (everything 32bit has been removed). games just run too slow. You'll have to use 3.0 5 or whatever it is to play. but I would suggest just getting a better 64-bit computer, its pretty much the standard.
Skilled player (1743)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
gamerfreak5665 wrote:
I have been having trouble with video audio syncing in a few Dolphin versions after the supposed fix (I'm using 4.0-4235). During changes in frame rate (when the frame rate drops to around 30 and the VPS stays at 60), the video goes faster for Super Smash Bros. Melee, and as a result the video is shorter than the audio in the end. I haven't tested other games, but I would assume the same applies for most other games. On the 4.2 a/v sync version here, it works perfectly fine.
Related to this maybe?
Buddybenj
He/Him
Joined: 1/12/2013
Posts: 166
Location: USA
Kurabupengin wrote:
I'm having the same issue, but I'm not using any a/v hack cuz no a/v hack opens or runs games on my PC. So... Can someone make an a/v hack for 4.0.2 32bit if possible?
Is your processor 64-bit or 32-bit (go to Control Panel\System and Security\System and see if it says x64-based processor or x86-based processor)? If you have a 64 bit processor you can upgrade your version of Windows to 64-bit with the same product key. If you have a 32 bit processor you should get a new computer because your computer isn't powerful enough to use Dolphin.
Projects: Interested in TASing N64 Mario Golf. GBA Mario Tennis: Power Tour is on hold.
Player (202)
Joined: 8/3/2012
Posts: 116
Location: U.S.
jlun2 wrote:
gamerfreak5665 wrote:
I have been having trouble with video audio syncing in a few Dolphin versions after the supposed fix (I'm using 4.0-4235). During changes in frame rate (when the frame rate drops to around 30 and the VPS stays at 60), the video goes faster for Super Smash Bros. Melee, and as a result the video is shorter than the audio in the end. I haven't tested other games, but I would assume the same applies for most other games. On the 4.2 a/v sync version here, it works perfectly fine.
Related to this maybe?
Well, perhaps it is a bug in the vfw in windows. I will check the latest revision to see if it syncs up.
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
I have a question. How does one actually patch a given revision of Dolphin to add avsync to it? Say I checked out some old 3.0-dirty crap. What do I do next? Force some automatic merge with something? 2 year gap must break everything. Or is it some known set of files/functions that you add again and again? Or a patch that always is tweaked by hand?
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Fog
Emulator Coder, Experienced player (642)
Joined: 4/5/2014
Posts: 459
feos wrote:
I have a question. How does one actually patch a given revision of Dolphin to add avsync to it? Say I checked out some old 3.0-dirty crap. What do I do next? Force some automatic merge with something? 2 year gap must break everything. Or is it some known set of files/functions that you add again and again? Or a patch that always is tweaked by hand?
I usually merge by hand for stuff with a lot of conflicts, but I do use a diff tool for revisions not that far apart
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Phew! I think I got it. Rightclick on master -> TortoiseGit -> Pull. ("The difference between pull and fetch is: Pull will merge remote branch change to local branch which tracked with remote branch. Fetch just get change from remote branch and never merge.") Then simply use an avsync repo as a remote URL and pick a needed remote branch from that repo. Compiling the result of that right now... Can you guys confirm it's how it should be done? TortoiseGit steps: 1. Git Clone -> google.code or github URL. 2. Switch/Checkput -> desired Commit. 3. Pull -> Arbitrary URL to avsync repo, Remote Branch - which you need. Note: If pulling from natt's repo, use branch 3825S (it's when missing samples were fixed), but then go to log, select commit "STBM's memorycard.diff" and revert it :D. 4. Build Dolphin_2010.sln! If so, then before building, one needs to go to VideoCommon -> Util -> AVIDump.cpp, cut
Language: c

if (timecodes) { std::fclose (timecodes); timecodes = 0; }
out of AVIDump::CloseFile() and put it to AVIDump::Stop(), right? Right, splitting works as expected. EDIT: I noticed one more thing. Whenever I dump on x86 XP, overlapping windows break Dolphin capture by freezing it where the window is, and it doesn't happen to the same build on x64 7. What could be the reason for that? Dumping method doesn't affect it.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Fog
Emulator Coder, Experienced player (642)
Joined: 4/5/2014
Posts: 459
feos wrote:
Okay, I got avsync to build and run. But it doesn't look possible to properly merge it with master, at least under tortoisegit that I'm using. It only can Switch/Checkout master to a given revision, add avsnc submodule, and "commit" it to master. I can't seem to merge avsync submodule with master though. And when I choose "commit submodule to master", it waits forever while figuring out changes. There's a solution for command line, but I don't understand how it can be translated to tortoisegit:
If you have two projects, proj1 and proj2 and want to merge changes of proj1 into proj2, you would do it like this: # in proj2: git remote add proj1 path/to/proj1 git fetch proj1 git merge proj1/master # or whichever branch you want to merge
Choosing "Merge" from avsync tells everything is updated, but doesn't touch master. Choosing it from master wants to merge my local state to the main tree it seems. There's an option to merge a branch to master, but I can't add a separate repo by URL as a branch... EDIT: Phew! I think I got it. Rightclick on master -> TortoiseGit -> Pull. ("The difference between pull and fetch is: Pull will merge remote branch change to local branch which tracked with remote branch. Fetch just get change from remote branch and never merge.") Then simply use an avsync repo as a remote URL and pick a needed remote branch from that repo. Compiling the result of that right now... Can you guys confirm it's how it should be done? TortoiseGit steps: 1. Git Clone -> google.code or github URL. 2. Switch/Checkput -> desired Commit. 3. Pull -> Arbitrary URL to avsync repo, desired Remote Branch from it. 4. Build Dolphin_2010.sln! If so, then before building, one needs to go to VideoCommon -> Util -> AVIDump.cpp, cut
Language: c

if (timecodes) { std::fclose (timecodes); timecodes = 0; }
out of AVIDump::CloseFile() and put it to AVIDump::Stop(), right? EDIT: I noticed one more thing. Whenever I dump on x86 XP, overlapping windows break Dolphin capture by freezing it where the window is, and it doesn't happen to the same build on x64 7. What could be the reason for that? Dumping method doesn't affect it.
Could be a bug with that particular version of Dolphin you're using
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Any guess about possible reason? Dat quote!
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Fog
Emulator Coder, Experienced player (642)
Joined: 4/5/2014
Posts: 459
feos wrote:
Any guess about possible reason? Dat quote!
I haven't personally worked with Dolphin 3.0, so I'm not sure of the reason for it.
Player (202)
Joined: 8/3/2012
Posts: 116
Location: U.S.
ugh.... even on dolphin 4.0 -4971 the video and audio go out of sync... at least on like every gamecube game I try.
1 2
7 8 9