帮酷LOGO
0 0 评论
文章标签:CAR  OGG  sound  记录  文件  输入  

将声卡的输入记录到ogg文件中

rec -c 2 -r 44100 -s -t wav - | oggenc -q 5 --raw --raw-chan=2 --raw-rate=44100 --raw-bits=16 - > MyLiveRecording.ogg
将输入保存到ogg文件中
示例输出
root@robby:/home/gnu# rec -c 2 -r 44100 -s -t wav - | oggenc -q 5 --raw --raw-chan=2 --raw-rate=44100 --raw-bits=16 - > MyLiveRecording.ogg
Codage de entr?e standard 
 en sortie standard 
? la qualit? 5,00
rec wav: Length in output .wav header will be wrong since can't seek to fix it
Input File : 'default' (alsa)
Sample Size : 16-bit (2 bytes)
Sample Encoding: signed (2's complement)
Channels : 2
Sample Rate : 48000
Time: 00:01.62 [00:00.00] of 00:00.00 (0.00%) Samples out: 67.7k Clips: 0 ^C


文章标签:文件  CAR  记录  sound  输入  OGG  

Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语