On 1/10/14 2:38 PM, Kevin Van Workum wrote:
> Can you explain why you're using Xvfb? If you're just trying to make a
> video of your 3D application with ffmpeg, can't you just get it from the
> 3D X server directly? For example:
>
> ffmpeg -f x11grab -video_size cif -framerate 25 -i :0.0 /tmp/out.mpg

I am no expert with ffmpeg, but I could envision this not working with 
3D apps on the 3D X server, because when you are using DRI to render 
OpenGL, the 3D pixels are bypassing the X server.  Thus, it may be 
necessary to use Xvfb and VGL.  It does seem inefficient, though, 
because you're reading back the pixels from the 3D X server, blitting 
them to the 2D X server, and reading them back yet again.  Depending on 
the nature of the solution, it may be better to address the problem 
using a VirtualGL image transport plugin.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to