Halo Everyone
there is a delphi component which based on the
FFmpeg Lib. it is too expensive for me! but maybe one of you can do something about it

FFmpeg Delphi/Pascal Headers are free to Download.
http://www.delphiffmpeg.com/headers/and looking at the Add-ons Features, it should not be a problem to write an wrapper/dll for the bass.dll
Add-onsMemoryAccessAdapter provides memory access for intput and output (open, read/write, seek, close).
FrameInputAdapter provides directly video frames input (Bitmap canvas, Bitmap data, Bitmap DeviceContext, YUV).
FrameOutputAdapter provides directly video frames output (RGB, MJPEG, H.263, H.264, YUV).
PacketInputAdapter provides directly video packets input (H.263, H.264, MJPEG, M4V, MPEGVideo, VC1).
WaveInputAdapter provides directly PCM wave data input.
WaveOutputAdapter provides directly PCM wave data output.
GDICapture provides screen capturing for video input and wave recording for audio input.
DShowCapture(built in ffmpeg libraries) provides webcam capturing for video input and wave recording for audio input.
http://www.delphiffmpeg.com