################################################################################ # Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. ################################################################################ ################################# # Appliation Group # ################################# [application] enable-perf-measurement=1 perf-measurement-interval-sec=5 ################################# # Source Group # ################################# [source0] enable=1 nvbuf-memory-type=0 type=4 uri=uri1 [source1] enable=1 nvbuf-memory-type=0 type=4 uri=uri2 [source2] enable=1 nvbuf-memory-type=0 type=4 uri=uri2 ################################# # Stream Mux Group # ################################# [streammux] gpu-id=0 live-source=1 batch-size=6 batched-push-timeout=40000 width=1920 height=1080 enable-padding=0 nvbuf-memory-type=0 ################################# # Onscreen Display Group # ################################# [osd] enable=1 gpu-id=0 border-width=12 text-size=15 text-color=1;1;1;0; text-bg-color=0.3;0.3;0.3;0 font=Serif show-clock=0 clock-x-offset=800 clock-y-offset=820 clock-text-size=12 clock-color=1;0;0;0 nvbuf-memory-type=0 ################################# # Sink Group # ################################# [sink0] enable=1 type=3 container=1 codec=2 output-file=file0.mp4 width=1920 height=1080 source-id=0 gpu-id=0 sync=1 nvbuf-memory-type=0 [sink1] enable=1 type=3 container=1 codec=2 output-file=file1.mp4 width=1920 height=1080 source-id=1 gpu-id=0 sync=1 nvbuf-memory-type=0 [sink2] enable=1 type=3 container=1 codec=2 output-file=file2.mp4 width=1920 height=1080 source-id=2 gpu-id=0 sync=1 nvbuf-memory-type=0 [tests] file-loop=0