- Sender のポイント
- Windows なので
ksvideosrcを使うこと
- Windows なので
- Reciever のポイント
udpsrc address=localhostにすること default は0.0.0.0になっているudpsinkは default で localhost へ出力する
application/x-rtp,encoding-name=JPEG,payload=26,clock-rate=90000を入れる- このパラメータは
gst-inspect-1.0 rtpjpegpayから持ってくる - これを設定しないと、バッファを受け取ってからのネゴシエートで落ちる
- このパラメータは
Created
April 11, 2016 16:33
-
-
Save tetkuz/cac137b3be0b668542ff2055e25d4063 to your computer and use it in GitHub Desktop.
GStreamer JPEG RTP Streaming with msys2 on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gst-launch-1.0 -v \ | |
| udpsrc address=localhost \ | |
| ! application/x-rtp,encoding-name=JPEG,payload=26,clock-rate=90000 \ | |
| ! rtpjpegdepay \ | |
| ! jpegdec ! autovideosink |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gst-launch-1.0 -v \ | |
| ksvideosrc device-index=1 \ | |
| ! image/jpeg,width=640,height=480 \ | |
| ! rtpjpegpay \ | |
| ! udpsink |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment