[MPlayer-dev-eng] [PATCH] shared memory stream - part 1

Ötvös Attila oattila at chello.hu
Tue Aug 14 02:12:32 CEST 2007


2007. augusztus 12. 14.41 dátummal Diego Biurrun ezt írta:

Hi Diego Biurrun!

I corrected.

> > @@ -10558,7 +10610,34 @@
> >  .
> > +.PP
> > +.B Show the encoded tv channels on shared screen (eg. CCTV):
>
> TV

I think CCTV = Closed Circuit TV.


> > --- cfg-common.h	(revision 24045)
> > +++ cfg-common.h	(working copy)
> > @@ -147,6 +147,9 @@
> >  #else
> >  	{"tv", "MPlayer was compiled without TV interface support.\n",
> > CONF_TYPE_PRINT, 0, 0, 0, NULL}, #endif
> > +#ifdef HAVE_SHMEM
> > +	{"ors", &out_raw_stream_name, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0,
> > NULL}, +#endif
>
> I thought this was unneeded...
>

I think needed:
The mencoder recordes a pictures of camera. The ors takes an opportunity to 
see pictures on mplayer:

mencoder tv:// -ovc lavc -lavcopts vcodec=mpeg4 -o cam1.avi -ors shmem://1000
mplayer shmem://1000

I made a semaphore support to the shared memory access lock/unlock.

Best regard.
Attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shmem-1.patch
Type: text/x-diff
Size: 34840 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070814/6e807763/attachment.patch>


More information about the MPlayer-dev-eng mailing list