rdmenezes / gource

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

gource: SDL initialization failed - Couldn't get console hardware info #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. gource -1280x720 -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - 
-vcodec libx264 -preset ultrafast -crf 1 -threads 0 -bf 0 gource.mp4

What is the expected output? What do you see instead?
A gource.mp4 file, containing video

What version of the product are you using? On what operating system?
An error 
gource: SDL initialization failed - Couldn't get console hardware info

Please provide any additional information below.
I do run this from a commandline only, therefore no visual desktop at all. 
Shouldn't that be possible, or is it me who havn't installed drivers for it?

Original issue reported on code.google.com by MSjoli...@gmail.com on 7 Feb 2012 at 2:18

GoogleCodeExporter commented 9 years ago
I am using Debian dist, and installed gource and all the dependencies.

Original comment by MSjoli...@gmail.com on 7 Feb 2012 at 2:19

GoogleCodeExporter commented 9 years ago
I get this finally, still a big issue with the SDL though.

gource: SDL initialization failed - Couldn't get console hardware info
Try 'gource --help' for more information.

FFmpeg version SVN-r0.5.6-4:0.5.6-3, Copyright (c) 2000-2009 Fabrice Bellard, 
et al.
  configuration: --extra-version=4:0.5.6-3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Dec 31 2011 16:14:46, gcc: 4.4.5
[image2pipe @ 0x26274f0]Could not find codec parameters (Video: ppm)
pipe:: could not find codec parameters

Original comment by MSjoli...@gmail.com on 7 Feb 2012 at 2:38

GoogleCodeExporter commented 9 years ago
Officially Gource requires a video card with Opengl support, though in practice 
some people have had success with using X Virtual Frame Buffer (xvfb). You 
might want to try that:

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

Cheers

Andrew

Original comment by acaudw...@gmail.com on 7 Feb 2012 at 8:36

GoogleCodeExporter commented 9 years ago
That really seem to work, brilliant stuff, much appreciated! 

Original comment by MSjoli...@gmail.com on 8 Feb 2012 at 8:34