cdp-snail

VoiceConvert/音频格式快速转换

1.工程中导入第三方库:VoiceConvert

要使用的地方#import "VoiceConverter.h"
2.

- (void)viewDidLoad
{
    NSString *videopath=@"";//文件的路径
    NSString *laocationgPath=@"";//转换后保存的路径
   
   // 音频转换
// wav   ---->   amr
    [VoiceConverter wavToAmr:videopath amrSavePath:laocationgPath];
// amr    ---->   wav
    [VoiceConverter amrToWav:videopath wavSavePath:laocationgPath];
}

分类:

技术点:

相关文章:

  • 2021-05-23
  • 2021-12-16
  • 2021-10-15
  • 2021-12-08
  • 2022-01-09
  • 2021-09-10
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2021-12-05
  • 2022-02-07
  • 2022-12-23
  • 2021-06-18
  • 2021-08-12
  • 2021-04-12
相关资源
相似解决方案