Search found 12 matches: ffmpeg stream

Return to advanced search

Re: Capture Video Doesn't work

Simplistic seems to work. I did the same thing that you had done, and it works:
ffmpeg -y -f mjpeg -use_wallclock_as_timestamps 1 -i "http://localhost:5432/screenshot?stream=y" -t 10 FGTest.mpg
by dersh
Tue Jun 29, 2021 2:16 am
 
Forum: Interfacing
Topic: Capture Video Doesn't work
Replies: 17
Views: 1976

Re: Capture Video Doesn't work

... input and a url of http://localhost:5432/screenshot?window=WindowA&stream=y All it seems to capture is a single frame. i don't know where you ... smoothed out but was still flashy... i don't know but i suspect that ffmpeg should still be able to work with it... i think the key is the "type=jpg" ...
by wkitty42
Mon Jun 28, 2021 4:28 pm
 
Forum: Interfacing
Topic: Capture Video Doesn't work
Replies: 17
Views: 1976

Re: Capture Video Doesn't work

Yes, I can just do a screen capture of any screen, FlightGear or other, and that does work.
But, in the past FlightGear was able to output a stream of motion jpegs and ffmpeg could directly capture those. It seems like that feature no longer works.
If I get the chance, I will look through the code.
by dersh
Mon Jun 28, 2021 2:54 pm
 
Forum: Interfacing
Topic: Capture Video Doesn't work
Replies: 17
Views: 1976

Capture Video Doesn't work

In the past I've been able to capture a video stream from FlightGear based on this: https://wiki.flightgear.org/Phi#Motion_JPEG So, I've just run fgfs with --httpd=5432 Then, I could run: ffmpeg -i "http://localhost:5432/screenshot?window=WindowA&stream=y" ...
by dersh
Wed Jun 09, 2021 12:29 am
 
Forum: Interfacing
Topic: Capture Video Doesn't work
Replies: 17
Views: 1976

Re: Generate a video file by using the replay feature

... and is something that OSG supports out of the box - there are number of ffmpeg related osg examples, but it's nothing that is currently integrated ... the frame buffer and pass it onto another handler, to save to disk, or stream the window contents to another process. As a matter of fact, ThomasS ...
by Hooray
Mon Jan 06, 2020 4:37 pm
 
Forum: New features
Topic: Generate a video file by using the replay feature
Replies: 5
Views: 2941

Re: Canvas remote drawing

... about the opportunities for improving this solution by something like ffmpeg. Even though I totally agree to you, I have to say I won't be the ... http://localhost:8080/screenshot?window=WindowA& stream=y same as before, but not just send a single image but a motion-jpeg ...
by Hooray
Tue Oct 25, 2016 6:14 pm
 
Forum: Canvas
Topic: Canvas remote drawing
Replies: 22
Views: 12557

Re: Canvas remote drawing

... and you also understand how to adapt the built-in httpd server to stream the whole thing. The lowest hanging fruit to make this work much better ... osgmovie.cpp - and some more streaming related resources - for example, ffmpeg/gstreamer examples are often shared by people on the osg-users list. ...
by Hooray
Sat Oct 22, 2016 2:32 pm
 
Forum: Canvas
Topic: Canvas remote drawing
Replies: 22
Views: 12557

Re: Export live render footage to train CV AI autopilot

I have had some success with using ffmpeg to capture a portion of my screen (live) and format it as a web based video stream and then receive the video stream with an opencv program framegrabbing and processing. Also, maybe ...
by curt
Thu Oct 13, 2016 8:31 pm
 
Forum: New features
Topic: Export live render footage to train CV AI autopilot
Replies: 7
Views: 2790

Re: FG video streaming

When I have done this I've used something like ffmpeg to capture a portion of my screen, encode, and transmit it as a video stream.
by curt
Wed Mar 02, 2016 3:42 pm
 
Forum: Media
Topic: FG video streaming
Replies: 7
Views: 2956

Re: Simple refresh-based Screen stream simulator!

... I changed it. I'm not. I can't reproduce a crashing FG using the mjpeg streamer here. If you have a gdb stacktrace or a coredump, I might have a ... way. Video streams are better implemented using a stream encoder like ffmpeg or alike (not implemented yet). Torsten
by Torsten
Sat Nov 21, 2015 11:34 am
 
Forum: New features
Topic: Simple refresh-based Screen stream simulator!
Replies: 15
Views: 5134

Re: a kind of ENB for Flightgear?

Concerning external tools, you could use streamed httpd images and post-process those arbitrarily using a chain of VLC/GIMP ... without requiring any modification/configuration of FG, but can use a pipe to ffmpeg/libav and such you can achieve what you want indirectly, provided this is ...
by hamzaalloush
Sun Aug 23, 2015 1:11 pm
 
Forum: New features
Topic: a kind of ENB for Flightgear?
Replies: 4
Views: 2258

Create video record of FlighGear flight in Ubuntu

... libmjpegtools-dev cdda2wav libavcodec-dev libtheora-dev libavutil-dev ffmpeg-dbg libgtk2.0-0 libgtk2.0-0-dbg libgtk2.0-bin libgtk2.0-common libgtk2.0-dev ... press right mouse button on gnome-sound-recorder or Audacious stream, select Move Stream, and move it from Alsa PCM to Monitor Source of ...
by vitos
Tue Jan 27, 2009 11:29 pm
 
Forum: Support
Topic: Create video record of FlighGear flight in Ubuntu
Replies: 0
Views: 1522

Return to advanced search