gst-launch-1.0 -v decklinkvideosrc connection=HDMI mode=720p60 device-number=0 '!' videoconvert '!' queue name=_stbt_user_data_queue max-size-buffers=0 max-size-bytes=0 max-size-time=1000000000 '!' decodebin '!' queue name=_stbt_raw_frames_queue max-size-buffers=2 leaky=upstream '!' shmsink wait-for-connection=0 socket-path=/tmp/multiviewer shm-size=20000000 sync=true
In order to possibly run multiple instances of stb-tester on one PC I've been experimenting with putting the decklinkvideosrc into a socket like so:
gst-launch-1.0 -v decklinkvideosrc connection=HDMI mode=720p60 device-number=0 '!' videoconvert '!' queue name=_stbt_user_data_queue max-size-buffers=0 max-size-bytes=0 max-size-time=1000000000 '!' decodebin '!' queue name=_stbt_raw_frames_queue max-size-buffers=2 leaky=upstream '!' shmsink wait-for-connection=0 socket-path=/tmp/multiviewer shm-size=20000000 sync=trueAnd from there multiple instances of stb-tester can connect to the same socket, so my stbt.conf source is:source_pipeline = shmsrc socket-path=/tmp/multiviewer ! video/x-raw,format=(string)UYVY,framerate=(fraction)60/1,\width=(int)1280,height=(int)720,pixel-aspect-ratio=(fraction)1/1,interlace-mode=(string)progressive,\chroma-site=(string)mpeg2,colorimetry=(string)bt709,sync=true ! videoconvert
test.py: warning: Received frame with suspicious timestamp: 20013129518.988514. Check your source-pipeline configuration.
source_pipeline = shmsrc socket-path=/tmp/multiviewer do-timestamp=1 ! video/x-raw,format=(string)UYVY,framerate=(fraction)60/1,\
width=(int)1280,height=(int)720,pixel-aspect-ratio=(fraction)1/1,interlace-mode=(string)progressive,\
chroma-site=(string)mpeg2,colorimetry=(string)bt709 ! videoconvert
stb-tester is still alerting about the 2064 frame timestamp, so no doubt I am still mangling the pipeline horribly, which I would like to fix, but nevertheless things do seem to be working.