I've put together a first cut for a Win32 DLL using the BladeEnc interface. Right now, it's just a drop-in replacement for BladeEnc.dll that ignores all encoding parameters passed to it and uses the info_A vorbis_info struct (same as the encoder_example). It's not particularly useful as of yet, but you can rename it to BladeEnc.dll and use it with any number of rippers out there -- you just have to rename the resulting MP3 files to OGG... I'm in the process of updating my ripper to support it as well. The URL: http://xtractor.sourceforge.net/vorbdll-20000620.zip -- Andy ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
On a related note. Is there any interest in development of a Win32 ACM (Audio Compression Manager) DLL or DirectShow filter for the Vorbis codec? The work consists of compiling the code as a DLL and exposing a DriverProc function (ACM) or a set of COM interfaces (DShow). DShow filters (.ax files) plug into Windows Media Player and other apps. While the filter code interface is somewhat complex, DShow client apps such as WMP can integrate new file formats very easily with the addition of a new filter dll. ACM DLLs expose a simpler interface, usually suitable for frame based codecs, and are used in numerous apps that use audio compression. I'd be interested in signing up to do this work. Any interest here? jSelbie>From: "Andy Key" <scsiprog@hotmail.com> >Reply-To: vorbis-dev@xiph.org >To: vorbis-dev@xiph.org >Subject: [vorbis-dev] Win32 DLL >Date: Tue, 20 Jun 2000 07:41:40 GMT > >I've put together a first cut for a Win32 DLL using the BladeEnc interface. >Right now, it's just a drop-in replacement for BladeEnc.dll that ignores >all >encoding parameters passed to it and uses the info_A vorbis_info struct >(same as the encoder_example). > >It's not particularly useful as of yet, but you can rename it to >BladeEnc.dll and use it with any number of rippers out there -- you just >have to rename the resulting MP3 files to OGG... I'm in the process of >updating my ripper to support it as well. > >The URL: > http://xtractor.sourceforge.net/vorbdll-20000620.zip > >-- >Andy >________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >Ogg project homepage: http://www.xiph.org/ogg/________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
Dimitry, I'd be delighted to help with your ACM driver effort. An ACM DLL would simply need to link with vorbislib. Then the DriverProc messages would simply forward the work to the right functions. (e.g. ACMDM_STREAM_CONVERT message simply call vorbis_xxx routines for decoding). Most of the other ACM messagaes are just "details" structs for returning information describing the codec. Decoding should be easy, encoding would require you to make some simple decision on how to do the framing (if any). Probably just following the example code in the "encoder_example.c" and "decoder_example.c" app is all that's needed for getting started. (And of course, reading other docs!) Somewhere in the old NT4/Win95 DDK is sample code for the ADPCM ACM driver. As for DShow, it's a complicated beast. But the latest DShow docs provide C++ templates for simple file source and transform filters. Everything else is just overhead and registry keys. I'll start taking a look at DShow as a side project. The end goal being to have WMP play OGG files. My time is limited as well. If I did get something working, how do I go about submitting it to be included in the source distribution ? jSelbie>From: "Dimitry Andric" <dimitry@andric.com> >Reply-To: vorbis-dev@xiph.org >To: "John Selbie" <jselbie@hotmail.com> >CC: vorbis-dev@xiph.org >Subject: Re: [vorbis-dev] Win32 DLL >Date: Tue, 20 Jun 2000 22:36:34 +0200 > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >On 2000-06-20 at 13:23 John Selbie wrote: > > >On a related note. Is there any interest in development of a Win32 > >ACM (Audio Compression Manager) DLL or DirectShow filter for the > >Vorbis codec? The work consists of compiling the code as a DLL and > >exposing a DriverProc function (ACM) or a set of COM interfaces > >(DShow). > > > >DShow filters (.ax files) plug into Windows Media Player and other > >apps. While the filter code interface is somewhat complex, DShow > >client apps such as WMP can integrate new file formats very easily > >with the addition of a new filter dll. > > > >ACM DLLs expose a simpler interface, usually suitable for frame > >based codecs, and are used in numerous apps that use audio > >compression. > > > >I'd be interested in signing up to do this work. Any interest here? > > > >Sure, Florian Bruckner <h9651030@miraculix.wu-wien.ac.at> and I ><dimitry@andric.com> have already started building a ACM codec. It is >far from finished, however, only the framework is in place. No >decoding or encoding is done at the moment, we're still figuring out >how to do that. :) Reading the libvorbis docs will surely help, but >I'm a little short on time at the moment... > >Also, I have no experience with DirectShow filters, but this would be >a good thing to make. If you have any knowledge of this, you might >want to start a project for it. As far as I know, there hasn't been >such a project set up by anyone. Anyone? > >The current source for the ACM codec has been put at SourceForge, you >should be be able to check it out anonymously with > >cvs -z3 >- -d:pserver:anonymous@cvs.vorbisACM.sourceforge.net:/cvsroot/vorbisACM >co oggACM > >There's also a web page, but there's not much to see there. If you >have any comments or suggestions for the ACM codec, please mail them >to <vorbisacm-developer@lists.sourceforge.net>. If you mail either >Florian or me privately, it won't be archived in a central place... > >Cheers, >- -- >Dimitry Andric <dimitry@andric.com> >PGP key: http://andric.com/dim.asc >KeyID: 4096/1024-0x2E2096A3 >Fingerprint: 7AB4 62D2 CE35 FC6D 4239 4FCD B05E A30A 2E20 96A3 > >-----BEGIN PGP SIGNATURE----- >Version: Encrypted with PGP Plugin for Calypso >Comment: http://www.gn.apc.org/duncan/stoa_cover.htm > >iQA/AwUBOU/HwrBeowouIJajEQKjfACgyOth5CypkveXr8I1zx6N7kjoyc4An23F >99XEul7nsaC+UFhGY0E+9uYW >=3YbY >-----END PGP SIGNATURE----- > > > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >Ogg project homepage: http://www.xiph.org/ogg/________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
Is anyone working on moving the decoder/player into DLL form? John ----- Original Message ----- From: "Andy Key" <scsiprog@hotmail.com> To: <vorbis-dev@xiph.org> Sent: Tuesday, June 20, 2000 12:41 AM Subject: [vorbis-dev] Win32 DLL> I've put together a first cut for a Win32 DLL using the BladeEncinterface.> Right now, it's just a drop-in replacement for BladeEnc.dll that ignoresall> encoding parameters passed to it and uses the info_A vorbis_info struct > (same as the encoder_example). > > It's not particularly useful as of yet, but you can rename it to > BladeEnc.dll and use it with any number of rippers out there -- you just > have to rename the resulting MP3 files to OGG... I'm in the process of > updating my ripper to support it as well. > > The URL: > http://xtractor.sourceforge.net/vorbdll-20000620.zip > > -- > Andy > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ >--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
Andy, I renamed the VORBIS dll to bladenc.dll and ran it with my application. It returned the following error: Failed to encode track C:\DOCUME~1\ZITT\LOCALS~1\TEMP\METALLICA - RIDE THE LIGHTNING (05) TRAPPED UNDER ICE.WAV to 11: beEncodeChunk() failed - 4 C:\Temp\Metallica\Ride The Lightning\METALLICA - RIDE THE LIGHTNING (05) TRAPPED UNDER ICE.MP3 I'm going to look further into this tonight... after I mow the lawn. John ----- Original Message ----- From: "Andy Key" <scsiprog@hotmail.com> To: <vorbis-dev@xiph.org> Sent: Tuesday, June 20, 2000 12:41 AM Subject: [vorbis-dev] Win32 DLL> I've put together a first cut for a Win32 DLL using the BladeEncinterface.> Right now, it's just a drop-in replacement for BladeEnc.dll that ignoresall> encoding parameters passed to it and uses the info_A vorbis_info struct > (same as the encoder_example). > > It's not particularly useful as of yet, but you can rename it to > BladeEnc.dll and use it with any number of rippers out there -- you just > have to rename the resulting MP3 files to OGG... I'm in the process of > updating my ripper to support it as well. > > The URL: > http://xtractor.sourceforge.net/vorbdll-20000620.zip > > -- > Andy > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ >--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
Hi John, Yes, I had already found that one and fixed it -- that's what happens when you add something and don't test it. Currently I'm planning on releasing a new version of my ripper tomorrow with the vorb_enc.dll included. I've added code to handle the comments header for the ogg stream as well, and it appears to integrate nicely with the WinAmp plugin. I'll build and post the new DLL shortly. regards, Andy>From: "John Zitterkopf" <zitt@bigfoot.com> >Reply-To: vorbis-dev@xiph.org >To: <vorbis-dev@xiph.org> >Subject: Re: [vorbis-dev] Win32 DLL >Date: Sat, 24 Jun 2000 23:59:45 -0700 >MIME-Version: 1.0 >Received: from [216.7.183.2] by hotmail.com (3.2) with ESMTP id >MHotMailBB1EF8F00019D82197ABD807B70210D30; Sun Jun 25 00:00:05 2000 >Received: by motherfish.xiph.org (Postfix)id 46DA01A1007; Sun, 25 Jun 2000 >00:02:03 -0700 (PDT) >Received: by motherfish.xiph.org (Postfix, from userid 30)id 336DE1A100C; >Sun, 25 Jun 2000 00:02:03 -0700 (PDT) >Received: from router.zittware.com (sub35-246.member.dsl-only.net >[216.36.35.246])by motherfish.xiph.org (Postfix) with ESMTP id >4AE501A1007for <vorbis-dev@xiph.org>; Sun, 25 Jun 2000 00:02:01 -0700 (PDT) >Received: from ZITTWARE1 (zittware1.zittware.com [192.168.0.1])by >router.zittware.com (Postfix) with SMTP id 8FCC2217B6for ><vorbis-dev@xiph.org>; Sat, 24 Jun 2000 23:59:45 -0700 (PDT) >From owner-vorbis-dev@xiph.org Sun Jun 25 00:03:08 2000 >Delivered-To: vorbis-dev-outgoing@xiph.org >Delivered-To: vorbis-dev@xiph.org >Message-ID: <006601bfde72$f1f35f80$0100a8c0@zittware.com> >References: <20000620074140.84582.qmail@hotmail.com> ><009e01bfde2a$e61016b0$f7ffa8c0@zittware.com> >X-Priority: 3 >X-MSMail-Priority: Normal >X-Mailer: Microsoft Outlook Express 5.00.2919.6700 >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 >Sender: owner-vorbis-dev@xiph.org >Precedence: bulk > >Andy / All, > >I fixed the the problem with the encoder dll: > >in > >BOOL thisStreamSucks( HBE_STREAM hbeStream ) > >the line that reads >if ( !bFirst ) > >should read > if ( bFirst ) > >Not bFirst causes the astreams stucture to be reinitialized to NULLs which >then cause the stream check below this line to fail. > >John > >----- Original Message ----- >From: "John Zitterkopf" <zitt@bigfoot.com> >To: <vorbis-dev@xiph.org> >Sent: Saturday, June 24, 2000 3:24 PM >Subject: Re: [vorbis-dev] Win32 DLL > > > > Andy, > > > > I renamed the VORBIS dll to bladenc.dll and ran it with my application. >It > > returned the following error: > > > > Failed to encode track C:\DOCUME~1\ZITT\LOCALS~1\TEMP\METALLICA - RIDE >THE > > LIGHTNING (05) TRAPPED UNDER ICE.WAV to 11: beEncodeChunk() failed - 4 > > C:\Temp\Metallica\Ride The Lightning\METALLICA - RIDE THE LIGHTNING (05) > > TRAPPED UNDER ICE.MP3 > > > > I'm going to look further into this tonight... after I mow the lawn. > > > > John > > > > ----- Original Message ----- > > From: "Andy Key" <scsiprog@hotmail.com> > > To: <vorbis-dev@xiph.org> > > Sent: Tuesday, June 20, 2000 12:41 AM > > Subject: [vorbis-dev] Win32 DLL > > > > > > > I've put together a first cut for a Win32 DLL using the BladeEnc > > interface. > > > Right now, it's just a drop-in replacement for BladeEnc.dll that >ignores > > all > > > encoding parameters passed to it and uses the info_A vorbis_info >struct > > > (same as the encoder_example). > > > > > > It's not particularly useful as of yet, but you can rename it to > > > BladeEnc.dll and use it with any number of rippers out there -- you >just > > > have to rename the resulting MP3 files to OGG... I'm in the process >of > > > updating my ripper to support it as well. > > > > > > The URL: > > > http://xtractor.sourceforge.net/vorbdll-20000620.zip > > > > > > -- > > > Andy > > > >________________________________________________________________________ > > > Get Your Private, Free E-mail from MSN Hotmail at >http://www.hotmail.com > > > > > > > > > --- >8 ---- > > > List archives: http://www.xiph.org/archives/ > > > Ogg project homepage: http://www.xiph.org/ogg/ > > > > > > > > > --- >8 ---- > > List archives: http://www.xiph.org/archives/ > > Ogg project homepage: http://www.xiph.org/ogg/ > > > > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >Ogg project homepage: http://www.xiph.org/ogg/________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/