From cf73f8dc6a93a7ba83c9e28d963d397f1b725ed8 Mon Sep 17 00:00:00 2001 From: Root BA Date: Mon, 25 Apr 2022 20:31:59 +0000 Subject: [PATCH 1/3] Check source URL --- docs/quickstart.md | 2 +- docs/usage.md | 2 +- sample-code/query.json | 2 +- sample-code/start_custom_hls.py | 2 +- sample-code/start_custom_mp4.py | 2 +- sample-code/start_custom_with_dict.py | 2 +- sample-code/start_custom_with_json.py | 2 +- sample-code/start_with_callback.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) 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", From 67fb7f596566a7c5af4ba9e9af4600e54637b0fb Mon Sep 17 00:00:00 2001 From: Qencode Date: Sun, 3 Jul 2022 19:10:15 +0300 Subject: [PATCH 2/3] fix for readme --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 0b9f43e..920848b 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) ```` From 26530cdcce90db89f4da2b8424c504250137a362 Mon Sep 17 00:00:00 2001 From: Qencode Date: Sun, 3 Jul 2022 19:19:42 +0300 Subject: [PATCH 3/3] Readme fix --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 920848b..c61f3c9 100644 --- a/README.md +++ b/README.md @@ -82,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.