Skip to content

Using the TVideoGrabber http/mjpeg decoder

When the Datastead RTSP/RTMP/HTTP/ONVIF DirectShow Source Filter is installed, the capture/decoding of HTTP streams is delegated to it.

To force TVideoGrabber to use its embedded HTTP/MJPEG decoder anyway, set:

VideoGrabber.PlayerForcedCodec := "HTTP_TVG";

before invoking StartPreview() or StartRecording()

(This can be cancelled by setting VideoGrabber.PlayerForcedCodec := "")