Menu Close

RTSP/RTMP/HTTP/ONVIF DirectShow Source Filter

Overview

The RTSP/RTMP/HTTP/ONVIF DirectShow Source Filter is able to decode live 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.

Features

The filter can:

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

– decode Youtube URLs

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

– 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),

– decode H264, H264+, H265, H265+, MJPEG, MPEG-2, MPEG-4, and other common codecs,

– 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.

The filter includes sample callback capabilities. It includes internally the required multiplexers (MP4, FLV, MOV, AVI and MKV mux) and does not transcode it saves 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, or higher
  • Windows 11, Windows 10, Windows 8.1, Windows 7

Documentation

Datastead_RTSP-RTMP-HTTP-ONVIF_DirectShow_Source_Filter_Manual.pdf

Limitations of the evaluation version

  • the Datastead evaluation logo is overlay-ed over the decoded frames
  • the recording is limited to 2 minutes, then the application must be restarted