gstreamer 手册

gst-launch是一个用于构建和运行基本GStreamer管道的工具。它接受一个简单的元素列表,用感叹号分隔,并允许设置元素属性。此工具主要用于调试和开发,不适合构建应用程序。通过指定选项,可以控制输出信息、管道控制、调试级别等。GStreamer还提供了一系列选项,用于处理错误、插件路径和内存分配跟踪。示例包括音频播放、格式转换、CD抓轨和网络流媒体播放等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

GStreamer(1)                                                                                                                                 GStreamer(1)


NAME
       gst-launch - build and run a GStreamer pipeline


SYNOPSIS
       gst-launch [OPTION...] PIPELINE-DESCRIPTION


DESCRIPTION
       gst-launch is a tool that builds and runs basic GStreamer pipelines.


       In  simple  form,  a PIPELINE-DESCRIPTION is a list of elements separated by exclamation marks (!). Properties may be appended to elements, in the
       form property=value.


       For a complete description of possible PIPELINE-DESCRIPTIONS see the section pipeline description below or consult the GStreamer documentation.


       Please note that gst-launch is primarily a debugging tool for developers and users. You should not build applications on top of it.  For  applica‐
       tions, use the gst_parse_launch() function of the GStreamer API as an easy way to construct pipelines from pipeline descriptions.


OPTIONS
       gst-launch accepts the following options:


       --help  Print help synopsis and available FLAGS


       -v, --verbose
               Output status information and property notifications


       -q, --quiet
               Do not print any progress information


       -m, --messages
               Output messages posted on the pipeline's bus


       -t, --tags
               Output tags (also known as metadata)


       -e, --eos-on-shutdown
               Force  an  EOS  event on sources before shutting the pipeline down. This is useful to make sure muxers create readable files when a muxing
               pipeline is shut down forcefully via Control-C.


       -i, --index
               Gather and print index statistics. This is mostly useful for playback or recording pipelines.


       -o FILE, --output=FILE
               Save XML representation of pipeline to FILE and exit (DEPRECATED, DO NOT USE)


       -f, --no-fault
               Do not install a fault handler


       --no-sigusr-handler
               Do not install signal handlers for SIGUSR1 (play) and SIGUSR2 (stop)


       -T, --trace
               Print memory allocation traces. The feature must be enabled at compile time to work.


       GSTREAMER OPTIONS
              gst-launch also accepts the following options that are common to all GStreamer applications:


       --gst-version
               Prints the version string of the GStreamer core library.


       --gst-fatal-warnings
               Causes GStreamer to abort if a warning message occurs. This is equivalent to setting the environment variable G_DEBUG to  'fatal_warnings'
               (see the section environment variables below for further information).


       --gst-debug=STRING
               A  comma separated list of category_name:level pairs to specify debugging levels for each category. Level is in the range 0-5 where 0 will
               show no messages, and 5 will show all messages. The wildcard * can be used to match category names.


               Use --gst-debug-help to show category names


               Example: GST_CAT:5,GST_ELEMENT_*:3,oggdemux:5


       --gst-debug-level=LEVEL
               Sets the threshold
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值