Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dimmaryanto93/springboot2-ffmpeg-example
- Owner: dimMaryanto93
- License: mit
- Created: 2019-05-16T02:49:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-16T08:49:43.000Z (over 5 years ago)
- Last Synced: 2024-11-07T09:12:16.642Z (about 2 months ago)
- Topics: compression, ffmpeg, multipart-uploads, springboot2, video
- Language: Java
- Size: 12.7 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.markdown
- Contributing: CONTRIBUTING.markdown
- License: LICENSE
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]'
```