Can I encode a file directly from Dropbox?

Use Dropbox with Encoding.com or Vid.ly to pass source files with ease! Once you have your public URL for your file, you can easily use that as the source link to encode files with Encoding.com.  

Two easy steps to remember:

1. Make sure the file is in a shared location.

2. You must add ?dl=1 to the end of your source URL, this will force the download to begin. Otherwise, the job will fail.

Example: https://www.dropbox.com/[dropbox_URL]?dl=1

Now you can easily use this in your API integration with AddMedia and AddMediaBenchmark. Please note that Dropbox is not available for usage with the watch folder service at this time.

###

Here's how to locate the public URL for your Dropbox file:

– Right-clicking on the file.

– Select Dropbox under the menu choice.

– Select Get Link 

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

<?xml version="1.0"?>
<query>
<!-- Main fields -->
    <userid>[UserID]</userid>
    <userkey>[UserKey]</userkey>
    <action>[Action]</action>
    <mediaid>[MediaID]</mediaid>
    <source>https://www.dropbox.com/[dropbox_URL]?dl=1</source>
    <source>[SourceFile1]</source> <!-- if multiple SourceFile added, they will be concatenated -->
    ...
    <source>[SourceFileN]</source>
    <region>[us-east-1|us-west-1|us-west-2|eu-west-1|ap-southeast-1|ap-northeast-1|sa-east-1]</region>
    <notify>[NotifyURL]</notify>
    <notify_encoding_errors>[NotifyEncodingErrorURL]</notify_encoding_errors>
    <format>
        <!-- Format fields -->
    </format>
</query>

Vid.ly XML Example: http://api.vid.ly/#AddMedia

<?xml version="1.0"?>
<Query>
    <Action>AddMedia</Action>
    <UserID>[User ID]</UserID>
    <UserKey>[User key]</UserKey>
    <Notify>[Notify URL]</Notify>
    <Source>
        <SourceFile>https://www.dropbox.com/[dropbox_URL]?dl=1</SourceFile>
        <CDN>[CDNType]</CDN>
        <HD>[HD]</HD>
        <Protect>
            <StartDate>2012-04-01 00:00:00</StartDate>
            <ExpirationDate>2012-05-01 00:00:00</ExpirationDate>
            <IpAddress>89.100.11.*,89.100.12.1-20,89.100.13.50</IpAddress>
            <Token/>
        </Protect>
    </Source>
</Query>
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

edchelp