prev/next

Audio Formats

How can I use Encoding.com to create audio-only tracks from my video source?

Our audio only conversion service enables you to strip the audio out of a video file to create a standalone audio file. You can easily do this via our API or customer area: http://www.encoding.com/login

via API:
For this example, we will use the MP3 template. in your POST, call for the following task: http://www.encoding.com/help/article/aac_audio_template

 More -->
Our audio only conversion service enables you to strip the audio out of a video file to create a standalone audio file. You can easily do this via our API or customer area: http://www.encoding.com/login

via API:
For this example, we will use the MP3 template. in your POST, call for the following task: http://www.encoding.com/help/article/aac_audio_template

via web UI:
In the task viewer, please add the MP3, Windows Media Audio, or AAC audio template.

For more information:
http://www.encoding.com/features/audio_images

Interested in viewing the templates for API usage or web UI:
http://www.encoding.com/help/article/aac_audio_template
http://www.encoding.com/help/article/windows_media_audio_template
http://www.encoding.com/help/article/mp3_audio_template

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

How can I copy metadata in my mp3 files?

Need to pass supported metadata information in your mp3 --> mp3 encodes. Use this addition to your XML.  Valuable information, such as title, artist and album will be passed through on your encodes. 

<metadata>
<copy>yes</copy>
</metadata>

Need to inject other metadata? Please check out our API documentation on metadata insertion:

http://www.encoding.com/api/category/category/complete_api_documentation#metadata_fields

Need to pass supported metadata information in your mp3 --> mp3 encodes. Use this addition to your XML.  Valuable information, such as title, artist and album will be passed through on your encodes. 

<metadata>
<copy>yes</copy>
</metadata>

Need to inject other metadata? Please check out our API documentation on metadata insertion:

http://www.encoding.com/api/category/category/complete_api_documentation#metadata_fields

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

How can I correct audio sync issues?

You can easily correct audio sync issues by setting the audio_sync tag in your XML, as follows: 

 <audio_sync>1</audio_sync> 

This works by adjusting the output audio stream to match the source timestamps, in # of samples per second. Consider this a great for fixing sync when source is variable framerate, or has timescale problems.

The most common instance

 More -->

You can easily correct audio sync issues by setting the audio_sync tag in your XML, as follows: 

<audio_sync>1</audio_sync>

This works by adjusting the output audio stream to match the source timestamps, in # of samples per second. Consider this a great for fixing sync when source is variable framerate, or has timescale problems.

The most common instance of this is webcam video recorded with Nellymoser audio codec from the free flash plugin.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

How can I copy audio in my encodes?

If you specify the audio_codec tag to equal 'copy', the options audio_channels_number, audio_sample_rate, audio_bitrate will be ignored and their values will be copied from your source file.

Example:

<audio_codec>copy</audio_codec>

If you specify the audio_codec tag to equal 'copy', the options audio_channels_number, audio_sample_rate, audio_bitrate will be ignored and their values will be copied from your source file.

Example:

<audio_codec>copy</audio_codec>
<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

AAC Audio Template

Standard AAC Audio Template

 

<format>
    <audio_bitrate>64k</audio_bitrate>
    <audio_channels_number>2</audio_channels_number>
    <audio_codec>libfaac</audio_codec>
    <audio_volume>100</audio_volume>
    <output>m4a</output>
    <file_extension>m4a</file_extension>
</format>

 

Standard AAC Audio Template

 

<format>
    <audio_bitrate>64k</audio_bitrate>
    <audio_channels_number>2</audio_channels_number>
    <audio_codec>libfaac</audio_codec>
    <audio_volume>100</audio_volume>
    <output>m4a</output>
    <file_extension>m4a</file_extension>
</format>

 

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 1 time):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Windows Media Audio Template

Standard Windows Media Audio Template

 

<format>
    <audio_bitrate>64k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <audio_codec>wmav2</audio_codec>
    <audio_volume>100</audio_volume>
    <output>wma</output>
    <file_extension>wma</file_extension>
</format>

 

Standard Windows Media Audio Template

 

<format>
    <audio_bitrate>64k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <audio_codec>wmav2</audio_codec>
    <audio_volume>100</audio_volume>
    <output>wma</output>
    <file_extension>wma</file_extension>
</format>

 

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 2 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

MP3 Audio Template

Standard MP3 Audio Template

 

<format> 
    <audio_bitrate>64k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <audio_codec>libmp3lame</audio_codec>
    <audio_volume>100</audio_volume>
    <output>mp3</output>
    <file_extension>mp3</file_extension>
</format>

 

Standard MP3 Audio Template

 

<format> 
    <audio_bitrate>64k</audio_bitrate>
    <audio_sample_rate>44100</audio_sample_rate>
    <audio_channels_number>2</audio_channels_number>
    <audio_codec>libmp3lame</audio_codec>
    <audio_volume>100</audio_volume>
    <output>mp3</output>
    <file_extension>mp3</file_extension>
</format>

 

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 2 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Using Constant Bitrate (CBR)

Sometimes it is required to use Constant bitrate (CBR) instead of Variable bitrate (VBR) , which is default.

Usually it is helpful for video streaming.  

To switch on this option, just add <cbr>yes</cbr> within the <format> section of your XML query. 

Please note that you also MUST explicitly specify  <bitrate> in

 More -->

Sometimes it is required to use Constant bitrate (CBR) instead of Variable bitrate (VBR), which is default.

Usually it is helpful for video streaming.  

To switch on this option, just add <cbr>yes</cbr> within the <format> section of your XML query. 

Please note that you also MUST explicitly specify  <bitrate> in this case.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 4 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

What is the difference between CBR and VBR encoding?

Constant bit rate (CBR) encoding persists the set data rate to your setting over the whole video clip. Use CBR only if your clip contains a similar motion level across the entire duration.  CBR is most commonly used for streaming video content using the Flash Media Server (rtmp)
 
Variable bit rate (VBR) encoding adjusts the data rate
 More -->
Constant bit rate (CBR) encoding persists the set data rate to your setting over the whole video clip. Use CBR only if your clip contains a similar motion level across the entire duration.  CBR is most commonly used for streaming video content using the Flash Media Server (rtmp)
 
Variable bit rate (VBR) encoding adjusts the data rate down and to the upper limit you set, based on the data required by the compressor. VBR takes longer to encode but produces the most favorable results.  VBR is most commonly used for http delivery if video content (http progressive)
<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 22 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

What is Max Audio sample rate (Hz)?

The maximum is 2822400 Hz

The maximum is 2822400 Hz

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 2 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

What audio bitrate (kbps) value should I use and how will it increase file size and quality?

In most cases you can use the default audio bitrate of 64k. If you need quality stereo sound, use 128k or 192k. For home DVD systems use up to 320k, assuming that your source video has appropriate audio quality. Bit rate/filesize mapping is simple. The size of the audio stream is the audio bitrate multiplied by the duration and divided

 More -->

In most cases you can use the default audio bitrate of 64k. If you need quality stereo sound, use 128k or 192k. For home DVD systems use up to 320k, assuming that your source video has appropriate audio quality. Bit rate/filesize mapping is simple. The size of the audio stream is the audio bitrate multiplied by the duration and divided by 8: size (bytes) = bitrate (bps) * duration (sec) / 8 .

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 10 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

Incorrect audio parameters

Some audio codecs (e.g. AAC or MPEG-Layer-3) have their own limitation for options values. When you leave these options blank in your API request, encoding.com will get them from the source file, and not always their set will be correct for particular codec. So, it's better to always set audio codec parameters explicitly.

Some audio codecs (e.g. AAC or MPEG-Layer-3) have their own limitation for options values. When you leave these options blank in your API request, encoding.com will get them from the source file, and not always their set will be correct for particular codec. So, it's better to always set audio codec parameters explicitly.

<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 5 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter