HELP - Im behind a Router and can't get through ! - use Gstreamer TCP scripts to bypass Router Block
Автор: QRQcw
Загружено: 2019-11-25
Просмотров: 349
Описание:
this video is a follow up video from the first one
• HELP - I'm behind a Router and I can't get...
the previous video was the WINDOWS 10 RECEIVER setup...this video demo, this time, shows the setup for a WINDOWS 10 GSTREAMER TCP TRANSMITTER - sending from the WIN 10 laptop, behind an isolated WIRELESS router with all of its ports blocked, over TO a Linux laptop
THE WIN 10 LAPTOP is using windows 10 Gstreamer TCPCLIENT SCRIPTS to send from the windows 10 laptop
1. live webcam
2. send a .png file
3. send HI FI STEREO OPUS CODEC AUDIO STREAMING...
WINDOWS 10 Gstreamer scripts used in this setup:
****************************************************
STREAM OUT from WIN 10 WEBCAM to the TCPSERVER
C:\gstreamer\1.0\x86_64\bin
gst-launch-1.0.exe -v ksvideosrc ! "video/x-raw,width=640, height=360,framerate=30/1" ! jpegenc ! rtpjpegpay ! rtpstreampay ! tcpclientsink host=192.168.1.101 port=3006 sync=false async=false
SEND A win 10 PNG FILE to the TCPSERVER
C:\gstreamer\1.0\x86_64\bin
gst-launch-1.0.exe -v filesrc location=LOVE.png ! decodebin ! imagefreeze ! queue ! rtpvrawpay ! rtpstreampay ! tcpclientsink host=192.168.1.101 port=7979
NOTE: the PNG filsrc script just above had high network traffic and CPU...the one shown just below solved both issues by adjusting the parameters shown as compared to the script just above
C:\gstreamer\1.0\x86_64\bin
gst-launch-1.0.exe -e -v filesrc location=LOVE.png ! decodebin connection-speed=2 ! imagefreeze ! rtpvrawpay chunks-per-frame=3000 ! rtpstreampay ! tcpclientsink host=192.168.1.101 port=7979 max-bitrate=2000000
STREAM OUT WIN 10 HI FI STEREO OPUS Encoded AUDIO
C:\gstreamer\1.0\x86_64\bin
gst-launch-1.0.exe -v wasapisrc ! queue ! audioconvert ! opusenc bitrate=512000 ! rtpopuspay ! rtpstreampay ! queue ! tcpclientsink host=192.168.1.101 port=5679
TCP SERVER SCRIPTS on a LINUX LAPTOP
*********************************************
RECEIVE WIN 10's LIVE WEBCAM STREAM
gst-launch-1.0 -e -v tcpserversrc host=192.168.1.101 port=3006 ! "application/x-rtp-stream, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, a-framerate=(string)30.000000, payload=(int)26" ! rtpstreamdepay ! rtpjpegdepay ! jpegparse ! jpegdec ! autovideosink sync=false async=false
RECEIVE WIN 10's PNG FILE
gst-launch-1.0 -v udpsrc port=7979 ! "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)RGB, depth=(string)8, width=(string)527, height=(string)525, colorimetry=(string)SMPTE240M, payload=(int)96, ssrc=(uint)3912344537, timestamp-offset=(uint)57681973, seqnum-offset=(uint)17853, a-framerate=(string)25" ! rtpvrawdepay ! decodebin ! glimagesink
RECEIVE WIN 10's STEREO HI FI OPUS encoded AUDIO STREAM
gst-launch-1.0 -v tcpserversrc port=5679 host=192.168.1.101 do-timestamp=true ! "application/x-rtp-stream, media=(string)audio, clock-rate=(int)48000, encoding-name=(string)OPUS, sprop-maxcapturerate=(string)48000, sprop-stereo=(string)1, payload=(int)96, encoding-params=(string)2, ssrc=(uint)2952017322, timestamp-offset=(uint)2564696919, seqnum-offset=(uint)6031" ! rtpstreamdepay ! rtpjitterbuffer latency=900 ! rtpopusdepay ! opusdec ! audioconvert ! audioresample ! jackaudiosink buffer-time=900000
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: