Log in

View Full Version : Direct Video Stream (like official VirtualDub - Direct Copy)


Nexin
15th March 2021, 20:36
Has there been any advance on Direct Copy for avisynth (any version or fork build) that can do same as official Virtualdub - Direct Copy. I have been searching this site today and nothing found as yet. I Ask here to save time from searching.

Needing able to do simple tasks with using internal core filters first and external plugin filters also if possible. For tasks that suit direct copy such as selecting frames odd/even processing. And for other similar filters suited to direct copy. So without need to encode.

DSynth tried to do this maybe did but only for avi files. But for use with main codecs today avc1-h264 with aac By using codecs installed and available for use such as DSH, VFW, ACM in any systems like Win32 XP Pro and other later operating systems.

Videos load that are contained in any containers that contain those formats to load. Such as mp4, mkv, avi and others. Also video load of elementary video and audio streams when needed.

poisondeathray
15th March 2021, 21:32
"Direct Copy" ?? Did you mean similar to "direct stream copy" in vdub ?

It's not possible in avisynth - because avisynth frameserves uncompressed video and audio (audio and video are decoded to uncompressed format)

butterw2
15th March 2021, 23:10
You can apply effects with avisynth in realtime with video players such as mpc-hc.

LSmashsource can be used to hw-decode .mp4 without requiring prior indexing.

qyot27
16th March 2021, 00:10
"Direct Copy" ?? Did you mean similar to "direct stream copy" in vdub ?

It's not possible in avisynth - because avisynth frameserves uncompressed video and audio (audio and video are decoded to uncompressed format)
Seeing as they mentioned DSynth (https://forum.doom9.org/showthread.php?t=71482), that's exactly what they mean.

As I was aware of the existence of DSynth, I did bring it up in the thread on Github I set up to discuss/spitball ideas for future iterations of the API:
https://github.com/AviSynth/AviSynthPlus/discussions/206

poisondeathray
16th March 2021, 00:15
That's the first time I heard of it.

But even if it worked, it wouldn't work for h264/AVC with aac as the OP wants, unless video was I-frame only. You couldn't possibly "select frames even/odd processing" without re-encding