Request status from background running HandBrake

HandBrake for Mac support
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
rccharles
Posts: 2
Joined: Wed Jan 17, 2018 10:32 pm

Request status from background running HandBrake

Post by rccharles »

Question

I was wonder is there a way of asking Handbrake for a progress report while it is running. I'm helping a user setup handbrake to run in the background. The user wants to know the progress handbrake is making.

With the dd command on macos, you can do a
sudo kill -s siginfo $(pgrep ^dd)
to find the status.
Is there something like this for handbrake?

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.3 High Sierra, Windows 10 Creators Update)
macOS Yosemite

Error message text or screenshot (If Applicable)
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Request status from background running HandBrake

Post by BradleyS »

You could pipe stderr to a file and read the contents periodically using tail and watch.

Something like HandBrakeCLI ... 2>/progress.log

And in another terminal, watch 'tail progress.log'

You may also wish to use tr to convert carriage returns to linefeeds.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Request status from background running HandBrake

Post by BradleyS »

If memory serves correctly, Apple doesn’t ship watch. You may need to get it from homebrew or find source to compile.
rccharles
Posts: 2
Joined: Wed Jan 17, 2018 10:32 pm

Re: Request status from background running HandBrake

Post by rccharles »

Ok, thanks.
Post Reply