简体   繁体   English

WAV文件缺少音频和录音

[英]WAV File missing Audio and Recordings

We use FreePBX to record a conference line. 我们使用FreePBX录制电话会议。 This Line appears not to have disconnected and it created a continuous WAV file for 209 hours. 这条线似乎没有断开连接,并且它创建了209小时的连续WAV文件。

[matt@ait-debian ~/SLP ]$ mediainfo 7000-7000-always-20170823-162901-
1503469728.35757-1503469748.wav                                                                                                               

General
Complete name                            : 7000-7000-always-20170823-162901-
1503469728.35757-1503469748.wav
Format                                   : Wave
File size                                : 11.2 GiB
Duration                                 : 209 h
Overall bit rate mode                    : Constant
Overall bit rate                         : 128 kb/s

Audio
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : 1
Duration                                 : 209 h
Bit rate mode                            : Constant
Bit rate                                 : 128 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 8 000 Hz
Bit depth                                : 16 bits
Stream size                              : 11.2 GiB (100%)

But when I check with sox (Sound Exchange) it shows only 60hours worth of audio. 但是,当我用sox(声音交换)检查时,它只显示了60小时的音频。 VLC shows the same when listening to the file. 侦听文件时,VLC会显示相同的内容。

[matt@ait-debian ~/SLP ]$ soxi 7000-7000-always-20170823-162901-1503469728.35757-1503469748.wav                                                                                                                    

Input File     : '7000-7000-always-20170823-162901-1503469728.35757-
1503469748.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 16-bit
Duration       : 60:22:32.63 = 1738821024 samples ~ 1.63014e+07 CDDA sectors
File Size      : 12.1G
Bit Rate       : 444k
Sample Encoding: 16-bit Signed Integer PCM

The issue is that some timer after the 60 hours, at the about 72 hour mark another conference call was made that I need the recording for. 问题是60小时后的某个计时器(大约72小时)是另一个电话会议,我需要为其录音。

Now I would have thought that the conference continued to record so it should have recorded this audio. 现在,我以为会议会继续录制,因此它应该已经录制了此音频。

Issue is. 问题是。 VLC, SOX don't see it. VLC,SOX看不到。 But mediainfo says there is 209h worth. 但是mediainfo表示,它的价值为209h。 So which is correct. 所以这是正确的。 I would think that VLC, SOX should show 109h duration. 我认为VLC,SOX应该显示109h的持续时间。

Can anyone help or advise what happened? 任何人都可以帮助或建议发生了什么事?

I also posted this to reddit - https://www.reddit.com/r/linuxquestions/comments/6xbz8u/wav_file_missing_audio/ 我也将其发布到reddit- https: //www.reddit.com/r/linuxquestions/comments/6xbz8u/wav_file_missing_audio/

And was able to get an answer: 并能够得到答案:

Using Audacity 使用Audacity

  • Import the WAV file as RAW Data 将WAV文件导入为RAW数据
  • Set Encoding to Signed 16-bit PCM Set 将编码设置为带符号的16位PCM集
  • Set the Start Offset to 44 bytes 将开始偏移设置为44个字节
  • Set the Sample Rate 8000 Hz 设置采样率8000 Hz

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM