Menu Close

How to apply overlays and perform hardware encoding with the Sensoray 2253 / 3364

How Can We Help?

< Back
You are here:
Print

How to apply overlays and perform hardware encoding with the Sensoray 2253 / 3364

This requires our TVideoGrabber SDK + Multipurpose Encoder. The typical sample code is the following, e.g.:

VideoGrabber.VideoDevice = VideoGrabber.VideoDeviceIndex (“Sensoray Model 3364 Video”)
Videograbber.SetTextOverlay_Enabled (0, true) // e.g. to display the demo text overlay
Videograbber.VideoCompressor = VideoGrabber.VideoCompressorIndex (“Datastead Multipurpose Encoder”)
Videograbber.AudioCompressor = VideoGrabber.AudioCompressorIndex (“Datastead Multipurpose Encoder”)
VideoGrabber.Encoder_SetInt (0, Enc_Video_Bitrate_kb, 2000)
VideoGrabber.Encoder_SetStr (0, Enc_Video_Codec, “h264”)
VideoGrabber.Encoder_SetInt (0, Enc_Video_Thread_Count, 4)
VideoGrabber.Encoder_SetInt (0, Enc_Video_GPU_Encoder, integer (Enc_GPU_NVidia_NVENC))
Videograbber.RecordingMethod = rm_MP4
Videograbber.CompressionMode = cm_CompressOnTheFly
VideoGrabber.FrameRate = 25
Videograbber.StartRecording()

Table of Contents