IPB

Welcome Guest ( Log In | Register )

Help building batch Ogg, ape encoder/decoder without dll's with vi
razor8
post Dec 28 2010, 16:23
Post #1





Group: Members
Posts: 1
Joined: 28-December 10
Member No.: 86871



Hello hydrogenaudio community, i want to write a commandline tool which is able to encode wav's into ogg's or ape's and decode them back to the original wav's. im completly new to vorbis and monkey's audio, i only used bass-library before which was pretty easie to tuse. i've been trying to build(compile) oggenc and oggdec projects using Visual Studio 2010 without any success. there are allways missing headers or and other things (linkage errors) for example:
Cannot open include file: 'ogg/ogg.h': No such file or directory (even if i located the files there...)
why does a crossplattfrom project include unistd.h which isnt avaliable on windows? i've searched two days for a guide on how to compile vorbis-projects correctly, i read many threads in this forum but i just got even more confused:(

what the programm should to:
parse commandline args, the user has to define if the programm should encode or decode the input files and which compression should be used: ogg or ape (this is no problem)
generate a recursive list of all files in the current workdirectory (thats no problem, i allready coded that part), for encoding input files are allways wav's.
encode / decode the files from the list using the user specified compression mode
delete the original files.

please point me into the right direction. a guide on howto compile and integrate oggenc/oggdec and MACLib into my project.

btw: coding language is c++

thank you for your help
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th November 2014 - 09:36