5

From what i understand, gst_parse_launch() creates a new pipeline based on command line syntax describing the pipeline. It automatically takes care of all the intricate details of request pads, sometimes pads etc and constructs the pipeline.

So my question is, why not use this all the time? why bother with adding pad-added-handlers, requesting and linking pads etc?

Are there any situations where using gst_parse_launch() just wont do?

4

2 に答える 2

1

gst-launch を使用する場合は、静的パイプラインのみを実行できます。つまり、シークすることはできません。たとえば、時間の経過とともに音量を変更することはできません。たとえば、2 番目のファイルを再生することはできません。

gst-launch は、実際には、要素またはいくつかのプロパティを試すための開発者ツールとして意図されています。

于 2013-04-19T13:58:44.307 に答える