Skip to content

Instantly share code, notes, and snippets.

@FujiHaruka
Created June 9, 2017 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FujiHaruka/a3c9e3f8c4e4aa1b63dceb57052abff4 to your computer and use it in GitHub Desktop.
Save FujiHaruka/a3c9e3f8c4e4aa1b63dceb57052abff4 to your computer and use it in GitHub Desktop.
gst-launch コマンド

1つの入力に対して複数の出力をするには、teeを使う。 以下は、RTMP入力をパイプする例。

$ gst-launch-1.0 rtmpsrc location=$INPUT ! flvdemux ! flvmux ! tee name=t ! queue ! rtmpsink location=$OUT1 t. ! queue ! rtmpsink location=$OUT2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment