[进阶]批量解码转换SILK V3编码音频为其他格式
前有《解码转换QQ微信的SILK v3编码音频为MP3或其他格式》这篇文章,在此基础上,添加批量转换的功能。Github项目地址:https://github.com/kn007/silk-v3-decoder,内含Skype Silk Codec。
单文件转换说明,直接看上篇帖子,新版本兼容上版本转换方式,需要注意的是,脚本名称改变了。
多文件批量转换说明如下:
sh converter.sh input_folder output_folder output_format
举例,现在目录input是待转换的音频文件目录,output是音频输出的目录,想将所有silk v3编码格式的音频转换为MP3,那么命令如下:
sh converter.sh input ouput mp3
如此简单。
做这个功能本身也算是有需要吧,但是因为懒,懒得弄,一直拖拖的。
直到收到一封邮件后:
Hi there,
I saw your script from github website and found it very useful. thank you!
Could you possibly tell me how to convert all audio files in one folder? instead of converting this one by one?
Would it be possible to update your script including the above feature please?
Many thanks in advance for your tip.
kind regards,
Jung
既然有需求,就把要求满足了。
几个可能需要做的point:1.添加转换文件输出是否成功的支持。
2.优化代码。
3.在线版?
Leave [进阶]批量解码转换SILK V3编码音频为其他格式 to:
Read more #silk posts
Best Posts From kn007
We have not curated any of kn007's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From kn007
- Windows下批量转换Silk v3音频文件为MP3格式
- [进阶]批量解码转换SILK V3编码音频为其他格式
- How to reduce/shrink ibdata1 in MySQL 5.6 // MySQL 5.6 如何给ibdata1瘦身
- 生成Certificate Signing Request(CSR)
- 记一次Kernel Panic修复
- Postfix小结,补充点其他点滴记录
- [Postfix进阶]对于邮件被标记为Spam的一些可能原因分析
- [Postfix进阶]使用新版DKIM签名(OpenDKIM)
- [Postfix进阶]Dovecot 2 配置小谈,简单聊下邮件系统的配置
- [Postfix进阶]SMTP TLS 加密
- [Postfix进阶]Postfix配置SPF并禁止伪造发件人
- [Postfix进阶]CentOS邮件系统添加DKIM签名
- SSH登录时自动邮件提醒