Springboot2 upload video then compress to lower using ffmpeg libraries.
System required
- Java 8
- ffmpeg
- maven
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]'