← 返回命令列表

Linux command

openshot-render 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Render

openshot-render [project.osp] [output.mp4]

Render with an export profile

openshot-render -p "[HD 1080p 30 fps]" [project.osp] [output.mp4]

Render a specific frame range

openshot-render -s [1] -e [300] [project.osp] [output.mp4]

Render with a custom video codec

openshot-render -v [libx264] -b [8000000] [project.osp] [output.mp4]

说明

openshot-render is a command-line front-end to OpenShot's libopenshot rendering engine. It allows headless export of OpenShot project files (.osp) to video files without launching the GUI, which is useful for automated batch rendering, render farms, and CI pipelines. The tool reads the project's timeline, applies effects and transitions, and uses FFmpeg under the hood to encode the final video. Profile names and codecs must match those available in the OpenShot installation.

参数

-p _PROFILE_
Export profile name (must match an installed OpenShot profile).
-s _START_
First frame to include in the export.
-e _END_
Last frame to include in the export.
-v _CODEC_
Video codec passed through to FFmpeg (e.g. libx264, libvpx).
-a _CODEC_
Audio codec.
-b _BITRATE_
Video bitrate in bits per second.
-h, --help
Display help information.

FAQ

What is the openshot-render command used for?

openshot-render is a command-line front-end to OpenShot's libopenshot rendering engine. It allows headless export of OpenShot project files (.osp) to video files without launching the GUI, which is useful for automated batch rendering, render farms, and CI pipelines. The tool reads the project's timeline, applies effects and transitions, and uses FFmpeg under the hood to encode the final video. Profile names and codecs must match those available in the OpenShot installation.

How do I run a basic openshot-render example?

Run `openshot-render [project.osp] [output.mp4]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p _PROFILE_ do in openshot-render?

Export profile name (must match an installed OpenShot profile).