English 中文(简体)
Can you encode an mp3 file with multiple bitrates?
原标题:
  • 时间:2009-11-19 18:06:12
  •  标签:
  • mp3

Is it possible to encode an mp3 file using multiple bit rates?

e.g., 0-2min 64kbps, 2-4min 128kbps, and 4-10min 64kbps (the middle section needs higher sound quality)

Or am I stuck having to encode it all at the highest?

最佳回答

Yes. See the following:

Variable Bitrate @ Wikipedia

You will either need an encoder that supports it, or, if you are emitting frames on your own- you can vary the rate per segment as you wish.

edit:
Also, you may have better luck looking for resources using the VBR (variable-bit-rate) keyword.

edit (caveat):
You should note that there are potentially two different concepts in conflict here, as mentioned by sellibitze.

A higher bitrate allows the capability of storing more audio detail, but doesn t do anything for the fidelity of your recording. If your recording was already of low quality, higher bitrates will only help preserve the level of fidelity available in your audio sample.

问题回答

Does the middle section need to be higher quality or just higher bitrate to maintain constant quality. If it s the latter you get it with a decent encoder in VBR mode (variable bitrate). If you want the quality of the middle section ("region of interest") to be higher I don t think it s that easy. In theory you can encode the track twice and mix & match afterwards. But mixing frames is not that easy due to the bitreservoir.

I think you are looking for the term variable bit rate, more info here.





相关问题
C# WMPLib Duration of a mp3

Im using WMPLib to make an easy mp3player in C#. Im almost done but theres one more thing I want to do. I Would like to how far gone the song is and also, how much is left of the song. using for ...

Playing MP3 files with Python

I m trying to write my own media player (like Foobar), and I m having trouble tracking down a Python library that ll play MP3s. I know Pymedia does mp3s, but it looks outdated - the latest installer ...

How do you create a web audio playlist?

I m researching ways to create a web radio station of sorts. It will have streaming MP3 audio from TV programs for users to listen to. They should have the option of just listening to the stream or ...

How to write mp3 frames from PCM data (C/C++)?

How to write mp3 frames (not full mp3 files with ID3 etc) from PCM data? I have something like PCM data (for ex 100mb) I want to create an array of mp3 frames from that data. How to perform such ...

Can you encode an mp3 file with multiple bitrates?

Is it possible to encode an mp3 file using multiple bit rates? e.g., 0-2min 64kbps, 2-4min 128kbps, and 4-10min 64kbps (the middle section needs higher sound quality) Or am I stuck having to encode ...

C# Play MP3 from Resources with MCI or WMP control?

I have a MP3 file in my Resources of Visual C#. I m trying to find out if there is a way I can play this MP3 in a Windows Media Player control or with MCI, I m not particular. I m fairly new to C#. ...

热门标签