Skip to content
New issue

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

Cannot write output file #3

Open
yborunov opened this issue Aug 1, 2018 · 3 comments
Open

Cannot write output file #3

yborunov opened this issue Aug 1, 2018 · 3 comments

Comments

@yborunov
Copy link

yborunov commented Aug 1, 2018

let newAudioPath = audioPath.replace('.aac', '.mp3')

const transcodeResult = await transcode(audioPath, newAudioPath)

throws Cannot write output file exception.

newAudioPath =
/Users/user/Library/Developer/CoreSimulator/Devices/6CDD781C-BADC-4630-82E4-D25F76B3BF72/data/Containers/Data/Application/87E2E2CC-0415-48A6-B06A-FE990ADF21E4/Documents/file_1.mp3

screen shot 2018-07-31 at 8 52 42 pm

@DevJS
Copy link

DevJS commented Aug 9, 2018

+1 same here

@ThomasAbbink
Copy link

I had the same issue. The problem is that the implementation has been changed for iOS. It no longer converts to .mp3 but to .m4a, although the readme is not updated to point that out.

@Commander-lol
Copy link
Contributor

I can't comment too much on a update to re-implement the mp3 functionality as I no longer work on the project this was a part of, but as far as I can remember that was removed from the iOS version as some Apple update (whether that was iOS itself, AVMediaFoundation, or some other supporting library) caused the method for creating the file to fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants