GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bitzeche/zencoder-java: Java Client Library for Zencoder API

BranchesTags
Open more actions menu

Latest commit

 

History

88 Commits
88 Commits

Folders and files

NameName
Last commit message
Last commit date
.settings
.settings
 
 
src
src
 
 
.classpath
.classpath
 
 
.gitignore
.gitignore
 
 
.project
.project
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
README.md
README.md
 
 
header.txt
header.txt
 
 
pom.xml
pom.xml
 
 

Repository files navigation

zencoder-java

Java Client Library for Zencoder API

Current release version: 0.9.3 Current development version: 0.9.4-SNAPSHOT

How to use zencoder-java

Zencoder-java currently supports most of the functions of Zencoder, e.g.:

  • Watermarks
  • Multiple outputs
  • S3 storage (both for in and output)
  • Notifications (email, HTTP, ...)
  • ...

Using zencoder-java to create your zencoder jobs is fairly easy:

Create a client instance

ZencoderClient zencoderClient = new ZencoderClient(API_KEY, API_VERSION);
HttpClient client = new HttpClient(new SimpleHttpConnectionManager());
ApacheHttpClientHandler apacheHttpClientHandler = new ApacheHttpClientHandler(client, new DefaultApacheHttpClientConfig());
ApacheHttpClient httpClient = new ApacheHttpClient(apacheHttpClientHandler);
zencoderClient.setHttpClient(httpClient); 

Create Job

ZencoderJob job = new ZencoderJob("http://ca.bitzeche.de/big_buck_bunny_720p_h264.mov");

//region where the job is processed
job.setZencoderRegion(ZencoderRegion.EUROPE);

//set test mode
job.setTest(true);

Create Output

ZencoderOutput output = new ZencoderOutput("test", "se://test/");
job.addOutput(output);

Create Notification

//Add notification email
ZencoderNotification notification = new ZencoderNotification("[email protected]");
output.addNotification(notification);

Submit Job

client.createJob(job);

Cancel Job

client.cancelJob(job);

Resubmit Job

boolean resubmitted = client.resubmitJob(job);

Delete Job

client.deleteJob(job);

Add Watermark

ZencoderWatermark watermark = new ZencoderWatermark("http://url/");
output.addWatermark(watermark);

About

Java Client Library for Zencoder API

Resources

Readme

Contributing

Contributing
Activity
Custom properties

Stars

14 stars

Watchers

8 watching

Forks

14 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.