OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Advice: Adding ffmpeg to OSG via osgViewer


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Fred
Guest





PostPosted: Tue Nov 25, 2008 10:17 pm    Post subject:
Advice: Adding ffmpeg to OSG via osgViewer
Reply with quote

Background:
I need to create a service/daemon running delta3D to which an
application running a FlashPlayer 10 video connects for its video
feed.
Presently, I am running ffmpeg -f x11grab ... to capture the osg
display and converting to flv and streaming that via ffserver.
Yuck.

Plan:
Incorporate ffmpeg into osgViewer in a way that the FlashPlayer
NetConnectors can subscribe directly to it (in a multicast way).
This is my current plan but if there is a better way that would be
more generally beneficial I'm open to suggestions.


Thank you


------------------
Post generated by Mail2Forum
Back to top
J.P. Delport
Guest





PostPosted: Wed Nov 26, 2008 7:14 am    Post subject:
Advice: Adding ffmpeg to OSG via osgViewer
Reply with quote

Hi Fred,

maybe you can connect the FFmpeg streamer to the Viewer output much like
the screenshot example does.

We also have code that grabs a region of interest from FBO using a
shader and saves that using FFmpeg to disk. I'm eagerly trying to free
up this code, but still need to twist a few arms.

jp

Fred wrote:
Quote:
Background:
I need to create a service/daemon running delta3D to which an
application running a FlashPlayer 10 video connects for its video
feed.
Presently, I am running ffmpeg -f x11grab ... to capture the osg
display and converting to flv and streaming that via ffserver.
Yuck.

Plan:
Incorporate ffmpeg into osgViewer in a way that the FlashPlayer
NetConnectors can subscribe directly to it (in a multicast way).
This is my current plan but if there is a better way that would be
more generally beneficial I'm open to suggestions.


Thank you



--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.



------------------
Post generated by Mail2Forum
Back to top
Fred
Guest





PostPosted: Mon Dec 01, 2008 4:14 pm    Post subject:
Advice: Adding ffmpeg to OSG via osgViewer
Reply with quote

I found an implementation
http://pigeond.net/flightgear/screenstreamer/ that appears to use the
technique you suggested.


On Wed, Nov 26, 2008 at 1:09 AM, J.P. Delport <> wrote:
Quote:
Hi Fred,

maybe you can connect the FFmpeg streamer to the Viewer output much like the
screenshot example does.

We also have code that grabs a region of interest from FBO using a shader
and saves that using FFmpeg to disk. I'm eagerly trying to free up this
code, but still need to twist a few arms.

jp

Fred wrote:
Quote:

Background:
I need to create a service/daemon running delta3D to which an
application running a FlashPlayer 10 video connects for its video
feed.
Presently, I am running ffmpeg -f x11grab ... to capture the osg
display and converting to flv and streaming that via ffserver.
Yuck.

Plan:
Incorporate ffmpeg into osgViewer in a way that the FlashPlayer
NetConnectors can subscribe directly to it (in a multicast way).
This is my current plan but if there is a better way that would be
more generally beneficial I'm open to suggestions.


Thank you



--
This message is subject to the CSIR's copyright terms and conditions, e-mail
legal notice, and implemented Open Document Format (ODF) standard. The full
disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean. MailScanner thanks Transtec
Computers for their support.





------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Duplicate 3dModel OSGviewer skehal General 0 Wed Aug 07, 2019 9:10 am View latest post
No new posts osgVIEWER problem camera skehal General 1 Tue Jul 23, 2019 9:17 am View latest post
No new posts Add/remove dynamically osg::View to o... innochenti General 0 Sat May 25, 2019 2:17 pm View latest post
No new posts adding object models in osgEarth best... Db80 General 10 Tue Apr 30, 2019 6:12 pm View latest post
No new posts osgViewer GraphicsWindowX11 Event Han... ericstancliff General 3 Wed Apr 24, 2019 9:43 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP