![Apache 提供的 MP3 文件有问题](https://linux22.com/image/625077/Apache%20%E6%8F%90%E4%BE%9B%E7%9A%84%20MP3%20%E6%96%87%E4%BB%B6%E6%9C%89%E9%97%AE%E9%A2%98.png)
我在使用 Apache 提供少数 MP3 文件时遇到了一些问题。大多数时候,我们的 MP3 文件都能正常提供并播放。有时却不能,但使用“lame -b 192 -h”可以解决问题。有时却不能,例如这个文件:
尝试重新编码此文件时,Lame 失败。但是我可以下载它(通过 wget 或 curl)并在本地播放,没有任何问题。有什么想法吗?以下是 lame 的输出:
ID3v2 found. Be aware that the ID3 tag is currently lost when transcoding.
LAME 3.98.2 64bits (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 16452 Hz - 17032 Hz
Encoding /src/cowbird-prod/content/items/stories/2012/03/22/10/56/15271/9b5ce75faa96ae2347a7d621ee2a1a2402e1257c9a488f6bd31df0c6d502533d-original.mp3
to test.mp3
Encoding as 48 kHz j-stereo MPEG-1 Layer III (12x) 128 kbps qval=2
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
0/ ( 0%)| 0:00/ : | 0:00/ : | x| :
0/4205 ( 0%)| 0:00/ 0:00| 0:00/ 0:00| 0.0000x| 0:00 --------------------------------------------------------------------------------------------------------------------------------
0/4205 ( 0%)| 0:00/ 0:00| 0:00/ 0:00| 0.0000x| 0:00 --------------------------------------------------------------------------------------------------------------------------------
0/4205 ( 0%)| 0:00/ 0:00| 0:00/ 0:00| 0.0000x| 0:00 --------------------------------------------------------------------------------------------------------------------------------
01:40-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
kbps % %
0.0 bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
5/4205 ( 0%)| 0:00/ 0:16| 0:00/ 0:13| 6.0000x| 0:13
-01:40------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
kbps LR MS % long switch short %
128.0 80.0 20.0 40.0 40.0 20.0
Writing LAME Tag...done
ReplayGain: -14.3dB