diff --git a/README.md b/README.md index 0b9f43e..c61f3c9 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ python setup.py install **install from pip** ```` -sudo pip install qencode3 +sudo pip3 install qencode3 ```` **Usage** @@ -38,8 +38,6 @@ QUERY = """ """ client = qencode3.client(API_KEY) -client.create() - task = client.create_task() task.custom_start(QUERY) ```` @@ -84,10 +82,6 @@ source_url = generate_aws_signed_url(region, bucket, object_key, access_key, sec Documentation is available at -**Documentation** - -Documentation is available at - **Description** Here you will find examples of Qencode solutions using the latest version of python. Some popular examples include launching [video encoding](https://cloud.qencode.com/) jobs through the API, basic testing functionality, and code developed to exhibit a wide range of features that we offer. Please send over any ideas you have to help us improve our solution and continue to provide you with the easiest transcoding solutions on the market. diff --git a/docs/quickstart.md b/docs/quickstart.md index 1b7a1ec..51f1f4f 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -17,7 +17,7 @@ import qencode params = """ {"query": { - "source": "https://qencode.com/static/1.mp4", + "source": "https://nyc3.s3.qencode.com/qencode/bbb_30s.mp4", "format": [ { "output": "mp4", diff --git a/docs/usage.md b/docs/usage.md index 55f9580..783cf86 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -20,7 +20,7 @@ API_KEY = 'your-api-qencode-key' #replace with a link to your input video params = """ {"query": { - "source": "https://qencode.com/static/1.mp4", + "source": "https://nyc3.s3.qencode.com/qencode/bbb_30s.mp4", "format": [ { "output": "mp4", diff --git a/sample-code/query.json b/sample-code/query.json index f7fb311..daac5ee 100644 --- a/sample-code/query.json +++ b/sample-code/query.json @@ -1,6 +1,6 @@ {"query": { - "source": "https://qencode.com/static/1.mp4", + "source": "https://nyc3.s3.qencode.com/qencode/bbb_30s.mp4", "format": [ { "output": "mp4", diff --git a/sample-code/start_custom_hls.py b/sample-code/start_custom_hls.py index 334ddf9..0ae017e 100644 --- a/sample-code/start_custom_hls.py +++ b/sample-code/start_custom_hls.py @@ -35,7 +35,7 @@ FORMAT.destination = DESTINATION #replace with a link to your input video -params.source = 'https://qencode.com/static/1.mp4' +params.source = 'https://nyc3.s3.qencode.com/qencode/bbb_30s.mp4' params.format = [FORMAT] def start_encode(): diff --git a/sample-code/start_custom_mp4.py b/sample-code/start_custom_mp4.py index 36f6ad3..97b2fc8 100644 --- a/sample-code/start_custom_mp4.py +++ b/sample-code/start_custom_mp4.py @@ -28,7 +28,7 @@ FORMAT.destination = DESTINATION #replace with a link to your input video -params.source = 'https://qencode.com/static/1.mp4' +params.source = 'https://nyc3.s3.qencode.com/qencode/bbb_30s.mp4' params.format = [FORMAT] def start_encode(): diff --git a/sample-code/start_custom_with_dict.py b/sample-code/start_custom_with_dict.py index 7b3f934..933ca6b 100644 --- a/sample-code/start_custom_with_dict.py +++ b/sample-code/start_custom_with_dict.py @@ -13,7 +13,7 @@ API_KEY = 'your-api-qencode-key' #replace with a link to your input video -source_url = "https://qencode.com/static/1.mp4" +source_url = "https://nyc3.s3.qencode.com/qencode/bbb_30s.mp4" format_240 = dict( output="mp4", diff --git a/sample-code/start_custom_with_json.py b/sample-code/start_custom_with_json.py index 74abe5e..fadb38a 100644 --- a/sample-code/start_custom_with_json.py +++ b/sample-code/start_custom_with_json.py @@ -15,7 +15,7 @@ #replace with a link to your input video params = """ {"query": { - "source": "https://qencode.com/static/1.mp4", + "source": "https://nyc3.s3.qencode.com/qencode/bbb_30s.mp4", "format": [ { "output": "mp4", diff --git a/sample-code/start_with_callback.py b/sample-code/start_with_callback.py index ffe46a4..e594ebe 100644 --- a/sample-code/start_with_callback.py +++ b/sample-code/start_with_callback.py @@ -16,7 +16,7 @@ #replace with a link to your input video params = """ {"query": { - "source": "https://qencode.com/static/1.mp4", + "source": "https://nyc3.s3.qencode.com/qencode/bbb_30s.mp4", "format": [ { "output": "mp4",