-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pure-Go AAC Decoder #9
Comments
Note, there's already an open issue for this: faiface/beep#55, might be worth upstreaming if we get this working. |
As far as I can see, it's https://github.com/gen2brain/aac-go, but that's a cgo binding |
Well, I appear to have fubar'd my gstreamer/pkg-config install on windows. I do have a solution that shells out to FFmpeg to transcode to PCM and then use https://github.com/faiface/beep to play the tracks. However, https://github.com/faiface/beep requires valid chunk lengths to be defined in the |
Pandora appears to have added some new required parameters to the REST login payload that appear random/encrypted. Fortunately, the tokens returned by the Legacy JSONv5 API are valid for the REST API. As a workaround, we use the Legacy JSONv5 API to perform a Partner Login as an android device and then a User Login to get a token. Every request after this uses the REST API. Additionally, swap out gstreamer for FFmpeg+beep. We pipe tracks to FFmpeg and write them to a temporary file, then use beep to play the file. github.com/faiface/beep/wav refuses to play files with garbage chunk lengths (which FFmpeg sets if you stream to stdout) so we have to transcode the whole file first. These two changes are combined because my gstreamer/pkg-config install appears to be broken so I couldn't test them independently. Fixes #24 Obsoletes #10, #16, and #23 Partially Addresses #8 and #9
Unless we can figure out #8 , we should probably write a native AAC Decoder so we can drop gstreamer and use
github.com/faiface/beep
.The text was updated successfully, but these errors were encountered: