[MPlayer-dev-eng] [PATCH] Video mixer with mencoder Part 5/2

Ötvös Attila oattila at chello.hu
Wed Jan 2 20:28:28 CET 2008


Hi All!

This patch is big because you download from,please:

http://onebithq.com/root/mplayer/videomixer/download/20080102

Patch file: filter.patch
Depend: stream.pacth

I rewrited my shmemin and shmemout filters:
vf_export.c and vf_import.c

Allowed functions:
- mixed video with alpha
- scaled import video bigger to 'master' video
- cut import video to window in 'master' video

The frame mixer code in img_mixer.c.

I create audio import filter (based af_format & af_pan) similar af_pan but 
this filter mixing channel to channel:
af_import.c

The main reader and sync code in shmem_reader.c

The mencoder can import video/audio to shmem with time sync.

Example:
mencoder file1.avi -o shmem://1 &
mencoder file2.avi -vf import=1 -af import=1 [options]

Best regards!
Attila



More information about the MPlayer-dev-eng mailing list