Python 读取WAV文件并绘制波形图

bash;gutter:true;
ffmpeg -i test_pcm_mulaw.wav -f wav -codec:a pcm_s16le -ar 8000 -ac 1 out.wav

yingc@yingc:~/media/audio$ ffprobe out.wav
ffprobe version 2.2.4 Copyright (c) 2007-2014 the FFmpeg developers
built on Apr 13 2016 08:42:24 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: –prefix=/home/yingc/git/thirdparty/av/ffmpeg/output/ffmpeg_build/ –bindir=/home/yingc/git/thirdparty/av/ffmpeg/output/bin –extra-cflags=’ -I/home/yingc/git/thirdparty/av/ffmpeg/output/ffmpeg_build/include’ –extra-ldflags=-L/home/yingc/git/thirdparty/av/ffmpeg/output/ffmpeg_build/lib –extra-libs=-ldl –enable-gpl –enable-libass –enable-libfdk-aac –enable-libfreetype –enable-libmp3lame –enable-libopus –enable-libtheora –enable-libvorbis –enable-libvpx –enable-libx264 –enable-nonfree –enable-x11grab –disable-stripping –enable-extra-warnings –disable-optimizations –enable-openssl –enable-static –enable-debug=3
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, wav, from ‘out.wav’:
Metadata:
encoder : Lavf55.33.100
Duration: 00:08:10.03, bitrate: 128 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, 1 channels, s16, 128 kb/s

Original: https://www.cnblogs.com/jingzhishen/p/7060020.html
Author: 静之深
Title: Python 读取WAV文件并绘制波形图

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/9815/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

免费咨询
免费咨询
扫码关注
扫码关注
联系站长

站长Johngo!

大数据和算法重度研究者!

持续产出大数据、算法、LeetCode干货,以及业界好资源!

2022012703491714

微信来撩,免费咨询:xiaozhu_tec

分享本页
返回顶部
最近整理资源【免费获取】:   👉 程序员最新必读书单  | 👏 互联网各方向面试题下载 | ✌️计算机核心资源汇总