Delayer
Line 23: | Line 23: | ||
* Delay implementation: | * Delay implementation: | ||
− | + | ** Video: the same frame is sent until the required delay is reached<br> | |
− | + | ** Audio: silent samples are sent until the required delay is reached | |
{{.idl}} | {{.idl}} |
Revision as of 11:00, 2 July 2023
This page is a copy of the original page on the AVObjects' web site and can also be viewed here.
DirectShow filter to delay uncompressed video or audio streams in buffering or waiting modes.
Overview
Delayer is DirectShow filter to delay uncompressed video or uncompressed audio (PCM, float) streams. 2 modes of operation are supported: buffering samples in memory and delaying input samples.
Features
- Buffering mode.
The delay is implemented by storing delayed data from samples in the internal buffers. Additional memory buffers are allocated for this. This mode can be used for any type of source - live and file.
- Waiting mode.
The delay is implemented by holding the received samples until the required delay is reached (input is closed for the duration of the delay). Additional memory for storing delayed data from samples is not used, only regular buffers from allocators are used. This mode can only be used for file sources without stream sync by timer/Reference Clock. Using it for live sources (synchronized by timer/RC) will result in unpredictable frame/sample loss.
- Input and output allocators (external or own) can be selected for optimal performance.
- Delay implementation:
- Video: the same frame is sent until the required delay is reached
- Audio: silent samples are sent until the required delay is reached
- Video: the same frame is sent until the required delay is reached
Specifications and description of user interfaces can be found in the .idl file in the \Idl folder of the filter installation directory.