mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
ges: easier to understand ges-launch summary
This commit is contained in:
parent
5f457a23d1
commit
d8d93aad82
1 changed files with 15 additions and 9 deletions
|
@ -448,15 +448,21 @@ main (int argc, gchar ** argv)
|
||||||
|
|
||||||
ctx = g_option_context_new ("- plays or renders a timeline.");
|
ctx = g_option_context_new ("- plays or renders a timeline.");
|
||||||
g_option_context_set_summary (ctx,
|
g_option_context_set_summary (ctx,
|
||||||
"A timeline is a sequence of files, patterns, and transitions.\n"
|
"ges-launch renders a timeline, which can be specified on the commandline,\n"
|
||||||
"Transitions can only go between patterns or files.\n\n"
|
"or loaded from a file using the -q option.\n\n"
|
||||||
"A file is a tripplet of:\n"
|
"A timeline is a list of files, patterns, and transitions to be rendered\n"
|
||||||
" * filename\n"
|
"one after the other. Files and Patterns provide video and audio as the\n"
|
||||||
" * inpoint (in seconds)\n"
|
"primary input, and transitions animate between the end of one file/pattern\n"
|
||||||
" * duration (in seconds) If 0, full file length\n\n"
|
"and the beginning of a new one. Hence, transitions can only be listed\n"
|
||||||
"Patterns and transitions are triplets of:\n"
|
"in between patterns or files.\n\n"
|
||||||
" * \"+pattern\" | \"+transition\"\n"
|
"A file is a triplet of filename, inpoint (in seconds) and\n"
|
||||||
" * <type>\n" " * duration (in seconds, must be greater than 0)\n");
|
"duration (in seconds). If the duration is 0, the full file length is used.\n\n"
|
||||||
|
"Patterns and transitions are triplets that begin with either \"+pattern\"\n"
|
||||||
|
"or \"+transition\", followed by a <type> and duration (in seconds, must be\n"
|
||||||
|
"greater than 0)\n\n"
|
||||||
|
"Durations in all cases can be fractions of a second.\n\n"
|
||||||
|
"Example:\n"
|
||||||
|
"ges-launch file1.avi 0 45 +transition crossfade 3.5 file2.avi 0 0");
|
||||||
g_option_context_add_main_entries (ctx, options, NULL);
|
g_option_context_add_main_entries (ctx, options, NULL);
|
||||||
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
g_option_context_add_group (ctx, gst_init_get_option_group ());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue