prev/next

Basic Encoding Settings

Do you support Aspera as a source location?

Aspera's fasp™ technology dramatically speeds transfer time over public networks making it a perfect compliment for cloud based video encoding. Transferring your video to and from an Aspera Enterprise Server or Aspera Connect Server to Encoding.com over fasp™ will provide accelerated and encrypted file transfer as well as support for extremely large source videos.  

For soure files, format

 More -->

Aspera's fasp™ technology dramatically speeds transfer time over public networks making it a perfect compliment for cloud based video encoding. Transferring your video to and from an Aspera Enterprise Server or Aspera Connect Server to Encoding.com over fasp™ will provide accelerated and encrypted file transfer as well as support for extremely large source videos.  

For soure files, format your URL for AddMedia and AddMediabenchmark requests from an Aspera Enterprise Server or Aspera Connect Server™

fasp://[user[:password]@]hostname/[path]/[filename]

For destination files format as follows for deliver to an Aspera Enterprise Server or Aspera Connect Server™

fasp://[user[:password]@]hostname/[path]/[filename]

<-- 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 encrypt my iPhone streams?

Securing your iPhone streams is easy with Encoding.com's stream encrytion option. We encrypt your TS segements using AES-128 with no need for an additional processing step. The encryption passes on delivery, as opposed to requiring additional processing time. You'll need a few things to get started, so let's lay out all the details:

1)  Create 32 character hexadecimal string.

 More -->

Securing your iPhone streams is easy with Encoding.com's stream encrytion option. We encrypt your TS segements using AES-128 with no need for an additional processing step. The encryption passes on delivery, as opposed to requiring additional processing time. You'll need a few things to get started, so let's lay out all the details:

1)  Create 32 character hexadecimal string. (Noted as 128 bit key below.)

     Sample encryption key: 243F6A8885A308D313198A2E03707344. Don't confuse this with API keys, as the encryption key can only contain characters A - F & 0- 9.

     Sample of encryption key that will fail immediately: COq8MA6wT3aHxEIvGy4U3VNBa3BMch29

OR

     Create a file that contains the hex string. If you choose a file, this will overrride the hex key specified in the request.

3) Request an HLS encode with the following additions:

<format>
    <!-- Format fields -->
        <output>[iphone_stream|ipad_stream]</output>
        ...
        <encryption>[yes|no]</encryption>
        <encryption_key>[128bit-key]</encryption_key>
        <encryption_key_file>[SourceURL]</encryption_key_file> <----Use a key_file or a string value. Don't use both, as the file will override the key. 
        ...
    </format>

 

###

Full XML:

<?xml version="1.0"?>
<query>
  <action>AddMedia</action>
  <userid>[userid]</userid>
  <userkey>[userkey]</userkey> 
  <source>[source]</source>
  <notify/>
   <format>
   <output>iphone_stream</output>
  <size>480x320</size>
   <bitrate>512k</bitrate>
<destination>[URL]</destination>
   <audio_bitrate>40k</audio_bitrate>
   <audio_sample_rate>44100</audio_sample_rate>
   <audio_channels_number>2</audio_channels_number>
   <keep_aspect_ratio>yes</keep_aspect_ratio>
   <video_codec>libx264</video_codec>
   <profile>iphone_stream</profile>
   <audio_codec>libfaac</audio_codec>
   <two_pass>no</two_pass>
   <turbo>no</turbo>
   <cbr>no</cbr>
   <deinterlacing>yes</deinterlacing>
   <keyframe>300</keyframe>
   <audio_volume>100</audio_volume>
   <rotate>0</rotate>
   <file_extension>tar</file_extension>
   <hint>no</hint>
   <bitrates>600k,400k,200k,110k</bitrates>
   <framerates>29.97,29.97,15,10</framerates>
   <keyframes>90,90,45,30</keyframes>
   <pack_files>no</pack_files>
   <segment_duration>10</segment_duration>
   <add_audio_only>no</add_audio_only>
   <still_image>no</still_image>
   <still_image_time>5</still_image_time>
   <still_image_size>480x320</still_image_size>
   <encryption>yes</encryption>
   <encryption_key>[128bit-key]</encryption_key>
   <encryption_key_file>[URL]</encryption_key_file>
   </format>
</query>

For additional information on encryption of iPhone streams: https://developer.apple.com/library/ios/#qa/qa1661/_index.html

<-- 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 remove chapter markers from my encodes?

Chapter markers got you down? Try this easy fix for removing chapter marker metadata from your source videos. This action, by default, is set to no; if you know your clip contains this metadata, switch </strip_chapters> to yes. 

Via API:

 <format>
 <!-- Format fields -->
 <strip_chapters>[yes|no]</strip_chapters>
 ...
 </format> 

Via UI:

You will find this

 More -->

Chapter markers got you down? Try this easy fix for removing chapter marker metadata from your source videos. This action, by default, is set to no; if you know your clip contains this metadata, switch </strip_chapters> to yes. 

Via API:

<format>
    <!-- Format fields -->
    <strip_chapters>[yes|no]</strip_chapters>
        ...
    </format>

Via UI:

You will find this feature at the bottom of the task list, underneath 'Denoiser'

 

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

What Amazon data centers does Encoding.com use for processing?

Take control of where your processing occurs!  By housing Encoding.com's platfrom on Amazon's EC2, we have access to data centers on a global level. No matter where you decide to host your videos, there's a data center nearby to handle your encoding tasks and return your content back to you in the most efficient manner. Check out the complete list of

 More -->

Take control of where your processing occurs!  By housing Encoding.com's platfrom on Amazon's EC2, we have access to data centers on a global level. No matter where you decide to host your videos, there's a data center nearby to handle your encoding tasks and return your content back to you in the most efficient manner. Check out the complete list of datacenters that we support here:

 

US (Nothern Virginia): 'us-east-1'
US (Nothern California): 'us-west-1'
US (Oregon): 'us-west-2'  
EU (Ireland): 'eu-west-1'
Asia Pacific (Singapore): 'ap-southeast-1'
Asia Pacific (Tokyo): 'ap-northeast-1'
South America (Sao Paulo): 'sa-east-1'

Via API: 

    <format>
    <!-- Format fields -->
     <region>[us-east-1|us-west-1|us-west-2|eu-west-1|ap-southeast-1|ap-northeast-1|sa-east-1]</region>
      ...</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

Do you support Microsoft Azure Blog as source or destination?

If you would like to user Microsoft Azure Blob storage as a source or destination, please follow these simple steps:

- Use a standard URL to access a source or destination locatlon: http(s)://[access_key]@[account].blob.core.windows.net/[container]/path
- Ensure to URL encode any special characters within the access_key 

Here is one example of a properly constructed URL:
http://P9DM47UTCF%2BQJZXl0uWy28J4jBdgnYv0SJPh%2FR%2AWCFOLPTBHuyeXtMfDOU75Wd0Yl2xm67vVTYGVAWSEDRdcw%3D%3D@[account].blob.core.windows.net/encoding/file.ext

Special notes for

 More -->

If you would like to user Microsoft Azure Blob storage as a source or destination, please follow these simple steps:

- Use a standard URL to access a source or destination locatlon: http(s)://[access_key]@[account].blob.core.windows.net/[container]/path
- Ensure to URL encode any special characters within the access_key 

Here is one example of a properly constructed URL:
http://P9DM47UTCF%2BQJZXl0uWy28J4jBdgnYv0SJPh%2FR%2AWCFOLPTBHuyeXtMfDOU75Wd0Yl2xm67vVTYGVAWSEDRdcw%3D%3D@[account].blob.core.windows.net/encoding/file.ext

Special notes for Azure Blob Storage:

- Your container name must consist of 3-63 characters, digits or sign "-". Please make sure to not have a "-" at the beginning or end of your container name.  
- If you do not include the access_key within your URL, they will be interpreted like casual urls. files in such urls should be public readable.

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

Do you have any information on CloudFront Streaming for AWS?

Setting up for streaming from CloudFront with Encoding.com is easy. Once you've enabled your clips for access by authenticated users or public use, follow these steps in the AWS console under CloudFront:

1 - Create a new Distribution. Set the delivery method to 'Download' - Selecting 'streaming' will not work for this workflow 

2 - Customize the next

 More -->

Setting up for streaming from CloudFront with Encoding.com is easy. Once you've enabled your clips for access by authenticated users or public use, follow these steps in the AWS console under CloudFront:

1 - Create a new Distribution. Set the delivery method to 'Download' - Selecting 'streaming' will not work for this workflow 

2 - Customize the next screen, or just click 'Continue' / 'Create Distribution'

3 - Deliver as normally to the bucket specified for CloudFront and you're ready to go.

For more information on CloudFront streaming, please see AWS's documentation here: http://aws.amazon.com/cloudfront/

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

Can I rotate videos without encoding the audio and video?

Have a ton of videos that just require lossless rotation? Did someone have too much fun with the iPhone and shoot everything portrait instead of landscape?

Try this on for size. Lossless rotation for use with .mov --> .mov files only.

<format>
  <output>mov</output>
  <destination>[Destination]</destination>
  <rotate>0</rotate>
  <set_rotate>90</set_rotate>
  <video_codec>copy</video_codec>
  <audio_codec>copy</audio_codec>
</format>

Have a ton of videos that just require lossless rotation? Did someone have too much fun with the iPhone and shoot everything portrait instead of landscape?

Try this on for size. Lossless rotation for use with .mov --> .mov files only.

<format>
  <output>mov</output>
  <destination>[Destination]</destination>
  <rotate>0</rotate>
  <set_rotate>90</set_rotate>
  <video_codec>copy</video_codec>
  <audio_codec>copy</audio_codec>
</format>
<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 3 times):
  • 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 do I use the watch folder file name controls?

Want control over file names after they finish encoding from your watch folders? It's easy. Follow these simple steps:

 

- Add in what you would like to have displayed after your file name finished encoding.

Example:If your file name is video.ext, and you specify '_big' in the Name Postfix field, your resulting file name will be

 More -->

Want control over file names after they finish encoding from your watch folders? It's easy. Follow these simple steps:

 

- Add in what you would like to have displayed after your file name finished encoding.

Example:If your file name is video.ext, and you specify '_big' in the Name Postfix field, your resulting file name will be video_big.ext.

- If you wish to retain the task ID number, and also add more information, use the # sign to allow the task id to pas to your file name.

Example: If your file name is video.ext, and you specify '_big_#' in the Name Postfix field, your resulting file name will be video_big_1234.ext

The default setting for the watch folders will be to leave the watch folder settings as is, and continue augmenting the suffix of the file name with the task ID. 

 

<-- 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 use your API to determine how I should encode my files?

Do you have a bunch of files that require encoding, but want to know more about the source media properties?

Use this workflow to achieve this:

Step 1: Send source media to the API via the AddMediaBenchmark action. Manage.encoding.com will accept this request and assign a Media ID for the video.

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

Step 2:

 More -->

Do you have a bunch of files that require encoding, but want to know more about the source media properties?

Use this workflow to achieve this:

Step 1: Send source media to the API via the AddMediaBenchmark action. Manage.encoding.com will accept this request and assign a Media ID for the video.

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

Step 2: Send a GetMediaInfo call to the API, with assigned MediaID, so source video characteristics will be shown, such as framesize, duration, and bitrate.

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

Step 3: Configure your CMS to select a setting based on returned media properites.

Step 4: Send  back a ProcessMedia call, and use GetStatus to monitor progress.

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

NOTE: If you need separate progress reports for each task, add <extended>yes</extended> to GetStatus

Step 5: When job completes, have your CMS parse the result notification.

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

 

- - - 

To reuse source files, which expire after 15 days, use <action>UpdateMedia</action> with an existing Media ID to replace all of the existing format fields. 

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

Can I add a dissolve to my encodes?

With Encoding.com, you can easily add a dissovle at the start and end of your encodes via our fade commands.

Click on this link for more information.

With Encoding.com, you can easily add a dissovle at the start and end of your encodes via our fade commands.

Click on this link for more information.

<-- 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 do I use the fade in, fade out commands?

Within the format tag, you can now specify the duration and length of the fade that you would like to apply to your encodes. 

via XML:

 <format>
 <fade_in>[FadeInStart]:[FadeInDuration]</fade_in>
 <fade_out>[FadeOutStart]:[FadeOutDuration]</fade_out>
</format> 

Definitions:

FadeInStart : Start of fade_in effect in seconds

FadeInDuration: Duration of fade_in effect in seconds

FadeOutStart: Start of fade_out effect in

 More -->

Within the format tag, you can now specify the duration and length of the fade that you would like to apply to your encodes. 

via XML:

<format>
   <fade_in>[FadeInStart]:[FadeInDuration]</fade_in>
   <fade_out>[FadeOutStart]:[FadeOutDuration]</fade_out>
</format>

Definitions:

FadeInStart: Start of fade_in effect in seconds

FadeInDuration: Duration of fade_in effect in seconds

FadeOutStart: Start of fade_out effect in seconds. If you specify this parameter equal to 0, fade out effect will be applied to the end of video/audio.

FadeOutDuration: Duration of fade_out effect in seconds.

Note: FadeIn/FadeOut effect applies both for audio and video streams.

 

<-- 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 do I format my source URL for a FTPS source?

Thinking of using FTPS as your source locations? No problemo.

All you need to do is specify the port in which we access your file at. Connections via FTPS will use port 22 by default. If you'd like to specify a different port, add it to then end of your URL.

Example:

FTPS://www.xyz.com:[port]/files/input.mov

 More -->

Thinking of using FTPS as your source locations? No problemo.

All you need to do is specify the port in which we access your file at. Connections via FTPS will use port 22 by default. If you'd like to specify a different port, add it to then end of your URL.

Example:

FTPS://www.xyz.com:[port]/files/input.mov

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

How do I format my source URL for a HTTPS source?

Thinking of using HTTPS as your source locations? No problemo.

All you need to do is specify the port in which we access your file at. Connections via HTTPS will use port 443 by default. If you'd like to specify a different port, add it to then end of your URL.

Example:

HTTPS://www.xyz.com:[port]/files/input.mov

 More -->

Thinking of using HTTPS as your source locations? No problemo.

All you need to do is specify the port in which we access your file at. Connections via HTTPS will use port 443 by default. If you'd like to specify a different port, add it to then end of your URL.

Example:

HTTPS://www.xyz.com:[port]/files/input.mov

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

Save some time on your encodes!

Save some time with your encodes with this simple step, if you are sourcing from S3, try this URL formatting:

http://[AWS_KEY:AWS_SECRET@][bucket].s3.amazonaws.com/[filename]?nocopy

if 'nocopy' is specified at the end of your URL, the source file will be downloaded directly from your bucket, thus saving time. Please use this only if your buckets are located in the US. If ?nocopy

 More -->

Save some time with your encodes with this simple step, if you are sourcing from S3, try this URL formatting:

http://[AWS_KEY:AWS_SECRET@][bucket].s3.amazonaws.com/[filename]?nocopy

if 'nocopy' is specified at the end of your URL, the source file will be downloaded directly from your bucket, thus saving time. Please use this only if your buckets are located in the US. If ?nocopy is not specified at the end of your URL, the source will be copied to Encoding.com bucket first. This workflow saves you traffic in the case of non-US buckets and more than one encoding task per source.

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

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

How do I know what it is that I’m doing?

Well, sounds like you're new to the platform, right?

Your objectives are to encode a video and deliver it someplace. smile

Here's where to start:

Beginner:

Most folks log into the UI @ http://www.encoding.com and select 'Add Media' from the list of choices on the left in order to test drive the system. Run through this

 More -->

Well, sounds like you're new to the platform, right?

Your objectives are to encode a video and deliver it someplace. smile

Here's where to start:

Beginner:

Most folks log into the UI @ http://www.encoding.com and select 'Add Media' from the list of choices on the left in order to test drive the system. Run through this a couple times, as adding media one a time is a great way to get started with the platform. Try adding a few tasks to your source media for multiple outputs.  Make sure to take a peek at the Encoding Queue, as you'll have to manually select files you add via 'Add Media' to process manually. Want to skip this step? Set up a watch folder and automagically content will be pulled from your source location and processed. 

Intermediate:

Setting up a watch folder on Amazon S3, Rackspace or your local FTP site is easy. Log into the UI, select 'Watch Folder' from the list on the left and select 'Add New.' Configure the URLs to hit your source location, deliver to your preferred destination, add a notify, then add a few tasks to the folder. If you have any questions on configuring FTP, S3 or Rackspace URLs, then make sure to check out the following article: http://www.encoding.com/how_can_i_specify_where_my_source_media_is_located

Advanced:

Wanna jump in with both feet and utilize Encoding.com's powerful API to submit your content to our platform?

Find all the resources you need here:

http://www.encoding.com/api/

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

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

How can I change the tasks applied to a watch folder?

Watch folders are a nifty way to manage all incoming content. In case you want to change the applied settings, here's a guide on how to do just that. You can easily change the destination URL, the notify location and even the watch folder source location.

In the watch folder main view, which lists all of your watched locations,

 More -->

Watch folders are a nifty way to manage all incoming content. In case you want to change the applied settings, here's a guide on how to do just that. You can easily change the destination URL, the notify location and even the watch folder source location.

In the watch folder main view, which lists all of your watched locations, click on the watch folder name you wish to edit. This will take you to the 'Watch Options' page.

Under 'Watch Options' you can reconfigure the location that Encoding.com is polling, change the frequency of the time that Encoding.com polls your directory for new content, and a host of other options. 

To change task settings, select 'Encoding Options.' Here you'll see a list of the applied tasks.

To delete a task, select it from the list below 'With Selected' and hit Delete.

To edit a task, select it from the list below 'With Selected' and reconfigure it on the right side of the screen, under 'Format.' Make sure to hit save after this point, or your changes will be lost. 

To add a new task, simply hit 'Add New' to add tasks to an existing watch folder.

Once you've completed any of these steps, make sure to hit 'Save.' Select 'Close' from the upper right hand corner of the grey box.

If you wish to reprocess the entire watch folder contents, select 'Reset' from the main watch folder view.

<-- 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 change the tasks applied to a current job?

If you have current jobs in your encoding queue and wish to change the settings, follow the instructions below. In either case, you can change the destination URL, the notify location and even the source location. This is handy in case you uploaded the wrong source, but want to keep the correct applied tasks.

In progress jobs: This

 More -->

If you have current jobs in your encoding queue and wish to change the settings, follow the instructions below. In either case, you can change the destination URL, the notify location and even the source location. This is handy in case you uploaded the wrong source, but want to keep the correct applied tasks.

In progress jobs: This works well on larger jobs, as with smaller jobs, you'll have to work quickly to catch them and change their applied tasks.

Finished jobs: This workflow works well for large files that are already uploaded to the platform. You can just change the applied tasks (over and over again) if you want different versions of the source file.

In the queue, select the check box next to the MediaID you want to edit. From the top row of choices, select 'Edit'. 

In the task manager view you can now add or delete tasks. To edit a current task, select it from the list 'With Selected' below the large orange button that says 'Add Task.' 

Once you've completed this step, make sure to hit 'Save.' Select 'Close' from the upper right hand corner of the grey box.

Now head to the Encoding Queue and select 'Process' to start the job with the new applied tasks.

<-- 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 delete my custom presets in the web GUI?

Presets exist for an unlimited amount of time. You can delete them easily, as well. Just select the preset you wish to delete, and click the small grey X to the right of the selected preset name in the dropdown box, after it's selected. You'll receive a confirmation dialogue box once the operation is complete.

Presets exist for an unlimited amount of time. You can delete them easily, as well. Just select the preset you wish to delete, and click the small grey X to the right of the selected preset name in the dropdown box, after it's selected. You'll receive a confirmation dialogue box once the operation is complete.

<-- 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 download my encoded files?

You've encoded your file and now would like to save a copy, right? In your original request, if you didn't specify a destination URL, S3 / Rackspace / FTP, Encoding.com will store your videos free of charge for 15 days on our servers. Please note, the limit for this storage is 100 GB and your files will be deleted after

 More -->

You've encoded your file and now would like to save a copy, right? In your original request, if you didn't specify a destination URL, S3 / Rackspace / FTP, Encoding.com will store your videos free of charge for 15 days on our servers. Please note, the limit for this storage is 100 GB and your files will be deleted after 15 days.  You can easily download your encoded files by logging into http://www.encoding.com/login --> Selecting 'Encoding Queue' and browsing to the file you wish to download. Expand the task and right click on 'Download.' Your encoded file will now be saved locally. 

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

Encoded file output not what you expected?

A great place to start when trying to improve your video quality is to change the field 'Two pass' from no to yes. This applies to folks that are using the Desktop Application or web UI, for watchfolders or single add media requests. If you're an API user, toggle the <two_pass> field from no to yes. This should beef up

 More -->

A great place to start when trying to improve your video quality is to change the field 'Two pass' from no to yes. This applies to folks that are using the Desktop Application or web UI, for watchfolders or single add media requests. If you're an API user, toggle the <two_pass> field from no to yes. This should beef up the quality. Encodes will take a bit longer, but you'll be impressed with the quality improvement.

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

Use a file extension in your source files

Having wierd errors in your submissions to the platform of your video or image files? Check to see if you have a file extension on your source media. If not, give it the proper extension so that the platform can easily parse your source files and start the encoding process.

Having wierd errors in your submissions to the platform of your video or image files? Check to see if you have a file extension on your source media. If not, give it the proper extension so that the platform can easily parse your source files and start the encoding process.

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

Can I request thumbnails at specific intervals?

Want to request thumbnails every few seconds from a video? Choose the interval, then add '!' to the end of the integer. Add this to either your API call or use our web UI. XML below for reference:

 <format>  
<!-- Format fields -->  
<output>thumbnail</output>  
<time>[integer value]!</time>       
<width>[Width]</width>  
<height>[Size]</height>  
<!-- Destination fields -->  
</format>    
	 
 

Don't forget

 More -->

Want to request thumbnails every few seconds from a video? Choose the interval, then add '!' to the end of the integer. Add this to either your API call or use our web UI. XML below for reference:

<format>  
<!-- Format fields -->  
<output>thumbnail</output>  
<time>[integer value]!</time>       
<width>[Width]</width>  
<height>[Size]</height>  
<!-- Destination fields -->  
</format>    
	
 

Don't forget to give the first file a name in the API call, and also a destination! Files will not generate or deliver if these two items are not specified.

 
 
<-- 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 request a thumbnail via API?

If you wish to request thumbnails via API, you've got a couple options:

1) You can request the thumbnail via timestamp (in seconds or percentage rate)

2) Want to request thumbnails at specific intervals? Use !5, for example, to request thumbnails at 5 second intervals

Please note:

- If your specified thumbnail width and height are
 More -->

If you wish to request thumbnails via API, you've got a couple options:

1) You can request the thumbnail via timestamp (in seconds or percentage rate)

2) Want to request thumbnails at specific intervals? Use !5, for example, to request thumbnails at 5 second intervals

Please note:

- If your specified thumbnail width and height are different from your video's aspect ratio, you may get black spaces added to the thumbnail image. 
- If you specify only width or height, the other will be calculated according to your video size.
- If both width and height are not specified, the thumbnail will result in the same size as your video. 
- JPEG is the only supported image format for thumbnail images.
 
If you have any questions specific to the formatting of the API request, please browse here:
http://www.encoding.com/api/category/category/complete_api_documentation#thumbnail_features
 
<-- 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 canonical IDs with Encoding.com’s platform?

Want to use S3 as a source location for your material, but you don't want to hand out secret or access keys? Give this a try! Use your canonical ID at the end of the URL string to pass the ownership from Encoding.com to yourself. Alternately, give your source location access via Encoding.com's canonical ID so that we have access

 More -->

Want to use S3 as a source location for your material, but you don't want to hand out secret or access keys? Give this a try! Use your canonical ID at the end of the URL string to pass the ownership from Encoding.com to yourself. Alternately, give your source location access via Encoding.com's canonical ID so that we have access to your files. 

Here's a few scenarios of where canonical IDs come into play with our platform.

+ To send us source videos, without passing keys, ensure that you are giving Encoding.com's canonical ID full access on the destination bucket through the S3 interface. Here's how to accomplish that:

1) Select the bucket you wish to source from in the S3 console. Right click on it and select 'Properties'

2) Under the Permissions tab at the bottom, select the plus button and grant upload/delete access to Encoding.com. Our ID is: 1a85ad8fea02b4d948b962948f69972a72da6bed800a7e9ca7d0b43dc61d5869.  Once you have entered this ID, it will resolve to fastencoding in a few seconds. Just hang in there. This allows Encoding.com to use its credentials to pull your source files on that particular bucket.

+ To deliver files from Encoding.com to your bucket and make ownership solely yours, please use the following syntax for your destination URLS:

http://your_bucket.s3.amazonaws.com/path/file.ext?acl=private-read&amp;canonical_id

Sample of what an actual canonical S3 output path looks like:

http://mybucket.s3.amazonaws.com/video/output/clive_waterski.mp4?acl=private-read&amp;canonical_id=5ecaabaxaf9da27db13630cedde7f7a652d00a63f3407aa4c21c318d6bdf2dc0

Once this passes into the system, the canonical ID will be restricted from view. Neat, huh? 

Here's an example of what we see on our end:

http://ksc.target.s3.amazonaws.com/test.flv?acl=private-read

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

Thumbnail Template

Standard Thumbnail Template

 

 <format>
    <output>thumbnail</output>
    <time>5</time>
    <video_codec>mjpeg</video_codec>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <file_extension>jpg</file_extension>
 </format>

 

Standard Thumbnail Template

 

 <format>
    <output>thumbnail</output>
    <time>5</time>
    <video_codec>mjpeg</video_codec>
    <keep_aspect_ratio>yes</keep_aspect_ratio>
    <file_extension>jpg</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

Can I have multiple notifications via API?

Unforuntely at this time, the notify field only allows one URL or email address. This can be either an HTTP(S) URL for the script with which the result will be posted, or a mailto: link with email address for which the result info will be sent. Note that this field may be specified for AddMedia and AddMediaBenchmark actions.

Unforuntely at this time, the notify field only allows one URL or email address. This can be either an HTTP(S) URL for the script with which the result will be posted, or a mailto: link with email address for which the result info will be sent. Note that this field may be specified for AddMedia and AddMediaBenchmark actions.

<-- 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 should I put in the Frame Rate field?

If you want to retain the same frame rate as the source media, then you do not need to change the frame rate. If you want to reduce or increase the FPS, then enter the desired field via our web UI or our API. 

If you want to retain the same frame rate as the source media, then you do not need to change the frame rate. If you want to reduce or increase the FPS, then enter the desired field via our web UI or our API. 

<-- 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 add multiple destinations to my workflow?

Have many destinations for one workflow? No problem! 

To add multiple destinations to a watchfolder, here's what to do:

1) Select 'Watch Folder,' then 'Add New."

2) Under the destination field, click the [ + ] icon to add in new destination locations. 

3) Ensure that your destination paths are valid across the board.

Want

 More -->

Have many destinations for one workflow? No problem! 

To add multiple destinations to a watchfolder, here's what to do:

1) Select 'Watch Folder,' then 'Add New."

2) Under the destination field, click the [ + ] icon to add in new destination locations. 

3) Ensure that your destination paths are valid across the board.

Want to submit via API? No worries, just add another <destination> tag to your XML. Cool, huh?

That's it! You've just created a simple, easy to edit workflow that can scale up or down to meet the needs of your company.

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

How do I use CBR instead of VBR in your platform?

Occasionally compression requirements dictate that you use a Constant Bit Rate (CBR) instead of a Variable Bit Rate (VBR). This is especially helpful for video streaming.  In our encoding platform, VBR is the default setting for Encoding.com since it generally provides much higher quality. For scenes where there is a high amount of action or detail, VBR will

 More -->

Occasionally compression requirements dictate that you use a Constant Bit Rate (CBR) instead of a Variable Bit Rate (VBR). This is especially helpful for video streaming.  In our encoding platform, VBR is the default setting for Encoding.com since it generally provides much higher quality. For scenes where there is a high amount of action or detail, VBR will often spike up to 300% of the target bitrate. The reverse is also true, VBR will dramatically pull back on scenes with low detail.

Why would you use CBR?

CBR is far more constrained, with the actual bitrate only floating about 20% above and below the target. Some video playback devices have cheaper "chips", hardware decoders with limited buffer that are unable to handle VBR. With MPEG-4 being built into most modern chipsets, this issue is largely going away. CBR is also often used in satellite television broadcasts, where many channels will be multiplexed into one transport stream with limited bandwidth.

Sample API tags for CBR:

<format>
<cbr>yes</cbr>
<bitrate>768k</bitrate>
</format>

 

 

If you wish to check your encodes, Winhoros Bitrate Viewer is a great way to scan your files and quickly get detailed bitrate information.

Winhoros Screenshot

If you are having problems getting the bitrate you need, try using a lower value in the bitrate tag. If that doesn't work, please submit a support ticket with the Media ID # of the job.

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

Correct MIME types for serving video files

We test video playback on a variety of devices, from Mac and Windows PCs, to all the various mobile phone platforms available today. One critical issue that comes up often is that the hosting server has not set the MIME types for the video type. A typical error message for this would be "unknown application/octet-stream". Here is a list

 More -->

We test video playback on a variety of devices, from Mac and Windows PCs, to all the various mobile phone platforms available today. One critical issue that comes up often is that the hosting server has not set the MIME types for the video type. A typical error message for this would be "unknown application/octet-stream". Here is a list of many common formats we encounter.


Video Type Extension MIME Type
Flash .flv video/x-flv
MPEG-4 .mp4 video/mp4
iPhone Index .m3u8 application/x-mpegURL
iPhone Segment .ts video/MP2T
3GP Mobile .3gp video/3gpp
QuickTime .mov video/quicktime
A/V Interleave .avi video/x-msvideo
Windows Media .wmv video/x-ms-wmv

IMPORTANT: You will need to configure your ftp server to these MIME types for them to be properly recognized by their respective playback devices.

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

iPhone streaming creating TAR file on output

With TAR output is set to OFF, and should see .m3u8 pointers and .ts segment files populate your output directory. The trick is correctly formatting the output filepath. You have to make sure your output filepath has a filename WITHOUT a 3-character file extension. I had this same problem because I either defined only the output directory, or had

 More -->

With TAR output is set to OFF, and should see .m3u8 pointers and .ts segment files populate your output directory. The trick is correctly formatting the output filepath. You have to make sure your output filepath has a filename WITHOUT a 3-character file extension. I had this same problem because I either defined only the output directory, or had an output filename with .m3u on it. In both cases that will force a TAR output even if you have set it to off. SAMPLES: To get your segments, a correct output filepath should look something like this: http://yourbucket.s3.amazonaws.com/iphonetest/outputfilename ftp://username:password@ftp.yourserver.net/iphonetest/outputfilename

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

I want to make thumbnails from my clips, but I don’t always know the length. What can I do?

So you want to make thumbnails from your clips, but you don't know the length, use the following:

Instead of <time>20</time> --> use a percentage-based value: <time>20%</time>.

So you want to make thumbnails from your clips, but you don't know the length, use the following:

Instead of <time>20</time> --> use a percentage-based value: <time>20%</time>.

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

Understanding bitrates in video files

We often field questions from customers about how the bitrate relates to both quality and the total size of the file. This can confusing to people new to encoding, so I'll try to cover the key points here. Generally the higher the bitrate the higher the image quality of the video output. Modern codecs like H.264 will look noticeably better

 More -->

We often field questions from customers about how the bitrate relates to both quality and the total size of the file. This can confusing to people new to encoding, so I'll try to cover the key points here. Generally the higher the bitrate the higher the image quality of the video output. Modern codecs like H.264 will look noticeably better at the same bitrate vs. older codecs like H.263, and variable bitrate (VBR) will look better than constant bitrate (CBR) in most applications. Keep in mind, there are 8 bits in a byte. So 1 megabyte per second would be 8 megabits per second (mbps). For reference, HD Blu-ray video is generally around 20mbps, standard definition DVD around 6mbps, high-quality web video about 2 mbps, and video for phones in the kilobit range (kbps). Here is the math from testing VP6 output for a video with a duration of 93 seconds: On2 Flix VP6 = 2,080 kbytes x 8 = 16,640 kbits / 93 secs = 179 kbits/sec ffmpeg VP6 = 3,051 kbytes x 8 = 24,408 kbits / 93 secs = 262 kbits/sec But for everyday use, there are a few different tools for detecting bitrate and codecs: MediaInfo is a nice basic tool for quickly seeing all the stats on a video file. http://mediainfo.sourceforge.net/en For MacOS, you can use the Inspector window in QuickTime Player. I strongly recommend having the Perian codec pack to read non-native codecs. http://www.perian.org/ For analyzing Blu-ray Discs, see BDInfo for Windows http://www.cinemasquid.com/blu-ray/tools/bdinfo/

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

Suggestions for improving quality with H.264 settings

Since users often will be uploading a wide variety of videos, I generally like to break them down into two types:

Static/Low Action - stable tripod shots, very little background movement, actors standing still 
Active/High Action - panning/jerky camera, lots of action, sports-like movement

A good starting point is to choose a variable bitrate setting equal

 More -->

Since users often will be uploading a wide variety of videos, I generally like to break them down into two types:

Static/Low Action - stable tripod shots, very little background movement, actors standing still 
Active/High Action - panning/jerky camera, lots of action, sports-like movement

A good starting point is to choose a variable bitrate setting equal to the width of the video. So, for example: 640x480 SD at 640 kilobits per sec (kbps), or 1280x720 HD at 1280 kbps. Higher action video may require a slightly higher bitrate to prevent blocking artifacts.

Noise Reduction

Applying some noise reduction is useful to save bits for high detail regions, but be careful not to overdo it. I've seen video samples where whole areas of ocean and grassy fields disappear to achieve a lower bitrate. This of course, falls under artistic preference, but generally I'd rather see a smaller framesize and more detail. At low bitrates, it is increasing important to improve the quality of noisy video sources, such as film containing lots of grain or video shot in low light. The 3D noise reduction in ffmpeg allows control over both luma and chroma values for fine-tuning your output image quality.

	<noise_reduction>4:3:6</noise_reduction> 

luma_spatial – Spatial Luma Strength. Allowed values: [0,255]
chroma_spatial – Spatial Chroma Strength. Allowed values: [0,255]
luma_temp – Temporal Luma Strength. Allowed values: [0,255]

General recommended starting value is 4:3:6. [luma_spatial:chroma_spatial:luma_temp] Noise reduction is also available via our web interface as the High Quality 3D Denoiser option.

 

Single Pass vs. Two Pass

For most purposes 2-pass encoding achieves very good results. It's a tradeoff of diminishing returns, 2-pass gaining perhaps 10% quality bit-for-bit but doubling the encoding time. Do not lower qcomp, CBR is horrible on quality. I'd experiment with values floating between 0.60 and 0.80 if you want more VBR. if qcomp = 1.00 then quantizer is constant for second pass. Real variable bitrate with constant quality. if qcomp = 0.00 then bitrate is constant for second pass. Real constant bitrate with variable quality.

<two_pass>yes</two_pass>

I'd recommend having two sample videos, tell your users to choose Low or High Action content setting, experiment a bit with your B-frames then define two "baseline" settings for each bitrate. For web video it's best to narrow your targets to four different bitrates at most, especially if you are going to be processing thousands of users uploading. Most folks have a slow (up to 240kbits), good (~700kbits), or fast (2mbits and higher) connection. I'd say H.264 over 2mbits is generally overkill for website content. For general purposes, I'd recommend 2-pass and we push a 10 second keyframe interval (300 frames) which may not be appropriate for "high-action" source video.

For more detail on H.264 controls for scenecut thresholds, B-frames, and more, please refer to:

Advanced H.264 Guide http://sites.google.com/site/linuxencoding/x264-ffmpeg-mapping

H.264 parameters for our API http://www.encoding.com/help/article/advanced_configuration_options_for_the_libx264_video_codec

An excellent collection of HD videos at 2mbits/sec can be found at http://californiaisaplace.com/cali/ 

 

16x16 Macroblocks

H.264/AVC does a much more efficient job when the horizontal and vertical framesize dimensions are multiples of 16. Good examples include:

SD (4:3) aspect ratios: 320x240, 432x320, 480x360, 544x400, 640x480, 768x576
HD (16:9) aspect ratios: 432x240, 576x320, 640x360, 720x400, 848x480, 1024x576, 1280x720, 1920x1080

In 4:2:0 H.264/AVC coding, each block contains 4 luminance samples (Y), 1 blue sample (Cb), and 1 red sample (Cr). Modern video decoding chips (GPUs) are optimized for playback of 16x16 macroblocking.

 

Keyframes and GOPs

Low action scenes generally handle more bidirectional (B-frames) better since they don't have to track interframe motion as aggressively. Higher action content will require more keyframes (I-frames) to keep the picture from breaking apart. Longer GOPs with more B-frames also require more buffering by the playback GPU to recursively track the motion for each macroblock. Fortunately, x264 offers very good scene detection, which is why for most applications, we set keyframes to 300.

H.264/AVC sample for modern mobiles (30 fps with a 10 second GOP)

	<framerate>30</framerate>
	<keyframe>300</keyframe>

For older computers, and early generations of iPod and Blackberry phones, the chips might not have enough processing power and memory to successfully buffer longer GOPs. Keep your bitrates low, try lower framerates, and shorter GOPs.

H.264/AVC sample for older mobiles (15 fps with a 4 second GOP)

	<framerate>15</framerate>
	<keyframe>60</keyframe>

More information about GOPs available on wiki http://en.wikipedia.org/wiki/Group_of_pictures

 

Turbo Mode

NOTE: For bigger or longer HD encoding jobs, turbo mode is absolutely recommended since you will see speed gains in the neighborhood of 3x faster vs. normal mode. Please be aware turbo is running on more powerful encoders, so it costs an extra $1 per gigabyte.

<turbo>yes</turbo>

 

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

What output encoded media formats are supported?

Encoding.com can encode your media into the following formats: wmv (asf) | mp4 | flv | mov Also you can use our ready-to-use sets of formats/sizes/parameters for: Flash 9 | 3GP | Ipod/Iphone | Apple TV | PSP | Zune
Encoding.com can encode your media into the following formats: wmv (asf) | mp4 | flv | mov Also you can use our ready-to-use sets of formats/sizes/parameters for: Flash 9 | 3GP | Ipod/Iphone | Apple TV | PSP | Zune <-- 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

What are the best Flash video frame dimensions?

Video codecs perform best when the frame width and height use multiples of 16. While you can use any width and height in your encoding settings, non-optimal dimensions can result in poor image quality and reduced frame rate. For the best image quality and playback, you should always use width and height dimensions that use a multiple of 16 (best),

 More -->

Video codecs perform best when the frame width and height use multiples of 16. While you can use any width and height in your encoding settings, non-optimal dimensions can result in poor image quality and reduced frame rate. For the best image quality and playback, you should always use width and height dimensions that use a multiple of 16 (best), 8 (better), or 4 (good). We would recommend that you refrain from using 4 or 8 multiples unless it is absolutely necessary. 

Note: Both the native encoding dimensions and the playback dimensions should be a multiple of 16. For example, if you encode your FLV file to use a frame dimension of 320 x 240, you should scale to a size such as 512 x 384. 

Refer to the following tables to pick dimensions for your layout.

4:3 aspect ratio sizes:

Best (16)Better (8)Good (4)
640 x 480608 x 456624 x 468
576 x 432544 x 408592 x 444
512 x 384480 x 360560 x 420
448 x 336416 x 312528 x 396
384 x 288352 x 264496 x 372
320 x 240288 x 216464 x 348
256 x 192224 x 168432 x 324
192 x 144160 x 120400 x 300
128 x 96 368 x 276
  336 x 252
  304 x 228
  272 x 204
  240 x 180
  208 x 156
  176 x 132
  144 x 108
  112 x 84

     

16:9 aspect ratio sizes:

Best (16)Better (8)Good (4)
1280 x 7201152 x 6481216 x 684
1024 x 576896 x 5041088 x 612
768 x 432640 x 360960 x 540
512 x 288384 x 216832 x 468
256 x 144128 x 72704 x 396
  576 x 324
  448 x 252
  320 x 180
  192 x 108

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

How are my videos being encoded if only part of the video size was specified in the request?

When you specify the encoded video size to be 320x0, the resulting width is calculated based on the source aspect ratio. You will need to know what the exact frame size of your resulting video in order to enter the parameters you wish to keep. First, you can find out the source media aspect ratio. Just send a GetMediaInfo API  More -->
When you specify the encoded video size to be 320x0, the resulting width is calculated based on the source aspect ratio. You will need to know what the exact frame size of your resulting video in order to enter the parameters you wish to keep. First, you can find out the source media aspect ratio. Just send a GetMediaInfo API request, and locate property. If it is not present, just calculate the ratio from the frame size ( property) dividing width by height. Let's now calculate result frame height. Divide the resulting width by the obtained ratio, round it to nearest integer, and then, if it is not even, add 1. For example if source ratio is 1.333 (4:3). 320/1.333 = 240.06 In this case, the height will be 240. For the source ratio 1.777 (16:9): 320/1.777 = 180.07. Therefore, the height will be 180. <-- 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 do I determine the optimal bitrate for my video?

The optimal bitrate for your video depends many factors including your source video dimensions, type of video/audio codec, framerate, and delivery method. We love the following calculator on Adobe's site written by Robert Reinhardt: http://www.adobe.com/devnet/flash/apps/flv_bitrate_calculator/index.html
The optimal bitrate for your video depends many factors including your source video dimensions, type of video/audio codec, framerate, and delivery method. We love the following calculator on Adobe's site written by Robert Reinhardt: http://www.adobe.com/devnet/flash/apps/flv_bitrate_calculator/index.html <-- 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

What should I enter in the Notify field?

In the Notify field you can use either mailto: link or the URL of your script. When your Media is finished, an HTTP POST request with will be sent to the specified location. Please refer to the API docs for details of POST request data format.
In the Notify field you can use either mailto: link or the URL of your script. When your Media is finished, an HTTP POST request with will be sent to the specified location. Please refer to the API docs for details of POST request data 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 a Amazon S3 file as a source?

Using Amazon S3 is a snap. Follow these directions to get you started

1) Manually set the Amazon S3 object to have READ permission for the AWS user fastencoding: 1a85ad8fea02b4d948b962948f69972a72da6bed800a7e9ca7d0b43dc61d5869.

This is a requirement for encoding.com to read the file(s).  To do this, log into your AWS console, right click on the bucket and select 'Properties' Add the

 More -->

Using Amazon S3 is a snap. Follow these directions to get you started

1) Manually set the Amazon S3 object to have READ permission for the AWS user fastencoding: 1a85ad8fea02b4d948b962948f69972a72da6bed800a7e9ca7d0b43dc61d5869.

This is a requirement for encoding.com to read the file(s).  To do this, log into your AWS console, right click on the bucket and select 'Properties' Add the string and wait for a moment, as it resolves to 'fastencoding'. Give this user upload/delete permissions.

2) Use the following format for the source url: http://[bucket].s3.amazonaws.com/[filename] Amazon provides some excellent documentation about ACL permissions, visit this link for details:

http://docs.amazonwebservices.com/AmazonS3/latest/dev/

Important notes: 

**Do not use capitalization in your bucket names. You will receive a 403 error. Please only use lowercase letters.

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

Why do I receive ‘Permission denied’ or ‘No such file or directory’ errors when using SFTP?

The most common error is specifying incorrect SFTP URLs for files located in your home directory. You must specify full directory path in your URL: sftp://user:password@your-host.com/home/user/video/file.ext Another common issue is missing files! Check the file is there, and the path for encoding.com is correct. If you continue to experience issues, don't hesitate to email helpdesk@encoding.com.

The most common error is specifying incorrect SFTP URLs for files located in your home directory. You must specify full directory path in your URL: sftp://user:password@your-host.com/home/user/video/file.ext Another common issue is missing files! Check the file is there, and the path for encoding.com is correct. If you continue to experience issues, don't hesitate to email helpdesk@encoding.com.

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

Which integration method is right for me?

Encoding.com offers three different ways to encode your video. Chose the integration method that is most appropriate for your technical skills and needs. At a minimum you will need a video library hosted on a publicly available FTP / Rackspace or Amazon S3 storage account and a basic understanding of URL protocol.


Web Interface - Within our client

 More -->

Encoding.com offers three different ways to encode your video. Chose the integration method that is most appropriate for your technical skills and needs. At a minimum you will need a video library hosted on a publicly available FTP / Rackspace or Amazon S3 storage account and a basic understanding of URL protocol.


Web Interface - Within our client interface we have tab called Media List. This tool will allow you to quickly and easily encode individual videos through your browser and it's a great way to test our system. Just follow the step by step instructions at the top of the Media List page.


Watch Folder - Also within our client interface, the Watch Folder allows you to specify an FTP / Rackspace or Amazon S3 directory for encoding.com to "watch" at any frequency for new videos. After each watch interval all new videos added to this folder will be processed using the encoding setting you selected. You can have as many watch folders as you like, making it possible to encode a large video library with little or no setup or integration work. Please see our collection of articles about the Watch Folder for more details.


XML API - Our most flexible and sophisticated integration method, the encoding.com XML API allows you to completely automate your encoding workflow and integrate our system seamlessly into your own video application using any common programming language. Custom file naming, multiple output formats and real time encoding status updates are just a few of the powerful features available via our API. Please see our API documentation for complete details.

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

How do I create a new FTP, Amazon S3 or Cloud File watch folder in the web interface?

Once you have logged into encoding.com's web interface, click on the 'Watch Folder' tab on the left side of the screen.

1) In the Folder URL field enter a valid FTP, S3 or Rackspace location folder in the dialogue box. Replace the contents there. They are for suggestion only! Please note if you are using Rackspace or S3 as

 More -->

Once you have logged into encoding.com's web interface, click on the 'Watch Folder' tab on the left side of the screen.

1) In the Folder URL field enter a valid FTP, S3 or Rackspace location folder in the dialogue box. Replace the contents there. They are for suggestion only! Please note if you are using Rackspace or S3 as source or destination locations, there are specifics to the formatting of the URLs that must be followed in order for the URLs to be valid. Please refer to the two following articles explaining the proper syntax.

Rackspace: http://www.encoding.com/how_do_i_use_rackspace_cloud_files_as_the_source_or_destination_location

Amazon S3: http://www.encoding.com/how_can_i_use_a_amazon_s3_file_as_a_source

2) Add an email address in the Notify URL field form "email@yourdomain.com."  Alternatively you can enter a http URL of the script the result would be posted to

3) Select a time frequency you would like our system to check your folder for new video files. If you have large files, set a higher poll time.

4) Enter one or more destination URLs in the format: http://myusername:password@myftpserver.com/video_out. FTP is also valid here, if you're using that type of location.

6) Click Save and enter a encoding profile for this watch folder.

<-- 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 Percent-encoding or URL escaped characters with encoding.com input and output paths

The wikipedia article linked here provides an excellent resource to check against for purposes of this article here .  When using encoding.com with your hosted (ftp, http, etc) source files, often times passwords, usernames, or even filenames will have what is known as a 'reserved character'. Most common for many users is the; @ characters, ! characters, or -

 More -->

The wikipedia article linked here provides an excellent resource to check against for purposes of this article here.  When using encoding.com with your hosted (ftp, http, etc) source files, often times passwords, usernames, or even filenames will have what is known as a 'reserved character'. Most common for many users is the; @ characters, ! characters, or - characters. These characters need to be URL Escaped or Percent-encoded in order to pass through the system in your string. When sending a path to encoding.com, it may look something like this: ftp://user%40domain.tld:password@ftpserver.tld/path/file You replace the @ character with %40 in the username just like shown. That reserved character, once properly escaped, will let our system know how to hand off the proper credentials to the hosting service in question.

Common special characters and their percent encoded equivalent:

@ = %40

& = %26

+ = %2b

/ = %2f

<-- 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 do I use Rackspace Cloud Files as the source or destination location?

The Rackspace Cloud Files platform does not offer the FTP method to send files to their service. Encoding.com added support for our customers to send encoded videos directly to their platform.To specify the source file or output file(s) to be put in a Rackspace Cloud Files folder, you can specify your source or destination URL in a few different ways

 More -->

The Rackspace Cloud Files platform does not offer the FTP method to send files to their service. Encoding.com added support for our customers to send encoded videos directly to their platform.To specify the source file or output file(s) to be put in a Rackspace Cloud Files folder, you can specify your source or destination URL in a few different ways different ways:

1) Virtual URL: http://RS_USER:RS_KEY@storage.cloudfiles.com/actual_container_name/file.ext - Please note the usage of the word 'Virtual' as this formatting is not going to be visible as your browse your Rackspace account. You must create this formatting by following the steps below:

a) Browse to 'Your Account' on your Rackspace control panel and select 'API access'

b) Pull your username and API key and use them to format your URL as listed below.

For example's sake, lets use Encoding123 for the user name and XYZ as the shortened version of what the API key would be.

http://Encoding123:XYZ@storage.cloudfiles.com/actual_container_name/file.ext

Please make sure to fully swap out the information if your URL looks like this: http://c44729.r29.cf2.rackcdn.com/Test.mov Change it to: http://Encoding123:XYZ@storage.cloudfiles.com/Source/Test.mov

---

2) If you select 'Publish to CDN' on the container that you have the source files stored in, Rackspace will generate a unique URL, like http://c12345.r01.cf2.rackcdn.com/test.mov. This URL is now available to the public via this link, and is also simultaneously published to Akamai's CDN. 

 

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

Using the Notify Field to Send an Email Notification

Many users wish to use the encoding.com Notify field in the API or under the AddMedia interface to send an email notification to the desired user. In order to do so, please use ' mailto: ' before the email address. A sample, correctly formatted, email notification request is:

  mailto:helpdesk@encoding.com

This will send

 More -->

Many users wish to use the encoding.com Notify field in the API or under the AddMedia interface to send an email notification to the desired user. In order to do so, please use 'mailto:' before the email address. A sample, correctly formatted, email notification request is:

 mailto:helpdesk@encoding.com

This will send the notification to helpdesk@encoding.com, which, as everyone knows, will send in a support ticket.

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

Error generating thumbnail

This error message is generated when we could not generate a thumbnail from your video. Make sure that the timestamp you have chosen for us take the thumbnail exists in the video file, for example a thumbnail request with a timestamp of 35s in a 30s video will return this error.

This error message is generated when we could not generate a thumbnail from your video. Make sure that the timestamp you have chosen for us take the thumbnail exists in the video file, for example a thumbnail request with a timestamp of 35s in a 30s video will return this error.

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

Locking H.264 keyframe values to conform to DRM requirements

Some DRM specifications require locked GOP sizes that ignore scene changes. Our API can set an H.264 keyframe interval, and boost the scene change threshold high enough to achieve this. Example for 24 fps: <format> <output>mp4 </output> <video_codec>libx264 </video_codec> <framerate>24</framerate> <keyframe>24</keyframe> <video_codec_parameters> <sc_threshold>1999999999</sc_threshold> <keyint_min>23</keyint_min> </video_codec_parameters> </format>
Some DRM specifications require locked GOP sizes that ignore scene changes. Our API can set an H.264 keyframe interval, and boost the scene change threshold high enough to achieve this. Example for 24 fps: <format> <output>mp4 </output> <video_codec>libx264 </video_codec> <framerate>24</framerate> <keyframe>24</keyframe> <video_codec_parameters> <sc_threshold>1999999999</sc_threshold> <keyint_min>23</keyint_min> </video_codec_parameters> </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

Setting S3 permissions for thumbnails

AWS authentication access is currently not implemented for thumb_destination.
Alternatively you can create a separate task with output=thumbnail to use this
feature:
 
To quote our API documentation:
 
Instead of using thumb_ parameters within <format>, you can specify
separate encoding task with output = thumbnail:
 
   <format>
   <!--
 More -->
AWS authentication access is currently not implemented for thumb_destination.
Alternatively you can create a separate task with output=thumbnail to use this
feature:
 
To quote our API documentation:
 
Instead of using thumb_ parameters within <format>, you can specify
separate encoding task with output = thumbnail:
 
   <format>
   <!-- Format fields -->
       <output>thumbnail</output>
       <time>[Time]</time>    
       <width>[Width]</width>
       <height>[Size]</height>
   <!-- Destination fields -->
       <destination>[DestFile]</destination>
   </format>   
<-- Hide
tools: email  |  print  |  share  |  click to rate (rated 3 times):
  • BlinkList
  • Del.icio.us
  • Digg
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • MySpace
  • Newsvine
  • Reddit
  • Sphinn
  • Technorati
  • Twitter

How can I specify where my source media is located?

As a source media you must specify an URL that could be of three types:
1) http://[user]:[password]@[server]/[path]/[filename] or
2) ftp://[user]:[password]@[server]/[path]/[filename] or
3) http://[your_bucket].s3.amazonaws.com/[path]/[filename]
You can omit [user]:[password]@ in case of public (not password protected) resources. In last case, the bucket must have READ permission for AWS user 1a85ad8fea02b4d948b962948f69972a72da6bed800a7e9ca7d0b43dc61d5869.

As a source media you must specify an URL that could be of three types:
1) http://[user]:[password]@[server]/[path]/[filename] or
2) ftp://[user]:[password]@[server]/[path]/[filename] or
3) http://[your_bucket].s3.amazonaws.com/[path]/[filename]
You can omit [user]:[password]@ in case of public (not password protected) resources. In last case, the bucket must have READ permission for AWS user 1a85ad8fea02b4d948b962948f69972a72da6bed800a7e9ca7d0b43dc61d5869.

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

Amazon S3 Integration Overview

Encoding.com was developed to work seamlessly with the Amazon S3 storage service as either the source location of your video library or the destination location where we send videos after encoding is complete. A basic understanding of Amazons ACL permissions is recommended and we would highly recommend reading through our articles on integrating Amazon S3 with Encoding.com.

 More -->

Encoding.com was developed to work seamlessly with the Amazon S3 storage service as either the source location of your video library or the destination location where we send videos after encoding is complete. A basic understanding of Amazons ACL permissions is recommended and we would highly recommend reading through our articles on integrating Amazon S3 with Encoding.com.

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

Using Amazon S3 with the Watch Folder

AWS watch folders are a beautiful thing. Let's lay out a couple ground rules before we begin, shall we?

+ Make sure your destination is NOT a source location subfolder. You should NOT use /some_path/videos as a source and /some_path/videos/encoded as a destination unless you want an infinite loop.

+ The destination should be in a separate bucket

 More -->

AWS watch folders are a beautiful thing. Let's lay out a couple ground rules before we begin, shall we?

+ Make sure your destination is NOT a source location subfolder. You should NOT use /some_path/videos as a source and /some_path/videos/encoded as a destination unless you want an infinite loop.

+ The destination should be in a separate bucket or folder, ideally.

+ Do not use capital letters in your bucket names.

1) Specify the URL

You source and destination URLs would be:
http://encode.video.s3.amazonaws.com/v/source/
http://encode.video.s3.amazonaws.com/v/encoded. Ensure to add on your secret keys to the URL for the watchfolder, unless your buckets are public. In that case, it would look like this:

http://your_accesskey_code:your_secretkey_code@encode.video.s3.amazonaws.com/v/source/


2) Set the bucket ACLs

To let Encoding.com read bucket contents and save the results, add UPLOAD and DELETE permission for the AWS user fastencoding (1a85ad8fea02b4d948b962948f69972a72da6bed800a7e9ca7d0b43dc61d5869). Please no not use 'fastencoding' as is, use the long string, as it will resolve to the user fastencoding. 
If you use separate buckets for source and destination, note that you destination bucket MUST have READ permission as well as WRITE (upload/delete), in order for Encoding.com to verify the results of the file delivery.

3) Specify output file permissions

By default, results saved by Encoding.com have READ permission for all authenticated AWS users. What if we need to share results with the other users, or make the file visible to the web? To make Encoding.com set READ permission for ALL users, just add ?acl=public-read to the end of your destination URL:


http://encode.video.s3.amazonaws.com/v/encoded/?acl=public-read


Now your files are accessible though HTTP for browser viewing. You can now use the URL of the file to view the video and share with other users. 

4) Specifying your AWS credentials.

Sometimes you may need the result files saved to your bucket by Encoding.com to have permissions for a specific user, such as yourself. In this case you can specify your AWS Access Key and Secret Access Key in the URL. You won't need to add any permissions to the bucket in this scenario:

Say the Access Key and the Secret Access Key are:
1ZG3YAKJ8W0VOA9L7WT6
lQT5MsQLirc8owb:SxX/9EhU4MQarasFelQ0v2M. First, we must percent-encode the Secret Access Key, as it contains the special URL characters: ':' and '/'. The percent-encoded Secret Access Key is:
 lQT5MsQLirc8owb%3ASxX%2F9EhU4MQarasFelQ0v2M


Once the Secret Access Key is properly percent-encoded, it can be added to the address string, the destination URL would look like this:
http://1ZG3YAKJ8W0VOA9L7WT6:lQT5MsQLirc8owb%3ASxX%2F9EhU4MQarasFelQ0v2M@encode.video.s3.amazonaws.com/v/encoded/

Please contact Support if you are experiencing any issues building your S3 workflow.

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

Using Encoding.com a a temporary storage for your encoded video

You can use encoding.com's cloud storage location as temporary storage for your encoding output. To accomplish this you leave the "Destination" field empty using any integration method Web Interface. Desktop Application, or the API. To retrieve the direct http url of your you can login to the client interface, click Encoding Queue, expand the job ID and click on the

 More -->

You can use encoding.com's cloud storage location as temporary storage for your encoding output. To accomplish this you leave the "Destination" field empty using any integration method Web Interface. Desktop Application, or the API. To retrieve the direct http url of your you can login to the client interface, click Encoding Queue, expand the job ID and click on the "Download" link. If you are using our notification feature the http url will be available in the field of the email or XML notification we send once the job is complete. Encoding.com will store your encoding ouptut temporarily for up to 15 days or 100GB, which ever comes first. If you reach your 100GB limit we will automatically delete the oldest files first.

Please note that this is not available for .m3u8 files, aka Apple iPhone / iPad Streaming HLS files.

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

Will Encoding.com retry the XML Notification post to my server?

In the notification field of the API, web interface or Desktop Air App, you can specify a http url which we will send a notification post to once the job is complete. If we do not get a success message from our first attempt to send your system this XML we will resend the post up to 3 times.

 More -->

In the notification field of the API, web interface or Desktop Air App, you can specify a http url which we will send a notification post to once the job is complete. If we do not get a success message from our first attempt to send your system this XML we will resend the post up to 3 times.

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