Skip to content
Forum Archive

AVSGrabber 2.0 alpha

12 posts

UnConeD#edited

AVSGrabber 2.0 alpha

Fancy a test-run? 🙂

A blog about random hacks, graphics and design, math and other ephemera.


This is the alpha for AVSGrabber 2. I'm working on adding audio capturing. Right now there's no GUI for any of that though, it captures raw audio in the format winamp supplies (usually Stereo 44100Hz 16-bit PCM).

Instructions:
- Put the out_grab.dll in Winamp\Plugins
- Put the avsgrabber.ape in Winamp\Plugins\AVS

Start up Winamp2, go into output plugins and choose AVSGrabber Audio Plug-in. Fire up AVS, capture AVI as usual. If there is a small button on the taskbar saying AGAC, then it means it is listening for audio.

The output plug-in is a very barebones waveoutput (no volume/balance settings) that acts as a passthrough for the audio being sent to AVSGrabber.
I recommend switching back to regular waveout/directsound plug-ins after grabbing. Mine is very sucky 🙂.

The main issue now is passing the audio data from the output plug-in into AVS and AVSGrabber. It should be fast and not hang any of the existing threads (otherwise grabbed audio would skip).

If the sound skips, go into AVS options, display, Render thread priority: Lowest. This will slow down avs a bit though.
UnConeD#edited
A blog about random hacks, graphics and design, math and other ephemera.


DivX Video + MP3 sound 🙂. Seems to work fine.
Deamon#
Works great over here 🙂 I love it, though it seems (I'm not sure) That the output file won''t show up when grabbing isn't stopped properly, and winamp is closed. Though I got a nice speedy capture WITH SOUND over here.

Good work UnconeD
UnConeD#
Magic.X: unfortunately the DSP plug-ins receive the audio as it is decoded and NOT when it is going to be played. So a DSP plug-in has no idea when the audio it receives should be sent to the AVI.
That's why I used an output plug-in. I use the feedback from the waveout procedures to tell me when a block is ready to be sent to AVSGrabber.

Pixelcraft: not sure what you mean, it puts the AVI at the path specified. If you didn't specify an absolute path, it's probably somewhere in the winamp directory.
Pixelcraft#
Nevermind, I found it 🙂

I played it and there was no sound, and no picture. It was playing, but all there was was a black screen. This is a problem I had with the earlier version, it only worked every once in a while... 🙁
UnConeD#
Daemon: when you stop grabbing, the .avi file is finalised and closed. If you shut down AVS/Winamp, the .avi is not closed properly and will be corrupt.

Virtualdub should still be able to read it though. It's also a handy program to compress the raw video and audio into something proper (like DivX + MP3 or Ogg).
Deamon#
Oh but I closed it properly, and I could view the AVI nicely, when I found it. It just took about 5 minutes before it appeared in the folder I grabbed it to.