With ffmpeg there are tons of ways of doing something and parameters to
set... so I'll just give one sample commandline, then you can investigate a
bit further googling around or you can always try to ask and if we can
reply we'll do so:

-f gdigrab -framerate 30 -i desktop  -vcodec libx264  -vb 500000 -g 60
-vprofile baseline -level 3.1 -pix_fmt yuv420p -acodec none -f flv rtmp://
127.0.0.1:1935/live/screenshare

-f gdigrab: tells ffmpeg to use a built-in device it has that captures
Windows windows through GDI. There are more capturers that use other
methods like DirectShow.

-framerate 30: the framerate at which the window content is captured.

-i desktop: tells the device to capture the desktop, you can also use
title="window name" to capture a particular window, you can also capture a
particular area, make it output the video in a smaller size (if you are
seeing the remote window in a small area why send the original image), etc.

-vcodec libx264  -vb 500000 -g 60 -vprofile baseline -level 3.1 -pix_fmt
yuv420p -acodec none: tells ffmpeg to stream using h264 in a format Flash
understands: -vb 300000 is the bitrate (300kb/s in this case, you could use
variable bitrate with different conditions), -g 60 is the keyframe
interval, -acodec none tells the stream has no audio, gdigrab doesn't
capture the audio anyway.

-f flv rtmp://127.0.0.1:1935/live/screenshare: tells to stream the video in
Flash video format, to a RTMP server (some local Red5 installation).


On Tue, Jun 30, 2015 at 11:19 PM, David Frank <david.fr...@on24.com> wrote:

> Hi Hector,
>
> Yes, please do provide me with some info. I already have the FMS part all
> done since we have a webcam application. I'm just trying to build a
> screenshare app through AIR.
>
> Any help would be very greatly appreciated.
>
> Thank you!
>
>
> -----Original Message-----
> From: Héctor A [mailto:neverbi...@gmail.com]
> Sent: Tuesday, June 30, 2015 2:06 PM
> To: dev@flex.apache.org
> Subject: Re: Screenshare in AIR
>
> You can also use ffmpeg through NativeProcess and stream directly to FMS
> through it. If you are interested I could provide some info, although not
> on the FMS part, it's been years since I last used it and always go for
> Red5 (my needs are often simple).
>
> On Tue, Jun 30, 2015 at 7:57 PM, David Frank <david.fr...@on24.com> wrote:
>
> > Hi all,
> >
> > Thank you for your inputs. As Russ suggested, I tried using the influx
> > collaboration service. But, since yesterday, I simply don't understand
> > how to make it work with an FMS server. All of the documentation
> > online is on how to connect it to Adobe's Livecycle Service through an
> > Authenticator. If only....if just only...someone could help me make
> > this work with a local FMS server without an authenticator, then this
> would suffice.
> >
> >         <rtc:ConnectSessionContainer id="connectSession" x="0" y="0"
> > width="730" height="530" roomURL="http://myfmsserver.com/appname";>
> >                 <rtc:authenticator>
> >                         <rtc:AdobeHSAuthenticator userName="blah" />
> >                 </rtc:authenticator>
> >                 <rtc:ScreenSharePublisher id="sspublisher" width="421"
> > height="309" left="484" y="207" />
> >         </rtc:ConnectSessionContainer>
> >
> >
> > Thank you,
> >
> > David
> >
> >
> > -----Original Message-----
> > From: Russ Ferguson [mailto:rfergu...@technologycoach.com]
> > Sent: Tuesday, June 30, 2015 9:15 AM
> > To: dev@flex.apache.org
> > Subject: Re: Screenshare in AIR
> >
> > There is influxis collaboration service (used to be livecycle
> > collaboration service) http://ics.influxis.com/modules/
> >
> > Šruss
> >
> > On 6/30/15, 10:45 AM, "Jeffry Houser" <jef...@dot-com-it.com> wrote:
> >
> > >
> > >  To share a desktop on Connect you have to use a proprietary plugin
> > >which uses undocumented APIs in the Flash Player.
> > >
> > >  If memory serves me; Adobe was going to offer a service to expose
> > >these APIs.  I don't know what happened to it [and I don't remember
> > >the code name)
> > >
> > >On 6/30/2015 5:57 AM, Kessler CTR Mark J wrote:
> > >>      Well adobe has their Connect [1] application.  It runs in
> > >>flash and can share a desktop [2], so I know something exists.
> > >>Although I think people are changing over to Java for screen sharing
> > >>these days since it's installed in most places already.
> > >>
> > >>
> > >> [1] http://www.adobe.com/products/adobeconnect.html
> > >> [2]
> > >>https://community.apan.org/cfs-file.ashx/__key/communityserver-blogs
> > >>-c omp onents-weblogfiles/00-00-00-40-40/5672.Adobe-Connect-room.png
> > >>
> > >>
> > >> -Mark
> > >
> > >
> > >--
> > >Jeffry Houser
> > >Technical Entrepreneur
> > >http://www.jeffryhouser.com
> > >203-379-0773
> > >
> >
> >
>

Reply via email to