From 3fd29d2c54908fb5ecfc79cb9bdf330e048b5fd5 Mon Sep 17 00:00:00 2001 From: SeokHoon Lee Date: Mon, 1 Aug 2016 16:42:05 +0900 Subject: [PATCH] move scmirroring_src.ini to mmfw_sysconf package Signed-off-by: SeokHoon Lee Change-Id: I24dce4b00f10d62a579ec963547d28a095c8f149 --- .../etc/multimedia/scmirroring_src.ini | 115 ++++++++++++++++++ .../etc/multimedia/scmirroring_src.ini | 115 ++++++++++++++++++ packaging/mmfw-sysconf.spec | 2 +- 3 files changed, 231 insertions(+), 1 deletion(-) create mode 100644 mmfw-sysconf-target-n4/etc/multimedia/scmirroring_src.ini create mode 100644 mmfw-sysconf-target-tm1/etc/multimedia/scmirroring_src.ini diff --git a/mmfw-sysconf-target-n4/etc/multimedia/scmirroring_src.ini b/mmfw-sysconf-target-n4/etc/multimedia/scmirroring_src.ini new file mode 100644 index 0000000..d57f143 --- /dev/null +++ b/mmfw-sysconf-target-n4/etc/multimedia/scmirroring_src.ini @@ -0,0 +1,115 @@ + +[general] + +; set default video source element +; 0: ximagesrc, 1: xvimagesrc, 2: camerasrc, 3: videotestsrc, 4:waylandsrc +videosrc element = 4 + +; set default video encoder element +video encoder element = omxenc_h264 + +; sending video only mirroring mode +; 0: audio-video-muxed sending, 1:video-only, 2:audio-only, 3:audio-video-saperate +session_mode = 0 +disable segtrap = yes ; same effect with --gst-disable-segtrap + +; set default video sink when video is rendered on the WFD source as well +; 0:v4l2sink, 1:ximagesink, 2:xvimagesink, 3:fakesink 4:evasimagesink 5:glimagesink +videosink element = 2 + +mtu_size value = 1400 + +video converter element = + +; if yes. gstreamer will not update registry +skip rescan = yes + +; set default audio encoder element +audio encoder aac name = avenc_aac +audio encoder ac3 name = avenc_ac3 + +; set audio codec for source +; according to GstWFDAudioFormat +; 0x1: LPCM, 0x2: AAC, 0x4: AC3 +; default aac and LPCM +audio codec = 0x3 + +; set exynos audiosrc property +; exynosaudio device name = alsa_output.0.analog-stereo.monitor +exynosaudio device name = alsa_output.hw_0_0.monitor +audio properties name = props,media.role=loopback-mirroring + +exynosaudio buffer_time = 200000 +; set qcmsm audiosrc property +qcmsmaudio device name = hw:0,8 +qcmsmaudio buffer_time = 1000 + +audio latency_time = 10000 +audio do_timestamp = 0 + +; Video Resolutions supported need to be filled in 32 bits according to WFD spec +video resolution_supported = 0x00000001 + +; Bitrate range for different resolutions +; Resolution Set 1: default +; Resolution Set 2: 1920 x 1080 +; Resolution Set 3: 1280 x 720 +; Resolution Set 4: 960 x 540 +; Resolution Set 5: 854 x 480 +; Resolution Set 6: 640 x 360 +; Resolution Set 7: 720 Remote Touch +; UDP bitrate settings +INIT_UDP_resolution_set_1 = 1048576 +MIN_UDP_resolution_set_1 = 838861 +MAX_UDP_resolution_set_1 = 1572864 + +INIT_UDP_resolution_set_2 = 5242880 +MIN_UDP_resolution_set_2 = 3670016 +MAX_UDP_resolution_set_2 = 6291456 + +INIT_UDP_resolution_set_3 = 2621440 +MIN_UDP_resolution_set_3 = 1572864 +MAX_UDP_resolution_set_3 = 3145728 + +INIT_UDP_resolution_set_4 = 2621440 +MIN_UDP_resolution_set_4 = 1572864 +MAX_UDP_resolution_set_4 = 3145728 + +INIT_UDP_resolution_set_5 = 838861 +MIN_UDP_resolution_set_5 = 314573 +MAX_UDP_resolution_set_5 = 1048576 + +INIT_UDP_resolution_set_6 = 838861 +MIN_UDP_resolution_set_6 = 314573 +MAX_UDP_resolution_set_6 = 838861 + +INIT_UDP_resolution_set_7 = 1572864 +MIN_UDP_resolution_set_7 = 838861 +MAX_UDP_resolution_set_7 = 1572864 + + +; Native resolution supported CEA resolution=0, VESA resolution=1, HH resolution=2 +video native_resolution = 0 + +; HDCP encryption +encryption HDCP_enabled = 1 + +; UIBC Capability +uibc UIBC_GEN_capability = 15 + +; parameters for initializing gstreamer +gstparam1 = +gstparam2 = +gstparam3 = +gstparam4 = +gstparam5 = + +; generating dot file representing pipeline state +generate dot = no + +; parameter for clock provide in audiosink +provide clock = yes + +;dumping ts stream to file +dump ts = 0 + diff --git a/mmfw-sysconf-target-tm1/etc/multimedia/scmirroring_src.ini b/mmfw-sysconf-target-tm1/etc/multimedia/scmirroring_src.ini new file mode 100644 index 0000000..d9a36f1 --- /dev/null +++ b/mmfw-sysconf-target-tm1/etc/multimedia/scmirroring_src.ini @@ -0,0 +1,115 @@ + +[general] + +; set default video source element +; 0: ximagesrc, 1: xvimagesrc, 2: camerasrc, 3: videotestsrc, 4:waylandsrc +videosrc element = 4 + +; set default video encoder element +video encoder element = sprdenc_h264 + +; sending video only mirroring mode +; 0: audio-video-muxed sending, 1:video-only, 2:audio-only, 3:audio-video-saperate +session_mode = 0 +disable segtrap = yes ; same effect with --gst-disable-segtrap + +; set default video sink when video is rendered on the WFD source as well +; 0:v4l2sink, 1:ximagesink, 2:xvimagesink, 3:fakesink 4:evasimagesink 5:glimagesink +videosink element = 2 + +mtu_size value = 1400 + +video converter element = + +; if yes. gstreamer will not update registry +skip rescan = yes + +; set default audio encoder element +audio encoder aac name = avenc_aac +audio encoder ac3 name = avenc_ac3 + +; set audio codec for source +; according to GstWFDAudioFormat +; 0x1: LPCM, 0x2: AAC, 0x4: AC3 +; default aac and LPCM +audio codec = 0x3 + +; set exynos audiosrc property +; exynosaudio device name = alsa_output.0.analog-stereo.monitor +exynosaudio device name = alsa_output.hw_0_0.monitor +audio properties name = props,media.role=loopback-mirroring + +exynosaudio buffer_time = 200000 +; set qcmsm audiosrc property +qcmsmaudio device name = hw:0,8 +qcmsmaudio buffer_time = 1000 + +audio latency_time = 10000 +audio do_timestamp = 0 + +; Video Resolutions supported need to be filled in 32 bits according to WFD spec +video resolution_supported = 0x00000001 + +; Bitrate range for different resolutions +; Resolution Set 1: default +; Resolution Set 2: 1920 x 1080 +; Resolution Set 3: 1280 x 720 +; Resolution Set 4: 960 x 540 +; Resolution Set 5: 854 x 480 +; Resolution Set 6: 640 x 360 +; Resolution Set 7: 720 Remote Touch +; UDP bitrate settings +INIT_UDP_resolution_set_1 = 1048576 +MIN_UDP_resolution_set_1 = 838861 +MAX_UDP_resolution_set_1 = 1572864 + +INIT_UDP_resolution_set_2 = 5242880 +MIN_UDP_resolution_set_2 = 3670016 +MAX_UDP_resolution_set_2 = 6291456 + +INIT_UDP_resolution_set_3 = 2621440 +MIN_UDP_resolution_set_3 = 1572864 +MAX_UDP_resolution_set_3 = 3145728 + +INIT_UDP_resolution_set_4 = 2621440 +MIN_UDP_resolution_set_4 = 1572864 +MAX_UDP_resolution_set_4 = 3145728 + +INIT_UDP_resolution_set_5 = 838861 +MIN_UDP_resolution_set_5 = 314573 +MAX_UDP_resolution_set_5 = 1048576 + +INIT_UDP_resolution_set_6 = 838861 +MIN_UDP_resolution_set_6 = 314573 +MAX_UDP_resolution_set_6 = 838861 + +INIT_UDP_resolution_set_7 = 1572864 +MIN_UDP_resolution_set_7 = 838861 +MAX_UDP_resolution_set_7 = 1572864 + + +; Native resolution supported CEA resolution=0, VESA resolution=1, HH resolution=2 +video native_resolution = 0 + +; HDCP encryption +encryption HDCP_enabled = 1 + +; UIBC Capability +uibc UIBC_GEN_capability = 15 + +; parameters for initializing gstreamer +gstparam1 = +gstparam2 = +gstparam3 = +gstparam4 = +gstparam5 = + +; generating dot file representing pipeline state +generate dot = no + +; parameter for clock provide in audiosink +provide clock = yes + +;dumping ts stream to file +dump ts = 0 + diff --git a/packaging/mmfw-sysconf.spec b/packaging/mmfw-sysconf.spec index 38e3e8d..de5cd3b 100644 --- a/packaging/mmfw-sysconf.spec +++ b/packaging/mmfw-sysconf.spec @@ -1,6 +1,6 @@ Name: mmfw-sysconf Summary: Multimedia Framework system configuration package -Version: 0.2.74 +Version: 0.2.75 Release: 0 Group: Multimedia/Configuration License: LGPL-2.1+ and Apache-2.0 -- 2.34.1