58
I'm pretty new to Java, and need to write a program that listens to video conversion instructions and convert the video once a new instruction arrives (instructions are stored in Amazon SQS, but it's irrelevant to my question).
I'm facing a choice, either use Java runtime to exec FFmpeg conversion (like from command line), or I can use an FFmpeg wrapper written in Java.
http://fmj-sf.net/ffmpeg-java/getting_started.php
I'd much prefer using Java runtime to exec FFmpeg directly, and avoid using java-ffmpeg wrapper as I have to learn the library.
So my question is this: Are there any benefits using java-ffmpeg wrapper over exec FFmpeg directly using Runtime?
I don't need FFmpeg to play videos, just convert videos.