adamklump12 / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

Create Video From Command Line (putty sessions, svn hooks) #176

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is there any way to create a video each time the repo gets updated, without a 
display to run it on? I am trying to create a hook script for my repo that will 
export a new log file, create a new video, and then update a video on my 
website any time my repo is updated. Whenever I try to run the script through a 
putty session or an xrdp session, I receive the following: 

$ gource -o gource.ppm rmlog.log
gource: SDL initialization failed - OpenGL not available
Try 'gource --help' for more information.

Is what I am trying to do possible, or am I just missing some of the 
functionality that allows this?

Thanks
Phillip

Original issue reported on code.google.com by omnomcak...@gmail.com on 17 Jan 2013 at 12:21

GoogleCodeExporter commented 8 years ago
It is possible to run gource using X virtual framebuffer which allows running 
OpenGL programs on a machine that doesn't have a video card. See this 
explanation on another bug report:

http://code.google.com/p/gource/issues/detail?id=29#c11

Original comment by acaudw...@gmail.com on 2 Mar 2013 at 8:32

GoogleCodeExporter commented 8 years ago
I am still having problems using this solution, here is the input I am using: 

xvfb-run -a -s "-screen 0 1280x720x24" gource --log-format custom finallog.log 
-s 01 -1280x720 -o log.mpg

I am still getting the same SDL initialization failed message with this command 
line input.

Original comment by omnomcak...@gmail.com on 6 Mar 2013 at 11:19