The Genvid SettingsΒΆ

The settings are contained under config/stream.hcl

Name Type Description Validations
info object (required) Information about the stream.
  • Its property set must contains all elements in True
info.name string (required) The name of the stream.  
info.game string (required) The game being played.  
info.description string (required) A description of the stream.  
ntp object Parameters affecting the time synchronization.
  • Its property set must contains all elements in False
ntp.server string (required) Host name for the NTP server.  
ntp.polling integer (required) Interval between two synchronizations.  
encode object (required) Parameters affecting the encoding of the video stream.
  • Its property set must contains all elements in True
encode.stream object (required) Parameters related to the streaming service.
  • Its property set must contains all elements in True
encode.stream.enabled boolean (required) A flag activating or deactivating the streaming.  
encode.stream.service string (required) The live streaming service type.
  • It must be equal to one of the elements in [“youtube”]
encode.stream.addr string (required) The address of the live streaming server receiving the video stream (typically, an RTMP URL).  
encode.stream.channel string (required) The user-specific channel identifier.  
encode.stream.key string (required) The user-specific streaming key to allow pushing data to ‘addr’.  
encode.stream.delayoffset string (required) An optional delay allowing to offset the video stream with regard to the game stream.  
encode.input object (required) Parameters affecting the input encoding inside the game.
  • Its property set must contains all elements in True
encode.input.width integer (required) The width, in pixels, of a game frame.  
encode.input.height integer (required) The height, in pixels, of a game frame.  
encode.input.silent boolean (required) Disables the audio stream.  
encode.input.stamp_timecode boolean (required) Activates stamping the game timecode in every frame (bottom right corner).  
encode.input.video_frame_size integer The size of a raw video frame in bytes. If negative (the default), the encoder will try to determine it himself.  
encode.output object (required) Parameters affecting the final encoding being streamed.
  • Its property set must contains all elements in True
encode.output.width integer (required) The width, in pixels, of the final video.  
encode.output.height integer (required) The height, in pixels, of the final video.  
encode.output.abitrate integer (required) The audio bitrate to use for the final video.  
encode.output.vbitrate integer (required) The video bitrate to use for the final video.  
encode.output.stamp_timecode boolean (required) Activates stamping the video timecode in the final video stream (top left corner).  
encode.use_ffmpeg boolean Activate the use of broadcastd service with ffmpeg instead. This mode is intended for development purpose. It has limitations and is far less robust, please advise us of any particular needs if you required this for production.