swick / glc

glc is an ALSA & OpenGL capture tool for Linux.
https://github.com/nullkey/glc/wiki
7 stars 5 forks source link

playback file is invalid #9

Open GeekAnnoyed opened 12 years ago

GeekAnnoyed commented 12 years ago

while testing on my debian wheezy system , I build and capture with no apparent errors but when I play back the video I get the following

xpd259@mars:~/workspace/glc$ glc-capture -s -v 4 glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. [ 0.00s util info ] version 0.5.8-git- [ 0.00s util dbg ] Jan 16 2012 21:36:07, 4.6.2 [ 0.08s opengl dbg ] initializing [ 0.08s gl_capture info ] capturing at 30.000000 fps [ 0.08s gl_capture info ] reading frames from GL_FRONT [ 0.08s gl_capture info ] reading data as dword aligned [ 0.08s alsa dbg ] initializing [ 0.08s util info ] system information threads hint = 6 [ 0.08s util info ] stream information signature = 0x00434c47 version = 0x04 flags = 0 fps = 30.000000 pid = 24345 name = /usr/bin/glxgears date = Wed Oct 17 18:11:02 2012 [ 0.08s main info ] starting glc [ 0.08s file info ] opening /home/xpd259/workspace/glc/glxgears-24345-0.glc for writing stream (no sync) [ 0.08s pack info ] compressing using LZO [ 0.08s gl_capture info ] reading frames in GL_BGRA format [ 0.10s main info ] glc running [ 0.10s alsa_hook info ] starting capturing [ 0.10s gl_capture info ] starting capturing [ 0.10s gl_capture info ] refreshing color correction [ 0.10s state dbg ] applying 25947 usec time difference [ 0.10s main info ] started capturing [ 0.10s main info ] glc initialized [ 0.10s main dbg ] LD_PRELOAD=libglc-hook.so [ 0.10s gl_capture dbg ] calculated capture area for video 1 is 300x300+0+0 [ 0.10s gl_capture info ] creating/updating configuration for video 1 [ 0.10s gl_capture dbg ] video 1: 300x300 (300x300), 0x01 flags 302 frames in 5.0 seconds = 60.063 FPS 300 frames in 5.0 seconds = 59.847 FPS 301 frames in 5.0 seconds = 60.057 FPS XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 504 requests (504 known processed) with 0 events remaining. [ 17.71s main info ] closing glc [ 17.71s alsa dbg ] closing [ 17.71s alsa_hook info ] stopping capturing [ 17.71s opengl dbg ] closing [ 17.71s gl_capture info ] stopping capturing xpd259@mars:~/workspace/glc$

xpd259@mars:~/workspace/glc$ glc-play -v 4 /home/xpd259/workspace/glc/glxgears-24345-0.glc [ 0.00s util info ] version 0.5.8-git- [ 0.00s util dbg ] Jan 16 2012 21:36:07, 4.6.2 [ 0.00s file info ] opening /home/xpd259/workspace/glc/glxgears-24345-0.glc for reading stream [ 0.00s file info ] stream version 0x04 [ 0.05s rgb info ] using 7 bit lookup table (6291456 bytes) [ 0.14s glc_thread error ] Invalid argument (22) [ 0.14s glc_thread error ] Invalid argument (22) [ 0.14s glc_thread error ] Invalid argument (22) [ 0.14s glc_thread error ] Invalid argument (22) [ 0.14s color error ] Invalid argument (22) [ 0.14s rgb error ] Invalid argument (22) [ 0.14s scale error ] Invalid argument (22) [ 0.14s unpack error ] Invalid argument (22) [ 0.23s gl_play info ] GL_ARB_texture_non_power_of_two supported [ 0.23s gl_play info ] maximum texture size is 4096x4096 [ 0.23s gl_play dbg ] tile 0: (0, 0): 300x300 xpd259@mars:~/workspace/glc$