aac

Decode AAC to PCM with ffmpeg on android

若如初见. 提交于 2019-12-10 10:42:03
问题 I have built ffmpeg 0.8.12 (love) with the android NDK (r8c) on ubuntu. I then use the generated library in another android application through JNI. Essentially what I want to do is pass a byte stream from java to my c jni function and use ffmpeg to decode it into a PCM audio buffer which will then be passed back to java to be played using Android's AudioTrack. I can successfully pass the buffer through to jni (have checked the values) and ffmpeg seems to initialise correctly, but when it

iPhone - How to convert .caf audio files into .aac?

房东的猫 提交于 2019-12-10 10:23:54
问题 I am working on audio recording. I am able to record my audio in caf (Core audio format).i followed this tutorial Recording Audio on an iPhone with AVAudioRecorder. Now I don't want to record sound in .aac format directly, I need to convert recorded .caf audio file into .aac audio file... any idea how to do this? #import <UIKit/UIKit.h> #import <AVFoundation/AVFoundation.h> @interface recordViewController : UIViewController <AVAudioRecorderDelegate, AVAudioPlayerDelegate> { AVAudioRecorder

AAC license required for iPhone app?

…衆ロ難τιáo~ 提交于 2019-12-09 20:51:26
问题 AAC is an audio codec which was "Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at similar bit rates." (AAC on Wikipedia). However, similarly to MP3, parts of the AAC codec are patented, which means you can't simply use these codecs in all situations without making sure you are licensed to do so. This is also true if you developed your own encoder or decoder. This is because writing an own encoder or decoder frees you only from copyright

Convert AAC to WAV

落爺英雄遲暮 提交于 2019-12-09 13:44:09
问题 I'm already using the Media Foundation APIs (thanks to MFManagedEncode, http://blogs.msdn.com/b/mf/archive/2010/02/18/mfmanagedencode.aspx) to convert wav to aac. I haven't fully got my head around how this works, but it does work- thankfully. Now I'm finding it difficult transcoding the other way, even though there is a MF codec for it (AAC Decoder). I can't find examples of how to use this and I'm finding the MSDN documentation for it cryptic to say the least; anyone had an luck with it? A

flash audio player for m4a (AAC) audio file embedded in html

瘦欲@ 提交于 2019-12-08 12:58:00
问题 I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page). I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the

Android How can i play shoutcast AAC, AAC+, MP3 in MediaPlayer for Android 2.3 and above?

≯℡__Kan透↙ 提交于 2019-12-07 14:55:47
问题 I am developing a MP3 player, and I want to add radio features. Almost all StackOverflow posts about this are from 2010. This is very annoying for this topic, because I can't find a solution. I know that are commercial solutions, like AAC Player/Decoder and others. Can you give me some code examples instead? 回答1: Here example of a player: http://code.google.com/p/aacplayer-android/ 来源: https://stackoverflow.com/questions/9850328/android-how-can-i-play-shoutcast-aac-aac-mp3-in-mediaplayer-for

媒体转码截图和工作流场景常见问题【系列一】

橙三吉。 提交于 2019-12-06 06:22:20
摘要: 媒体处理创建消息主题出现“Only one topic can be created!”错误 目前媒体处理每个用户只能开一个管道,无法创建多管道,所以会出现Only one topic can be created!这个错误。 媒体处理创建消息主题出现“Only one topic can be created!”错误 目前媒体处理每个用户只能开一个管道,无法创建多管道,所以会出现Only one topic can be created!这个错误。 如果问题还未能解决,请联系 售后技术支持 。 媒体处理服务中AliyunAudioCodec中Profile字段的含义 媒体处理中的音频编解码配置类型中支持以下五种profile: MPEG-4 AAC LC (default) MPEG-4 HE-AAC (SBR) MPEG-4 HE-AAC v2 (SBR+PS) MPEG-4 AAC LD MPEG-4 AAC ELD 兼容性:LC-AAC > HE-AAC > HE-AAC v2压缩率:HE-AAC v2 > HE-AAC > LC-AAC LD跟ELD主要用于广播等快速编码场景。 SBR:Spectral Band Replication(频段复制),SBR把频谱切割开来,低频单独编码保存主要成分,高频单独放大编码保存音质。 PS:Parametric Stereo

Decode AAC to PCM with ffmpeg on android

点点圈 提交于 2019-12-06 06:18:54
I have built ffmpeg 0.8.12 (love) with the android NDK (r8c) on ubuntu. I then use the generated library in another android application through JNI. Essentially what I want to do is pass a byte stream from java to my c jni function and use ffmpeg to decode it into a PCM audio buffer which will then be passed back to java to be played using Android's AudioTrack. I can successfully pass the buffer through to jni (have checked the values) and ffmpeg seems to initialise correctly, but when it tries to decode the first frame, it throws an error in the aac_decode_frame_int method in aacdec.c

iPhone - How to convert .caf audio files into .aac?

时光毁灭记忆、已成空白 提交于 2019-12-06 00:18:55
I am working on audio recording. I am able to record my audio in caf (Core audio format).i followed this tutorial Recording Audio on an iPhone with AVAudioRecorder . Now I don't want to record sound in .aac format directly, I need to convert recorded .caf audio file into .aac audio file... any idea how to do this? #import <UIKit/UIKit.h> #import <AVFoundation/AVFoundation.h> @interface recordViewController : UIViewController <AVAudioRecorderDelegate, AVAudioPlayerDelegate> { AVAudioRecorder *audioRecorder; AVAudioPlayer *audioPlayer; UIButton *playButton; UIButton *recordButton; UIButton

Can FLV AAC stream be played in Android

元气小坏坏 提交于 2019-12-05 05:51:58
问题 I'm trying to build a radio player and the client is providing a stream which is a FLV container with the audio being AAC When I read the headers it shows up as audio/aacp. I have tried all possible ways such as using the 1) Streaming through mediaplayer (Does not work) 2) Use the NPR mode of using a proxy stream (I get a broken pipe exception) 3) Play it in chunks ( Plays but I need the SDCard and the playback is not very great) 4) Use the GPL'd FAAD2 Library but I would have to pay the