I got it working using file/asf as output type instead of wmv.
However, the sync problem still exists if I continue processing through a video encoder.
If I stream into a Theora video, using VLC, instead of dumping, A/V is out of sync too. What am I doing wrong here?