prev/next

Audio Codec

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

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 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