Skip to content

[m4a] Ensure -d/--data option is provided to afconvert#88

Open
borgstrom wants to merge 1 commit into
ccrma:mainfrom
borgstrom:afconvert-m4a
Open

[m4a] Ensure -d/--data option is provided to afconvert#88
borgstrom wants to merge 1 commit into
ccrma:mainfrom
borgstrom:afconvert-m4a

Conversation

@borgstrom

Copy link
Copy Markdown

Trying to export to an .m4a file silently fails.

Running the command in the terminal yields:

❯ afconvert assignment-a.wav -o assignment-a.m4a -f m4af -s 3 -b 192000
Error: ExtAudioFileCreateWithURL failed ('fmt?')

Missing is the -d/--data format option:

❯ afconvert assignment-a.wav -o assignment-a.m4a -f m4af -d aac -s 3 -b 192000

Fixes #81
Fixes ccrma/chuck#372

Trying to export to an .m4a file silently fails.

Running the command in the terminal yields:

```
❯ afconvert assignment-a.wav -o assignment-a.m4a -f m4af -s 3 -b 192000
Error: ExtAudioFileCreateWithURL failed ('fmt?')
```

Missing is the -d/--data format option:

```
❯ afconvert assignment-a.wav -o assignment-a.m4a -f m4af -d aac -s 3 -b 192000
```
@borgstrom

Copy link
Copy Markdown
Author

@gewang can you please review this PR

@borgstrom

Copy link
Copy Markdown
Author

PS. I built the app following the instructions in the README.md file, then launched it from the ./src/macos directory, then repeated my test of trying to export a file to .wav & .m4a and succeeded:

❯ ls -al Untitled.*
-rw-r--r--@ 1 evan  staff    36904 Jun  8 11:12 Untitled.m4a
-rw-r--r--@ 1 evan  staff  1764044 Jun  8 11:12 Untitled.wav

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

Successfully merging this pull request may close these issues.

Can't export m4a or 48kHz .wav file on macs M4A export issues

1 participant