Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/minhaj86/TranscodeWorker

Vert.x worker to execute transcode job
https://github.com/minhaj86/TranscodeWorker

eventbus ffmpeg file-upload java reactive-programming resteasy transcode vertx

Last synced: about 2 months ago
JSON representation

Vert.x worker to execute transcode job

Awesome Lists containing this project

README

        

= Transcodenode

image:https://img.shields.io/badge/vert.x-4.1.2-purple.svg[link="https://vertx.io"]

This application was generated using http://start.vertx.io

== Building

To launch your tests:
```
./mvnw clean test
```

To package your application:
```
./mvnw clean package
```

To run your application:
```
mqhost=localhost mediadirectory=/home/mrl/media/ ./mvnw clean compile exec:java
```

== Testing

To test Transcode Job Submission REST API:
```
curl -v -H 'Content-type: application/json' --data '{"id":"0000000","videoRef":"videoRef","targetFormat":"mp4","targetAttribute":"targetAttribute","fileId":101,"fileName":"b.mp4","outputFileName":"b13.mp4"}' localhost:8080/transcode/job

```

To test File Upload REST API:
```
curl -v -H 'Content-type: application/octet-stream' --data-binary @/home/mrl/Videos/ralphtest.mp4 localhost:8888/file/upload/101?filename=ralph.mp4
```

== Help

* https://vertx.io/docs/[Vert.x Documentation]
* https://stackoverflow.com/questions/tagged/vert.x?sort=newest&pageSize=15[Vert.x Stack Overflow]
* https://groups.google.com/forum/?fromgroups#!forum/vertx[Vert.x User Group]
* https://gitter.im/eclipse-vertx/vertx-users[Vert.x Gitter]