We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to convert opus file to mp3/wav file
But I get this error: opus codec not supported in WAVE format. for example I can
My code, can you please advise what I am do wrong?
Thanks override func viewDidLoad() { super.viewDidLoad()
input = Bundle.main.path(forResource: "example", ofType: "opus") let documents = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0] output = documents.appending("/result1.wav") self.convertAudio() } func convertAudio(){ self.ff.convertInputPath(input, outputPath: output, options: nil, progressBlock: { (bytesRead :UInt, totalBytesRead : UInt64, totalBytesExpectedToRead : UInt64) in print("OK") }) { (value, error) in print(error ?? "") } }
The text was updated successfully, but these errors were encountered:
?
Sorry, something went wrong.
No branches or pull requests
I try to convert opus file to mp3/wav file
But I get this error:
opus codec not supported in WAVE format.
for example I can
My code, can you please advise what I am do wrong?
Thanks
override func viewDidLoad() {
super.viewDidLoad()
The text was updated successfully, but these errors were encountered: