Running HandbrakeCLI in Java

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
staypuff
Posts: 2
Joined: Thu Dec 29, 2016 2:21 am

Running HandbrakeCLI in Java

Post by staypuff »

Please detail your question or problem in as much detail as possible:
I have written a Java program that converts all files in a directory. When I execute the program, the video files start converting and do finish. Everything looks great with the converted file. The issue is that the process that gets spawned from the Java environment never stops. I have checked the Linux processes after the file has completed and still see that the HandbrakeCLI command is still running. I have let it run for hours and it never stops. I have a work around in place to check the file size every 30 seconds for now, but wondering if this is normal behavior for HandBrake or not.

Tell us about your environment. What version of HandBrake? What version of Linux / Unix are you running. etc.
Get '20161008205232-88807bb-unknown' with HandBrakeCLI --version
Fedora with Java 1.8
Post Reply