prev/next

Audio Formats

What causes audio sync errors and how can I correct these issues?

 

There are 3 situations where we have seen audio sync issues originate. In each of these cases, the <audio_sync> feature can be useful:

1. Apple Final Cut Pro 7 sequences with mixed timecode. This was was fixed in FCP X, so FCP7 and versions below can create outputs that have incorrect timescale.
2. MPEG live capture streams

 More -->

 

There are 3 situations where we have seen audio sync issues originate. In each of these cases, the <audio_sync> feature can be useful:

1. Apple Final Cut Pro 7 sequences with mixed timecode. This was was fixed in FCP X, so FCP7 and versions below can create outputs that have incorrect timescale.
2. MPEG live capture streams with variable timescale or framerates.
3. Adobe Flash video recorder with Nellymoser audio (variable timescale).

NOTE: If you are submitting QuickTime (.mov) source, a more reliable workaround is to export MP4 (.mp4) from your computer locally. We recommend using Handbrake or MPEG Streamclip, since these free apps will correct broken timescale using native Apple QuickTime core media 64-bit processing. Please send the corrected MP4 thru as source and your job should be fine. If you are still having problems, please reach out for help. 

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

Do you have an audio normalization feature?

Varying content and varying edit styles can cause unexpected results during compression. Correct any and all issues with audio_normalization. This will correct variances in dialogue, natural sound and background music. There is no default value for this tag. Please specify a non-negative integer between 0 and 100 for this value.

 <format> 
<!-- Format fields --> 
 <audio_normalization>[0-100]</audio_normalization> 
 ... 
 More -->

Varying content and varying edit styles can cause unexpected results during compression. Correct any and all issues with audio_normalization. This will correct variances in dialogue, natural sound and background music. There is no default value for this tag. Please specify a non-negative integer between 0 and 100 for this value.

<format> 
<!-- Format fields --> 
    <audio_normalization>[0-100]</audio_normalization> 
    ... 
</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

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 2 times):
  • 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 6 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)
 
We recommend you do not use CBR unless you have a specific need for playback on a device that only supports CBR. Our default VRB mode will produce higher quality  at competitive bitrates.

Signup for a Free 1GB
of encoding each month and test the difference between CBR and VBR on your own.  When you are using Encoding.com you can chose CBR or VBR in each of your encoding jobs within the API, web interface, or watch folder

In the web interface or watch folder after you specify your source video location, click the "Customize" button and expand the "Video Settings" menu and select CBR to "no" or "yes" 

When using the Encoding.com API set the <cbr>no<cbr/> or <cbr>yes<cbr/> in the <format> section of your API calls.
<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 28 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 11 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 6 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

How to help prevent Audio/Video sync issues

A common issue with video encoding involves the video and audio going out of sync. This can happen right at the beginning of a video, or slowly over time. Here's some possible fixes: 1. Make sure the output framerate setting matches the source file's framerate. For example: if source is 29.97 fps video into encoding.com, put 29.97 into the frame

 More -->

A common issue with video encoding involves the video and audio going out of sync. This can happen right at the beginning of a video, or slowly over time. Here's some possible fixes: 1. Make sure the output framerate setting matches the source file's framerate. For example: if source is 29.97 fps video into encoding.com, put 29.97 into the frame rate setting for output. 2. Set the audio sample rate in the format request. As with frame rate, ensure this value matches the source input video's audio sample rate. 3. If the audio is going out over time, or slowly loses, then corrects itself every few seconds: Set the keyframes value to a lower figure. Default for encoding.com is generally 300, which in 30 fps material, is one keyframe every 10 seconds. Try lowering the value to every 3 seconds, 90 frames per second. 4. QuickTime sometimes has timescale issues when bringing MPEG source into Avid or Final Cut Pro. Try converting it to your native edit codec using Apple Compressor or Quicktime Player export. This should correct the A/V sync and allow you to edit the file normally. This issue can occur for a variety of reasons, and in some cases, it may be impossible in the video encoder to properly encode the video without engineering resources. If this should be your case, after trying the steps listed here, please contact support at helpdesk@encoding.com and have your MediaID(s), source files and desired output formats ready.

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