← 返回命令列表

Linux command

ges-launch-1.0 命令

网络

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

常用示例

Play back a media file

ges-launch-1.0 +clip [path/to/file.mp4]

Render a timeline

ges-launch-1.0 +clip [path/to/input.mp4] -o file:///[path/to/output.webm]

Add a clip with a specific duration

ges-launch-1.0 +clip [path/to/file.mp4] duration=[5000000000]

Apply a video effect

ges-launch-1.0 +clip [path/to/file.mp4] +effect videobalance saturation=[0.0]

Load an existing project

ges-launch-1.0 -l [path/to/project.xges]

Add a title clip

ges-launch-1.0 +title text="[Hello World]" duration=[3000000000]

说明

ges-launch-1.0 is the command-line tool for the GStreamer Editing Services (GES) library. It constructs multimedia timelines from clips, effects, and titles, then either plays them back in real time or renders them to a file in a specified format. Timelines can be built from command-line arguments or loaded from existing .xges project files. The tool leverages the full GStreamer pipeline framework, meaning any format or codec supported by GStreamer can be used for input and output. It is commonly used for quick video editing tasks, automated rendering pipelines, and testing GES functionality.

参数

-h, --help
Display help options.
--help-all
Display all available help options.
--help-gst
Display GStreamer-specific options.
-l, --load _URI_
Load an existing project from a .xges file.
-s, --save _URI_
Save the current timeline to a project file before rendering.
-p, --sample-path _PATH_
Search for missing assets in the specified directory.
-o, --outputuri _URI_
Render the timeline to the given file URI instead of playing it back.
-f, --format _PROFILE_
Specify the encoding profile from the command line.
-e, --encoding-profile _PRESET_
Use an encoding profile preset.
-t, --track-types _TYPES_
Define which track types to create (audio, video, or both).
-v, --videosink _SINK_
Set the video output sink for playback.
-a, --audiosink _SINK_
Set the audio output sink for playback.
-m, --mute
Mute audio and video during playback.
--disable-mixing
Disable layer mixing and compositing.
--list-transitions
List all valid transition types and exit.
-r, --repeat _N_
Repeat the timeline _N_ times.

FAQ

What is the ges-launch-1.0 command used for?

ges-launch-1.0 is the command-line tool for the GStreamer Editing Services (GES) library. It constructs multimedia timelines from clips, effects, and titles, then either plays them back in real time or renders them to a file in a specified format. Timelines can be built from command-line arguments or loaded from existing .xges project files. The tool leverages the full GStreamer pipeline framework, meaning any format or codec supported by GStreamer can be used for input and output. It is commonly used for quick video editing tasks, automated rendering pipelines, and testing GES functionality.

How do I run a basic ges-launch-1.0 example?

Run `ges-launch-1.0 +clip [path/to/file.mp4]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -h, --help do in ges-launch-1.0?

Display help options.