Ahosting Logo
Knowledge Base

Getting Started with FFmpeg on Your Ahosting VPS

This guide walks you through connecting to your FFmpeg hosting VPS and running your first commands.

Step 1: Connect via SSH

Use your preferred SSH client (Terminal on Mac/Linux, PuTTY on Windows):

ssh root@your-server-ip

Your login credentials were emailed when your VPS was provisioned.

Step 2: Verify FFmpeg Installation

Check that FFmpeg is installed and see the version:

ffmpeg -version

You should see output showing FFmpeg version and enabled codecs.

Step 3: Check Available Codecs

ffmpeg -codecs | grep -E "264|265|vp9|aac|opus"

This confirms H.264, H.265, VP9, AAC, and Opus are available.

Step 4: Run a Test Conversion

Upload a test video and convert it:

ffmpeg -i input.mp4 -c:v libx264 -crf 23 -c:a aac output.mp4

Step 5: Access CloudPanel

CloudPanel provides a web interface for managing your VPS:

https://your-server-ip:8443

Use your root credentials to log in.

Useful Directories

  • /home/ – User home directories for your sites
  • /var/www/ – Web root (if using Apache/Nginx)
  • /tmp/ – Temporary files during encoding

Next Steps: Check out our FFmpeg Commands Cheat Sheet for common encoding tasks.