Gibushl2mukkelGibushey i just made a video using this tool and the audio isnt synced up to the video :/
it starts out fine but by the end the audio is 3 secs ahead of the video. did i do something wrong?
EDIT:
https://www.youtube.com/watch?v=mj0CuKAwA9w
(might be kinda hard to hear the in game sound over the music)
Could you tell me the settings you used and perhaps upload the demo so I can try to reproduce it? The program essentially appends all audio data it finds to the AVI file. Does it work fine when you use virtualdub? Note that audio isn't always synced up from the source recorder in source engine, however it could be a bug.
Here's what you can do: Record with the source recorder recorder while having "Delete TGA files on process" off, then render it in VirtualDub additionally. If you find difference in the quality of the movies, it's definitely a bug in the AVI recorder.
i rendered uncompressed with 60fps (8 frames processed per frame with 180 degree shutter) at 1080p
ive used srcdemo2 and sdr with virtualdub before and never had this issue
https://mega.nz/#!ONpDWD5A!U7YS3HZgrAYEbrvo6R7W5y5ZOkE7u2iCDZ6X-zR0jaw
heres a link to the demos, i used the stv demo and start tick is at 207k
Alright I did some testing where I left the TGA frames and the audio stream the source engine produced intact. Here is a comparison of the audio stream of the AVIRecorder AVI file (top) and the WAV file produced by the source engine (bottom): https://drive.google.com/open?id=0B_ChJn3mlIOgaWJVNFRUMnlZcU0
Additionally I rendered a movie showing a comparison between the AVIRecorder AVI file (left) and TGA files + WAV file (right) [compiled using VirtualDub 480 fps]: https://drive.google.com/open?id=0B_ChJn3mlIOgelExSE0teTNyNlE
The conclusions I draw from this are that the AVIRecorder does his job properly, the problem is the output of the Source Recorder being de-synced. This isn't new however, I've had this countless number of times and was fixed by streching the video.
Both the video stream and the audio stream are timewise identical. Additionally the tool does not manipulate the game in any way, all it does is write config files and start the game process using some command line arguments. The TGAs are fetched from the filesystem, not from the game.
AVIRecorder did its job properly, its the output from the Source Recorder that was desynced. You could try recording manually with host_framerate 480 and see if the issue presists, but on my machine it does.