FFMPEG Jar Library and Executable

Currently working on FFMPEG library to create timelapse-based video creator application. Our application build on Java Environment (*.jar) and will be running on server side.

I used FFMPEG for video compression because JMF doesn’t support for video compression.

After reading several question on SO and doing some research, I know FFMPEG can do video compression through this command

ffmpeg -i a.mp4 -s 640x480 -b:v 512k -vcodec mpeg1video -acodec copy b.mp4

Our FFMPEG version

ffmpeg version N-86848-g03a9e6f Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.1.0 (GCC)

windows environment (*.exe)

My question,

  1. Is there any FFMPEG jar file or library so we can call inside from our application (our code) instead of using ProcessBuilder to call exe?
  2. Is FFMPEG provide jar executable version? After doing some research here I not found any executable jar. We need call executable jar like this java -jar FFMPEG.jar
  3. How to packed all jar on library so when we build application will not produce any lib folder.

Anyway, thanks.