Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
| import AVFoundation | |
| extension AudioBuffer { | |
| func array() -> [Float] { | |
| return Array(UnsafeBufferPointer(self)) | |
| } | |
| } | |
| extension AVAudioPCMBuffer { | |
| func array() -> [Float] { |
| protocol StringType { | |
| var isEmpty: Bool { get } | |
| } | |
| extension String : StringType { } | |
| extension Optional where Wrapped: StringType { | |
| var isNullOrEmpty: Bool { | |
| return self?.isEmpty ?? true | |
| } |
| ######################### | |
| # .gitignore file for Xcode4 and Xcode5 Source projects | |
| # | |
| # Apple bugs, waiting for Apple to fix/respond: | |
| # | |
| # 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
| # | |
| # Version 2.6 | |
| # For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
| # |