Archive: AVSGrabber 2.0 alpha


6th October 2003 05:02 UTC

AVSGrabber 2.0 alpha
Fancy a test-run? :)

http://acko.net/dump/avsgrabber2a.zip

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.


6th October 2003 06:51 UTC

http://acko.net/dump/DrifterWithSound.avi

DivX Video + MP3 sound :). Seems to work fine.


6th October 2003 07:56 UTC

I'll do some test-runs when I get home. Should be somewhere in the evening.


6th October 2003 12:28 UTC

Yay!

One thing - where is the output file? I can't find it :(


6th October 2003 13:00 UTC

UCD, it shoud be possible (and more usefull) to have a dsp plugin instead.


6th October 2003 17:21 UTC

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


6th October 2003 20:53 UTC

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.


6th October 2003 21:51 UTC

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... :(


6th October 2003 22:30 UTC

yeah, new avsgrabber, woot


7th October 2003 01:16 UTC

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).


7th October 2003 10:25 UTC

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.


17th June 2004 10:20 UTC

I tried the grabber in winamp5 but it didn't do anything....will try winamp2 soon....