@@ -84,15 +84,16 @@ The plugin has a few parameters that allow for some amount of control.
8484- `` gop_size `` : The number of frames inbetween keyframes. Default is `` 15 `` .
8585 The larger this number the more latency you will have, but also the more efficient
8686 the transmission becomes.
87- - `` bit_rate `` : The max bit rate [ in bits/s] that the encoding will target. Default is ``8242880`.
87+ - `` bit_rate `` : The max bit rate [ in bits/s] that the encoding will target. Default is `` 8242880 `` .
88+ - `` crf `` : Constant Rate Factor, affects the image quality. Value range is `` [0, 51] `` ; `` 0 `` is lossless, `` 23 `` is default, `` 51 `` is worst quality.
8889
8990The parameters are under the `` ffmpeg_image_transport `` variable block. So if you launch
9091your publisher node (camera driver), you can give it a parameter list on the way like so:
9192```
9293 parameters=[{'ffmpeg_image_transport.encoding': 'hevc_nvenc',
9394 'ffmpeg_image_transport.profile': 'main',
9495 'ffmpeg_image_transport.preset': 'll',
95- 'ffmpeg_image_transport.gop ': 15}]
96+ 'ffmpeg_image_transport.gop_size ': 15}]
9697```
9798
9899### Subscriber (viewer)
@@ -189,7 +190,7 @@ nvmpi like so:
189190 parameters=[{'ffmpeg_image_transport.encoding': 'h264_nvmpi',
190191 'ffmpeg_image_transport.profile': 'main',
191192 'ffmpeg_image_transport.preset': 'll',
192- 'ffmpeg_image_transport.gop ': 15}]
193+ 'ffmpeg_image_transport.gop_size ': 15}]
193194```
194195
195196
0 commit comments