Good day everyone!

I'm going to write a commercial cross-platform application (and port it to
iPhone) which will convert various audio and video formats (audio stream
only) to aac format. I managed to compile the most recent stable version on
my Mac and convert some files into aac with command-line ffmpeg program. Now
I want to port that for iPhone and add some GUI not violating LGPL licence.

So I have several questions:
1. Will I have to pay any licence fees for AAC encoding or several formats
decoding with FFmpeg (provided that program complies with LGPL)?
2. There is a statement that I have to build FFmpeg code as dynamic library
in order to comply with LGPL. I'm actually a Windows programmer and that's
not a problem to build a dll. Is it OK to build *.so for Linux or *.dylib
for Mac? And if it's OK, is there some makefile that is capable of doing
this?
3. I'm trying to figure out how can I build my application. I've read some
tutorials and found that I can do the following:
- init all libraries
- open source file in auto mode
- open the first audio stream
- open the output stream and file specifying AAC format
- call aac_init_encode()
- set up a loop where I read a frame of input format and make
aac_encode_frame
Is that strategy right?

Thanks forward for any help!

Best regards, Denis
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to