Board logo

标题: [系统相关] 批处理怎样实现录音? [打印本页]

作者: jshuanya    时间: 2011-1-5 18:22     标题: 批处理怎样实现录音?

能不能用批处理实现录音,每隔半小时保存一次,重新开始录。
作者: hanyeguxing    时间: 2011-1-5 19:18

使用第三方 mixmp3 ,下载:http://mixmp3.tpv.ru/mixmp3alpha.zip
语法:
mixmp3 [options] [outfile]
参数:    [-b bitrate] [-f buffer] [-s level] [-a] [-ms|j|m] [-ql|h|v] [-d frequency] [-x filename] [-split1|2|3|4] [-fhg] [-dc] [-abr | -vbr n] [-hide] [-play] [-devlist] [-pdev n] [-rdev n] [-dr] [-fl freq] [-fh freq]
        -b - bitrate, maybe 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, 192, 224, 256, 320 kbit/s, default - 128 kbps in vbr mode specify minimum allowed bitrate, default - 64 kbps
        -d - working samplerate, maybe 8, 11, 12, 16, 22, 24, 32, 44, 48, 64 or 96 kHz, default 44 kHz; if used samplerate exceed 48 kHz, then downsampled it to 48 kHz
        -t - limitation of coding on time, in minutes, by default - no limit
        -f - size of working buffer, in kbytes, starting with 512 kb, default - 5%% of physical RAM (for mono - 2.5%%)
        -s - cut of pauses on the indicated level, in dB, default - -50 dB
        -a - to place the increased priority of execution of an encoder, by default on Windows 9x, -a- disable this mode
        -x - sets a filename of a flag on which appearance the program completes operation, the file - flag thus is deleted
        -dc - prohibits deleting a constant component of a signal
        -ms - to use stereo mode (by default for bitrates >= 192)
        -mj - to use j-stereo mode (by default for bitrates < 192)
        -mm - to use mono mode
        -ql - to encode with low quality
        -qh - to encode with high quality (normal - by default)
        -qv - to encode with maximum quality
        -dr - don't allow samplerate convertion with encoder
        -fl - use lowpass filter
        -fh - use highpass filter
        -abr - enable average bitrate mode <ABR>
        -fhg - force using fhg mp3 acm codec (if installed) - very beta feature
        -vbr n - to use variable bitrate (VBR), when n - vbr quality (0..9)
        -hide - don't show program window, use stopmp3.flg file to exit
        -play - auto decode and play mp3-stream
        -devlist - display the list of record/playback devices
        -pdev - use device n for playback
        -rdev - use device n for recording
        -split1 - to divide into files duration 1 hour, daily cycle
        -split2 - to divide into files duration 1 hour, weekly cycle
        -split3 - to divide into files duration 1 hour, monthly cycle
        -split4 - to divide into files on pauses, see as a option -s
        outfile -resulting mp3 filename, by default - MMDDHHMMSS.mp3

[ 本帖最后由 hanyeguxing 于 2011-1-5 19:20 编辑 ]
作者: jshuanya    时间: 2011-1-6 21:04

一个小时一个小时分的啊,太长了。
-s参数,是50分贝的声音取消吗?很多声音可能就50dB
这分起来怎么分呢?
有点风吹草动还不都录进去了,然后生成一个超大的文件?
今天试了一下就一个split1参数,感觉录音声音很小,没有其他软件大。

[ 本帖最后由 jshuanya 于 2011-1-7 15:02 编辑 ]
作者: jshuanya    时间: 2011-12-19 16:27

回复 2# hanyeguxing


    输出的文件名只是小时
第二天的又全都覆盖掉了,怎么设置文件名?
我看说明好像默认年月日命名的。




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2