From 8b0b59e79203728054b9f6bd0c06e9bea62f93d7 Mon Sep 17 00:00:00 2001 From: LongHairedHacker Date: Mon, 1 Jun 2015 22:04:56 +0200 Subject: [PATCH] Working pipeline for new camera --- scripts/test720pCam.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 scripts/test720pCam.sh diff --git a/scripts/test720pCam.sh b/scripts/test720pCam.sh new file mode 100755 index 0000000..4bfc742 --- /dev/null +++ b/scripts/test720pCam.sh @@ -0,0 +1,15 @@ +#!/bin/bash + + +MIXERFORMAT='video/x-raw-rgb, bpp=(int)32, endianness=(int)4321, format=(fourcc)BGRA, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)1280, height=(int)720, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, interlaced=(boolean)false' + +SRC="rtspsrc location=rtsp://192.168.1.100 ! rtph264depay ! h264parse ! ffdec_h264" +SCALE='ffmpegcolorspace ! videorate ! videoscale ! ffmpegcolorspace' + +gst-launch-0.10 -v \ + $SRC !\ + $SCALE !\ + $MIXERFORMAT !\ + ximagesink + +