Menu Close

RTSP/RTMP/HTTP/ONVIF DirectShow Source Filter


The RTSP/RTMP/HTTP/ONVIF DirectShow Source Filter is able to discover ONVIF cameras, decode IP cameras and URL sources, control ONVIF PTZ cameras, render uncompressed audio and video frames, and simultaneously record the audio/video streams to a file without decompression/recompression. It is also able to re-stream the source to another destination.

Most of the live audio/video streams can be decoded/recorded, including H264, H265/HEVC, MJPEG, etc…

This filter is natively supported by our TVideoGrabber SDK.


The filter can:

– decode and render live audio/video streams received through ONVIF, RTSP, RTSPS, RTMP, HTTP, HTTPS, UDP, RTP, MMS/MMSH protocols,

– record at the same time these sources to a file (.MP4, .TS, .FLV, .MOV, .AVI, .WMV/.ASF or .MKV file),

– record IP cameras with http/MJPEG URL or http/JPEG “snapshot” URL to MP4, MKV or AVI files,

– control the PTZ position of ONVIF cameras (Pan, Tilt, Zoom) with continuous, relative or absolute move and preset support,

– perform backtimed recording (pre-roll recording),

– connect asynchronously to the URL without blocking the main thread (the filter graph receives a notification when the connection completes),

– expose the uncompressed pins,

– capture snapshots,

– apply multiple text overlays over the decoded frames,

– adjust the brightness, hue, saturation,

– capture snapshots to a memory bitmap or to a file in BMP, JPG, PNG or TIFF format,

– encode the audio streams to PCM, MP3 or AAC, depending on the recording file name (e.g. H264/AAC for a MP4 recording),

– re-stream the URL to another destination in UDP unicast, UDP multicast

– while recording, generate new files on the fly without loosing frames and without pausing/stopping/restarting the graph.

– decode Youtube URLs

The filter includes sample callback capabilities. It includes internally the required multiplexers (MP4, FLV, MOV, AVI and MKV mux) and can save directly the native source samples (H264/H265/MJPEG/AAC, etc…) to the file.
Several instances of the filter can be used concurrently in the same application.

System requirements

  • Recommended: Intel Core I5, Core I7, Core I9, AMD Ryzen
  • Windows 11, Windows 10, Windows 8.1, Windows 7



Limitations of the evaluation version

  • an evaluation logo is overlayed over the decoded frames
  • the preview and recording is limited to 2 minutes, then the application must be restarted