Log in

View Full Version : What do you use for direct stream processing with AVS?


Kein
5th November 2016, 19:06
I have 2-3 recordings (mp4/yv12) I want to merge with some light processing (subtitles, etc) through FFMS2. Format is the same, so is encoding method i.e they are identical.

In order to minimize any loss I want to do direct stream copy/processing. Since Vdub does not understand MP4 and avs_proxy has some limitations - what do you use for direct processing? I mean, besides going full extreme with custom virtual FS setup (which I won't be doing).

Groucho2004
5th November 2016, 19:22
Since Vdub does not understand MP4
Have you tried this (https://sourceforge.net/projects/virtualdubffmpeginputplugin/)?

StainlessS
5th November 2016, 19:26
Can you clarify for members what it is that you are trying to do.
Does 'merge' mean concatenate (join together) ?
Does 'light processing (subtitles, etc)' mean that you do not actually want to do any processing at all and just want to add subtitles to clip
as a text file eg Srt file, and not to hard render onto the video ?
Avisynth can only process fully decoded/decompressed video, so Direct Stream Processing is not possible.

If you do not want to actually process the video at all, then maybe "Yamb" or some other MP4Box GUI (Yamb is a bit buggy but what I usually use).
EDIT: Advanced Search "Yamb", select "Seach Titles Only".

Or Mp4Box GUI via Google https://www.google.com/?gfe_rd=cr&ei=tAFqVuTzKdLS8AfknKK4BQ&gws_rd=ssl,cr&fg=1#q=mp4box+gui

EDIT: VirtualDubFilterMod opens Mp4, but you cannot do DirectStreamCopy to AVI as mp4 is not supported for AVI output.
http://forum.doom9.org/showthread.php?t=172021

raffriff42
5th November 2016, 23:15
There's no such thing as direct stream copy with AVS. The output of an AVS script looks like uncompressed audio/video to the frameserving client.

Please see this recent thread, it may help (or not)
Cutting ProRes Footage (Direct Stream Copy) (http://forum.doom9.org/showthread.php?t=173992)

johnmeyer
5th November 2016, 23:41
VirtualDub uses the term "direct stream copy" to mean that the video will be cut, without creating any new pixels in any video frame. It is useful for video that does not use interframe compression (i.e., no long-GOP compression). For long GOP, some programs can perform the same "cuts-only" (another term that describes roughly the same thing) operation on long GOP video, but only at GOP boundaries.

Anything, including AVISynth, that creates new pixels cannot do direct stream copy.

Kein
6th November 2016, 08:58
There's no such thing as direct stream copy with AVS. The output of an AVS script looks like uncompressed audio/video to the frameserving client.

Please see this recent thread, it may help (or not)
Cutting ProRes Footage (Direct Stream Copy) (http://forum.doom9.org/showthread.php?t=173992)

Thanks man, I will take a look.

VirtualDub uses the term "direct stream copy" to mean that the video will be cut, without creating any new pixels in any video frame. It is useful for video that does not use interframe compression (i.e., no long-GOP compression). For long GOP, some programs can perform the same "cuts-only" (another term that describes roughly the same thing) operation on long GOP video, but only at GOP boundaries.

Anything, including AVISynth, that creates new pixels cannot do direct stream copy.

Yeah, I realized the silliness of the question after asking it but w/e.

I probably will end up using pointless lossless x264 as placebo.