Log in

View Full Version : Difference between a Frameserver and Wrapper?


shasha
28th January 2008, 15:21
I understand how a frameserver works, but am having trouble finding a definition or even an application or script that is classified strictly as a wrapper.

From what I can tell a frameserver allows a video file to be opened (say in V-Dub) and processed and then a temporary file is created (.vdr) and then another application (such as an MPEG encoder) would open that file as an AVI and then send requests to the frameserver. So basically it allows you to do the processing without making a temporary or intermediate file.

Then a wrapper would be something that would allow a file to be opened in an application that usually doesn't support that format; kind of like a translator or something? Would this be something along the lines of VFAPI even though that is often times called a frameserver?

I know that it sounds like I am splitting hairs on the terminology and 'who cares as long as it works', but this is for a lesson plan I am trying to get put into service and it needs to be as accurate as possible. If it isn't clear then it will get eliminated from the lesson all together.

Konrad Klar
28th January 2008, 19:22
Then a wrapper would be something that would allow a file to be opened in an application that usually doesn't support that format; kind of like a translator or something?

A wrapper (X) is something that allows use of something else (Y) in program (Z) that normally cannot access Y, because Y is not designed for Z.
Examples are:
function of Avisynth LoadVirtualDubPlugin(), that allows for use VirtualDub plugins within Avisynth (VirtualDub plugins are designed for VirtualDub, not for Avisynth),
FFDShow allows for use ffmpeg/libavcodec libraries within DirectShow filtres system,
AmigaOS drivers designed for WinUAE that sits on top of host's (Windows) drivers.