README: example configuration for gstreamer pipeline 03/15403/2
authorWataru Mizuno <wmizuno@jp.adit-jv.com>
Mon, 16 Jul 2018 09:28:11 +0000 (18:28 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 27 Jul 2018 10:52:33 +0000 (10:52 +0000)
README contains how to configure gstreamer pipeline to be used by
waltham-renderer.
Example configuration files specified as pipline_example*.cfg .

Change-Id: I7195bf9168d1093f6f52d8f65b122ab359eb71bc
Signed-off-by: Wataru Mizuno <wmizuno@jp.adit-jv.com>
waltham-transmitter/transmitter-plugin/README
waltham-transmitter/waltham-renderer/README [new file with mode: 0644]
waltham-transmitter/waltham-renderer/pipeline_example_general.cfg [new file with mode: 0644]
waltham-transmitter/waltham-renderer/pipeline_example_intel.cfg [new file with mode: 0644]
waltham-transmitter/waltham-renderer/pipeline_example_rcar.cfg [new file with mode: 0644]

index 345142d..c8305e2 100644 (file)
@@ -89,6 +89,12 @@ Start remoting :
 - Start an IVI application.
 - Put surface on transmitter output
 
+Example command
+ $weston-simple-egl &
+ $LaygeManagementControl get scene
+  -> Please check connector name of transmitter output
+ $layer-add-surfaces -d [transmitter output name] -s 1 -l 1
+
 Weston log will indicate remoting has started:
 
 [13:18:24.572] HMI transmitting surface 0x1c3dad0, ivi-id 0x9ff6
diff --git a/waltham-transmitter/waltham-renderer/README b/waltham-transmitter/waltham-renderer/README
new file mode 100644 (file)
index 0000000..a3357bd
--- /dev/null
@@ -0,0 +1,13 @@
+Waltham renderer
+
+The waltham renderer creates buffer to be transmitted to other domain.
+Current implementation it uses gstreamer.
+
+You can use gstreamer pipeline as you want by configuraing from "pipeline.cfg".
+This file should be put "/etc/xdg/weston/".
+
+As a example, please refers the example file named "pipeline_example*.cfg".
+ -pipeline_example_general.cfg : Does not use any HW encoder.
+ -pipeline_example_intel.cfg   : Use Intel's HW encoder.
+ -pipeline_example_rcar.cfg    : Use Rcar's HW encoder.
+Rename file as "pipeline.cfg" and put crrect place when you use them.
\ No newline at end of file
diff --git a/waltham-transmitter/waltham-renderer/pipeline_example_general.cfg b/waltham-transmitter/waltham-renderer/pipeline_example_general.cfg
new file mode 100644 (file)
index 0000000..31db32e
--- /dev/null
@@ -0,0 +1 @@
+appsrc name=src ! videoconvert ! video/x-raw,format=I420 ! jpegenc ! rtpjpegpay ! udpsink name=sink host=YOUR_RECIEVER_IP port=YOUR_RECIEVER_PORT sync=false async=false
\ No newline at end of file
diff --git a/waltham-transmitter/waltham-renderer/pipeline_example_intel.cfg b/waltham-transmitter/waltham-renderer/pipeline_example_intel.cfg
new file mode 100644 (file)
index 0000000..8440bce
--- /dev/null
@@ -0,0 +1 @@
+appsrc name=src ! videoconvert ! video/x-raw,format=I420 ! mfxh264enc bitrate=3000000 rate-control=1 ! rtph264pay config-interval=1 ! udpsink name=sink host=YOUR_RECIEVER_IP port=YOUR_RECIEVER_PORT sync=false async=false
\ No newline at end of file
diff --git a/waltham-transmitter/waltham-renderer/pipeline_example_rcar.cfg b/waltham-transmitter/waltham-renderer/pipeline_example_rcar.cfg
new file mode 100644 (file)
index 0000000..2993365
--- /dev/null
@@ -0,0 +1 @@
+appsrc name=src ! videoconvert ! video/x-raw,format=I420 ! omxh264enc bitrate=3000000 control-rate=2 ! rtph264pay ! udpsink name=sink host=YOUR_RECIEVER_IP port=YOUR_RECIEVER_PORT sync=false async=false
\ No newline at end of file