GoAdmio Command Line: ffmpeg with /go/ffmpeg

/go/ffmpeg does two unrelated things in one script: The command re-execs itself inside a detached screen session named FFMPEG, because the ImageMagick source build can take a long time. The call is appended to /var/log/go/ffmpeg.log. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# EL7 servers only — see the warnings above
/go/ffmpeg

# Check on it later
screen -r FFMPEG

Options

None.

Examples

# Run it
/go/ffmpeg

# Come back later and check progress
screen -r FFMPEG

# Confirm the results once it's done
convert -version
ffmpeg -version

Output

The command itself prints nothing to the terminal that started it — it immediately detaches into a screen session called FFMPEG and returns. All build and install output happens inside that session.

# Watch it live
screen -r FFMPEG

# Detach again without stopping it
# (inside screen) Ctrl-A, then D

If the session has already finished, screen -r FFMPEG reports no such session.

See the full reference at /go/ffmpeg and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *