Export to GitHub

gource - issue #147

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


Posted on Feb 7, 2012 by Swift Dog

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?

Comment #1

Posted on Feb 7, 2012 by Swift Dog

I am using Debian dist, and installed gource and all the dependencies.

Comment #2

Posted on Feb 7, 2012 by Swift Dog

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

Comment #3

Posted on Feb 7, 2012 by Grumpy Rabbit

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

Comment #4

Posted on Feb 8, 2012 by Swift Dog

That really seem to work, brilliant stuff, much appreciated!

Status: Done

Labels:
Type-Defect Priority-Medium