diff options
author | Wataru Mizuno <wmizuno@jp.adit-jv.com> | 2018-07-16 18:28:11 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-07-27 10:52:33 +0000 |
commit | 35ee03887eef55c3210b256ae9cd1f3f9ccf6c51 (patch) | |
tree | d2ae8113b44a1d90d8c42e743b80fa7af16da7a4 | |
parent | 18aa25385bcfc4c686f4700de2b2dd9fa9b38ee9 (diff) |
README: example configuration for gstreamer pipeline
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>
5 files changed, 22 insertions, 0 deletions
diff --git a/waltham-transmitter/transmitter-plugin/README b/waltham-transmitter/transmitter-plugin/README index 345142d..c8305e2 100644 --- a/waltham-transmitter/transmitter-plugin/README +++ b/waltham-transmitter/transmitter-plugin/README @@ -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 index 0000000..a3357bd --- /dev/null +++ b/waltham-transmitter/waltham-renderer/README @@ -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 index 0000000..31db32e --- /dev/null +++ b/waltham-transmitter/waltham-renderer/pipeline_example_general.cfg @@ -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 index 0000000..8440bce --- /dev/null +++ b/waltham-transmitter/waltham-renderer/pipeline_example_intel.cfg @@ -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 index 0000000..2993365 --- /dev/null +++ b/waltham-transmitter/waltham-renderer/pipeline_example_rcar.cfg @@ -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 |