On May 22, 2007, at 7:29 PM, Ron Jensen wrote:
> On Tue, 2007-05-22 at 18:13 +0100, Antonio Almeida wrote:
>> Hi,
>>
>> I would like to use FlightGear to generate the scene observed by a
>> UAV's onboard camera.
>>
>> Basically, this would translate to feeding FlightGear the FDM data
>> and visualizing the image generated by FlightGear in another
>> computer,
>> across a network, using for example streaming video.
>>
>> I suppose this is a bit of a far-fetched idea, but is there any sort
>> of support for this (or something similar) already implemented?
>>
>> If not, do you have any suggestions on how to achieve it, using
>> external tools and/or contributing to FlightGear?
>>
>> At the moment I'm just brainstorming!
>>
>> Thanks,
>> António Almeida
>
> Have you looked at the --jpg-httpd option yet?
>> From fgfs --help --verbose:
> --jpg-httpd=port Enable screen shot http server on the
> specified
> port
>
>
> This works to send jpeg images over the net that can be refreshed
> fairly
> rapidly... Not exactly streaming video, but close. I'm not sure
> if/how
> you could scale it down short of scaling the window on the server
> machine.
>
> Ron
>
>
>
>
Hmm? I have used jpg-httpd to try to capture video and have been
surprised at how slow the performance is. I always assumed that it
was just a limit in the FG implementation, but now that I see the
above it makes me wonder why I am running so slowly. I can probably
get something like a frame every 2 seconds. I have tried using
firefox and curl to grab images and they are slow to download.
Any ideas why I might be having that kind of performance when others
are seeing fast performance?
I am running with FG 9.10 ("release" version not CVS) on a MacBookPro
(2.16 GHz Intel Core Duo) and FG itself gives a good frame rate.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel