Manual

WPFFmpegStudio Manual

1. Overview

WPFFmpegStudio is a WordPress plugin that uses FFmpeg to process videos and audio directly inside WordPress.
It is designed to create, optimize, and repurpose media for blogs and social networks.

Main features:

  • Auto-generate video thumbnails

  • Compress and optimize videos

  • Convert videos into multiple formats (mp4, webm, gif, etc.)

  • Create short videos from articles (AutoShots)

  • Export optimized videos for TikTok, YouTube Shorts, and X


2. Installation

  1. Ensure that FFmpeg is installed on your server

    • Check with command: ffmpeg -version

    • Most hosting providers like Xserver or Sakura may have it pre-installed

  2. In WordPress, go to Plugins > Add New

  3. Upload wp-ffmpeg-studio.zip

  4. Click Activate


3. Initial Setup

After activation, you will see WP FFmpeg Studio in the admin menu.

  • FFmpeg Path: Enter the path to ffmpeg (e.g., /usr/bin/ffmpeg)

  • Output Folders:

    • Thumbnails (e.g., /wp-content/uploads/ffmpeg/thumbs/)

    • Converted videos (e.g., /wp-content/uploads/ffmpeg/converted/)

    • AutoShots videos (e.g., /wp-content/uploads/ffmpeg/auto/)

  • Auto Processing:

    • Run automatically when a new post is published

    • Or schedule periodic processing with cron


4. Basic Usage

4.1 Generate Thumbnails

  1. Upload a video in the post editor

  2. Click Generate Thumbnail

  3. The image is extracted and can be set as the post thumbnail


4.2 Convert Videos

  1. Go to WP FFmpeg Studio > Video Conversion

  2. Select a video file

  3. Choose the output format (mp4, webm, gif, etc.)

  4. Click Start Conversion


4.3 AutoShots (Create Short Videos from Articles)

  1. Go to WP FFmpeg Studio > AutoShots

  2. Select an article

  3. Combine text + images + optional BGM

  4. Generate a 15–30 second short video

  5. Output is saved in /uploads/ffmpeg/auto/


5. Advanced Usage

5.1 TikTok / YouTube Shorts Integration

WPFFmpegStudio supports creating short videos optimized for TikTok and YouTube Shorts.

  • Recommended Settings

    • Resolution: 1080×1920 (vertical, 9:16)

    • Frame rate: 30fps

    • Length: 15–60 seconds (TikTok allows up to 10 minutes, but Shorts require ≤60 seconds)

  • TikTok Upload

    1. Register your app with TikTok for Developers

    2. Add redirect URL in the TikTok settings

    3. Authenticate your TikTok account in WPFFmpegStudio

    4. Upload generated AutoShots directly to TikTok

  • YouTube Upload

    1. Enable YouTube Data API in Google Cloud Console

    2. Obtain an API key and register it in WPFFmpegStudio

    3. Enter Title, Description, and Tags

    4. Upload videos directly to YouTube Shorts

👉 Combine this with XAutoPost to share article URLs on X, achieving a multi-channel promotion workflow.


5.2 Compress Videos

  • Reduce file size for faster mobile loading

  • Example option: -crf 28 -preset veryfast

5.3 Convert to GIF

  • Cut a video segment and export as an animated GIF

5.4 Custom FFmpeg Commands

  • Advanced users can input custom FFmpeg parameters for specific conversions


6. Troubleshooting

  • FFmpeg not found → Ensure FFmpeg is installed on the server

  • No output video → Check folder permissions (must be writable)

  • Upload errors on TikTok/YouTube → Verify API keys and authentication


7. Appendix

Folder Structure

/wp-content/uploads/ffmpeg/
├── tmp/ Temporary files
├── thumbs/ Thumbnails
├── converted/ Converted videos
└── auto/ AutoShots videos

Example Workflow

  1. Publish an article → Generate AutoShots video

  2. Upload video to YouTube Shorts

  3. Upload video to TikTok

  4. Share article link via XAutoPost

関連記事一覧