Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dimmaryanto93/springboot2-ffmpeg-example

Example upload video with springboot2 + compression
https://github.com/dimmaryanto93/springboot2-ffmpeg-example

compression ffmpeg multipart-uploads springboot2 video

Last synced: 6 days ago
JSON representation

Example upload video with springboot2 + compression

Awesome Lists containing this project

README

        

# Springboot Rest API upload Videos + compress

Springboot2 upload video then compress to lower using [ffmpeg](https://github.com/bramp/ffmpeg-cli-wrapper) libraries.

## Getting Started

System required

- Java 8
- [ffmpeg](https://ffmpeg.org/download.html)
- maven

## Example request

```bash
curl -X POST \
http://localhost:8080/upload-video/api/media/upload/video \
-H 'Content-Type: application/octet-stream' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F 'content=@[path-to/file-name.video]'
```