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

How can I transcode mp3 to aac? #79

Closed
DTHeaven opened this issue Aug 22, 2015 · 2 comments
Closed

How can I transcode mp3 to aac? #79

DTHeaven opened this issue Aug 22, 2015 · 2 comments

Comments

@DTHeaven
Copy link

I want to decode mp3 and write the audio data to mp4, how can I do.
Use recordSamples(Buffer... samples) ?
How can I get correct buffer form AVFrame?

Btw, is there any way to use AVAudioFifo?
Thanks.

@saudet
Copy link
Member

saudet commented Aug 22, 2015

I want to decode mp3 and write the audio data to mp4, how can I do.
Use recordSamples(Buffer... samples) ?
How can I get correct buffer form AVFrame?

There's an example here: bytedeco/javacv#169

Btw, is there any way to use AVAudioFifo?

Sure, we can add "fifo.h" and "audio_fifo.h" to the include list of header files. Let me know if you try it out! Thanks

saudet added a commit that referenced this issue Sep 13, 2015
 * Include `fifo.h` and `audio_fifo.h` header files in the `avutil` module of FFmpeg (issue #79)
@saudet
Copy link
Member

saudet commented Oct 30, 2015

Added in the newly released version 1.1. Thanks for reporting!

@saudet saudet closed this as completed Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants