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

wav --> amr #6

Open
jieatgstdev opened this issue Nov 21, 2017 · 8 comments
Open

wav --> amr #6

jieatgstdev opened this issue Nov 21, 2017 · 8 comments

Comments

@jieatgstdev
Copy link

1.3M wav --> 127kb amr
1.3M wav time is 20s, However, transcoding amr format audio became 1m20s.
why?

@hilen
Copy link
Owner

hilen commented Nov 21, 2017

Where to download the wav file?

@hupei1991
Copy link

Same issue here. The audio file is seemingly corrupted, which sounds like Lord Vader.

@hilen
Copy link
Owner

hilen commented Jul 26, 2018

@hupei1991 Where can I download the audio file?

@hupei1991
Copy link

I didn't download the audio file. I just used the AudioRecorder with default setting, to record my own voice, saving as WAV file. Then I tried to convert it to AMR. Then the sound was corrupted.

@hilen
Copy link
Owner

hilen commented Jul 26, 2018

Well, can you give me some infomation about the wav file. I think maybe something wrong with the audio file's detail information, such as bitstream, req_mode and etc. My E-mail is loktarlai#gmail.com. So can you send it to me? Thanks

@hilen
Copy link
Owner

hilen commented Jul 26, 2018

My another project TSWechat is using the library. It works fine. Here it is: https://github.com/hilen/TSWeChat/blob/master/TSWeChat/Classes/Chat/ChatHelper/AudioRecordManager.swift#L96-L104

@hupei1991
Copy link

hupei1991 commented Jul 26, 2018

I agree with you concerning the header info of the audio file. Please spare me some time so that I can revert my code, and send the original and converted audio file to your email.

@hupei1991
Copy link

hupei1991 commented Jul 26, 2018

@hilen I have already sent the related information and supporting files to you. Please check them out and let me know if there is anything else you need.

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

3 participants