[MPlayer-dev-eng] [PATCH] shared memory stream - part 2
Ötvös Attila
oattila at chello.hu
Wed Aug 8 01:06:29 CEST 2007
Hi All!
This patch implement export and import shared memory filter.
Export filter can modify format of video frame, scale and osd render (similar
expand filter). Examples:
mplayer dvd:// -vf smmeout=1000:RGB24:320:200:1
1000 - shared memory id
RGB24 - format of video frame
320 - width
200 - height
1 - enable osd render (only export frames)
Example preview to mencoder:
mencoder dvd:// -vf smemout=1000 [options]
mplayer smem://1000
Import filter implement insert video frames from shared memory stream similar
bmovl filter. Import filter can modify size and set insert positions.
Examples:
Play movie and view tv screen-on-screen:
mplayer tv:// -vo null -nosound -vf smemout=1000 [options]
mplayer some.avi -vf smemin=1000:0:0:320:200 [options]
1000 - shared memory id
0:0 - x,y: top left corner
320:200 - w,h insert video frame size
Best regards.
Attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smem-2.patch
Type: text/x-diff
Size: 23615 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070808/3998249f/attachment.patch>
More information about the MPlayer-dev-eng
mailing list