1159b3361Sopenharmony_ciLAME DirectShow Filter 2159b3361Sopenharmony_ciVersion 1.0 3159b3361Sopenharmony_ci 4159b3361Sopenharmony_ciCopyright (c) 2000-2005 Marie Orlova, Peter Gubanov, Vitaly Ivanov, Elecard Ltd. 5159b3361Sopenharmony_ci 6159b3361Sopenharmony_ciThis library is free software; you can redistribute it and/or 7159b3361Sopenharmony_cimodify it under the terms of the GNU Library General Public 8159b3361Sopenharmony_ciLicense as published by the Free Software Foundation; either 9159b3361Sopenharmony_civersion 2 of the License, or (at your option) any later version. 10159b3361Sopenharmony_ci 11159b3361Sopenharmony_ciThis library is distributed in the hope that it will be useful, 12159b3361Sopenharmony_cibut WITHOUT ANY WARRANTY; without even the implied warranty of 13159b3361Sopenharmony_ciMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14159b3361Sopenharmony_ciLibrary General Public License for more details. 15159b3361Sopenharmony_ci 16159b3361Sopenharmony_ciYou should have received a copy of the GNU Library General Public 17159b3361Sopenharmony_ciLicense along with this library; if not, write to the 18159b3361Sopenharmony_ciFree Software Foundation, Inc., 59 Temple Place - Suite 330, 19159b3361Sopenharmony_ciBoston, MA 02111-1307, USA. 20159b3361Sopenharmony_ci 21159b3361Sopenharmony_ciThis library is a Microsoft(R) DirectShow(R) wrapper filter for 22159b3361Sopenharmony_ciLAME library. It adds DirectShow interface to the library and two 23159b3361Sopenharmony_ciproperty pages so you can tune some encoding parameters. 24159b3361Sopenharmony_ci 25159b3361Sopenharmony_ciWe are interested to hear from you, when you use this package 26159b3361Sopenharmony_cias part of another project. 27159b3361Sopenharmony_ci 28159b3361Sopenharmony_ciFilter Homepage http://www.elecard.com/products/layer3encoder.shtml 29159b3361Sopenharmony_ci 30159b3361Sopenharmony_ciVitaly Ivanov vitaly.ivanov@elecard.net.ru 31159b3361Sopenharmony_ci 32159b3361Sopenharmony_ci 33159b3361Sopenharmony_ci 34159b3361Sopenharmony_ciNOTE: 35159b3361Sopenharmony_ci1st: build dx9sdk/Samples/DShow/BaseClasses Project 36159b3361Sopenharmony_ci2nd: copy resulting strmbase.lib (or strmbasd.lib for debug support) 37159b3361Sopenharmony_ci into LAME's DShow folder 38159b3361Sopenharmony_ci3rd: add the BaseClasses directory path to the Visual Studio 39159b3361Sopenharmony_ci Include and Library directory search path lists 40159b3361Sopenharmony_ci i.e. for Visual Studio 6 choose: 41159b3361Sopenharmony_ci 42159b3361Sopenharmony_ci Tools -> Options -> Directories 43159b3361Sopenharmony_ci 44159b3361Sopenharmony_ci4th: build LAME .DLL builds (if you didn't yet) 45159b3361Sopenharmony_ci5th: build LAME DShow Filter 46159b3361Sopenharmony_ci 47159b3361Sopenharmony_ci 48159b3361Sopenharmony_ciTROUBLESHOOTING FAQ: 49159b3361Sopenharmony_ciQ. When trying to open a workspace file (.dsw), I get an "empty" workspace 50159b3361Sopenharmony_ci(i.e. there are no source files listed) and/or when trying to open a project 51159b3361Sopenharmony_cifile (.dsp), I get a "This makefile was not generated by Developer Studio" 52159b3361Sopenharmony_cierror. 53159b3361Sopenharmony_ci 54159b3361Sopenharmony_ciA. Often, this can be caused by having UNIX line breaks (LF) in the 55159b3361Sopenharmony_ci.dsw and .dsp files, as opposed to Windows line breaks (CR\LF). It 56159b3361Sopenharmony_ciis interesting to note that .dsw and .dsp files are just text files; 57159b3361Sopenharmony_ciyou can open them up in any text editor. If you open the .dsw and 58159b3361Sopenharmony_ci.dsp files in a text editor that can't handle UNIX line breaks 59159b3361Sopenharmony_ci(namely Notepad) you will probably see big, black squares at 60159b3361Sopenharmony_cithe end of lines. You can "fix" this error by following this procedure. 61159b3361Sopenharmony_ci 62159b3361Sopenharmony_ci1) Do NOT let Microsoft Visual C++ attempt to fix the problem! Press "No" when prompted. 63159b3361Sopenharmony_ci 64159b3361Sopenharmony_ci2) Open the .dsw and .dsp files in a text editor that understands UNIX line breaks. 65159b3361Sopenharmony_ciWordPad is one and it is available with most copies of Windows. 66159b3361Sopenharmony_ci 67159b3361Sopenharmony_ci3) Once open, simply re-save the file (In WordPad, make sure you set the Save 68159b3361Sopenharmony_ciAs type to "Text Document"). All UNIX line breaks should then be automatically 69159b3361Sopenharmony_ciconverted to Windows line breaks. 70159b3361Sopenharmony_ci 71