Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.2 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.2 KB

pixop-cs-api-curl-demo

cURL demo of using Pixop Video Processing REST API from the Bash shell.

The following is demonstrated:

  1. Authentication
  2. Create new project
  3. Create new video in the created project
  4. Upload small.mov (560x320 pixels) as media for the created video and wait for ingestion to complete
  5. Trigger request to upscale video via PIXOP Super Resolution and wait for processing to complete
  6. Download resultant HD 1080p media to small_hd.mov in current directory on local file system
  7. Delete videos and project

Requirements

Initial setup

Clone repository and create personal cURL credentials file for Pixop Video Processing API:

    git clone https://github.com/pixop/pixop-cs-api-curl-demo
    cd pixop-cs-api-curl-demo
    cp pixop-api-netrc-template pixop-api-netrc

Finally update the email and password in the pixop-api-netrc to the appropriate values before running the demo.

Running

Run the API demo:

    ./pixop_api_demo.sh

REST endpoints documentation

https://www.pixop.com/pixop-api/docs