View Full Version : Using AVS for realtime / live production.
DTL
18th March 2023, 12:06
There were some not very old request for AVS realtime datastream processing with output also as a datastream - https://forum.doom9.org/showthread.php?p=1984676#post1984676
Also some reply below. About idea to use ffdshow->DirectShow and DirectShow capable SDI/HDMI in/out card.
May be currently other ways exist for use AVS in streaming production (SDI/HDMI or IP based) not using ffdshow ? I see ffdshow is sort of old and not in development project nowdays and may not support all new features of new AVS+.
May be something around ffmpeg exist ? Or special software IP interfaces to use SMPTE ST.2110 in/out at windows without special dedicated cards/adapters ?
poisondeathray
18th March 2023, 15:00
one way is avs rawsource, which accepts pipe in now
eg. ffmpeg pipe in => avs rawsourceplus => pipe to something else... ffplay etc...
You need to check if your HW /setup is fast enough for "live/realtime", because there is overhead
DTL
18th March 2023, 15:11
I think ffmpeg sink can be network source with some brocadcast (unicast) protocol ? It assumed ffmpeg already may be some receiver from network source and used as source for rawsourceplus.
Unfortunately it looks we have not now simple DirectShow RAW processing filter with AVS inside except complex and may be unstable old ffdshow ?
"You need to check if your HW /setup is fast enough for "live/realtime","
Yes - it may be up to rig of several hardware ME-boards to run mvtools (2..3 MAnalyse + several MDegrainN in a chain) with tr about 10 or more in realtime at least 25fps for interlaced 1920x1080. Also for interlaced it looks better to process each fieldstream (even and odd) separately instead of single fieldstream after SeparateFields(). So number of MAnalyse and MDegrains doubled.
Currently processing of interlaced after SeparateFields() in a single fieldstream in hardware ME accelerator cause field-bobbing of MVs up and down and it still not compensated.
poisondeathray
18th March 2023, 16:38
I think ffmpeg sink can be network source with some brocadcast (unicast) protocol ? It assumed ffmpeg already may be some receiver from network source and used as source for rawsourceplus.
ffmpeg supoprts many protocols and can interface with various hardware
https://ffmpeg.org/ffmpeg-protocols.html
Unfortunately it looks we have not now simple DirectShow RAW processing filter with AVS inside except complex and may be unstable old ffdshow ?
There is a directshow filter meant for players, not sure if it does what you want (I've never used it) , or maybe it can be modified for your situation
https://github.com/CrendKing/avisynth_filter
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.