for file in *.wav; do lame -V2 “$file” “${file%.wav}”.mp3; done Higher values of the -V* parameter will reduce the quality and decrease the file size of the mp3 files. Make sure lame is installed.
Tag: OSX
Link OpenCV projects in OSX using gcc
After getting the OpenCV using mac port I ran into trouble linking projects using the OpenCV functionalities. Using linux, it is as easy as setting the “-lcv” linker flag. Using OSX, I was only successfull when the library paths are returned by the pkg-config utility. You can run the command without the back ticks, and copy… Continue reading Link OpenCV projects in OSX using gcc
Link OpenCV projects in OSX using gcc
After getting the OpenCV using mac port I ran into trouble linking projects using the OpenCV functionalities. Using linux, it is as easy as setting the “-lcv” linker flag. Using OSX, I was only successfull when the library paths are returned by the pkg-config utility. You can run the command without the back ticks, and copy… Continue reading Link OpenCV projects in OSX using gcc