|
This post was updated on .
Hi, I want to insert some test pattern in the streaming from RPi to Mac.
These are the current instruction I have:
raspivid -t 999999 -h 720 -w 1280 -fps 60 -rot 180 -b 2000000 -o - | gst-launch-1.0 -ve videomixer name=mix ! videoconvert ! omxh264enc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host=10.68.154.65 port=8888 fdsrc ! h264parse ! decodebin ! mix. videotestsrc pattern=0 ! video/x-raw, framerate=60/1, width=120, height=60 ! videobox border-alpha=0 alpha=0.5 top=0 left=-300 ! mix.
gst-launch-1.0 -v tcpclientsrc host = 10.68.154.65 port=8888 ! gdpdepay ! rtph264depay ! avdec_h264 ! fpsdisplaysink sync=false text-overlay=false
The problem is that on Mac side, nothing pops up, so I guess there is some problem in the two commands...
I am also wondering if I need a h264parse between fdsrc and decodebin?
In addition, I want to address that I am not caring about the performance so I guess 30 fps is also ok...
Thank you in advance!
|