-
Notifications
You must be signed in to change notification settings - Fork 290
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
Add MP3 support (with minimp3) for Audio Dataset and IOTensor #801
Conversation
This PR adds MP3 support (with minimp3) for Audio Dataset and IOTensor. The difference between this PR and FFmpeg is that FFmpeg is only supported on specific Ubuntu 16.04 and 18.04, though external .so. This PR builds minimp3 as part of the program and support Windows/Linux/macOS. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Looks great!
The error of skipping the not decodable first frames in callback mode was fixed here lieff/minimp3@2b9a023 . It's rare case, but may be worth updating. |
Thanks. Glad to help :) |
@yongtang sorry, didn't had much time recently. I update my benchmarks to include 0.12.0 and tested the minimp3 performance. Its almost factor 10 faster than ffmpeg! 🐎 |
@faroit Nice 👍 ! |
…flow#801) * Add MP3 support (with minimp3) for Audio Dataset and IOTensor This PR adds MP3 support (with minimp3) for Audio Dataset and IOTensor. The difference between this PR and FFmpeg is that FFmpeg is only supported on specific Ubuntu 16.04 and 18.04, though external .so. This PR builds minimp3 as part of the program and support Windows/Linux/macOS. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update minimp3 to carry patch on Windows Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This PR adds MP3 support (with minimp3) for Audio Dataset and IOTensor.
The difference between this PR and FFmpeg is that FFmpeg is only supported
on specific Ubuntu 16.04 and 18.04, though external .so.
This PR builds minimp3 as part of the program and support Windows/Linux/macOS.
/cc @faroit in case you might be interested.
Signed-off-by: Yong Tang yong.tang.github@outlook.com