diff --git a/prototypes/shm/read.sh b/prototypes/shm/read.sh new file mode 100755 index 0000000..a3a64f6 --- /dev/null +++ b/prototypes/shm/read.sh @@ -0,0 +1,5 @@ +gst-launch -e shmsrc socket-path=/tmp/test is-live=1 ! \ + video/x-raw-yuv,format=\(fourcc\)I420,framerate=30/1,width=640,height=480 ! \ + xvimagesink + + diff --git a/prototypes/shm/write.sh b/prototypes/shm/write.sh new file mode 100755 index 0000000..4af6776 --- /dev/null +++ b/prototypes/shm/write.sh @@ -0,0 +1,5 @@ +gst-launch -v videotestsrc ! \ + 'video/x-raw-yuv, width=640, height=480, framerate=30/1, format=(fourcc)I420' ! \ + shmsink socket-path=/tmp/test shm-size=10000000 wait-for-connection=0 + +