HomePage RecentChanges

techlog

started this today Mon Jun 23 20:08:52 BST 2003

1) problems as missing depcomp (copied from elsewhere) 2) piecing together basic video playback - using capture as base but need to update capture side of it for dv1394 as used by dvgrab DONE- need to test that the ifdef for libdv1394 works ! then all of libdv playback stuff in capture is out of date so have to change all that (complete rewrite of playdv → also SDL init + display) 3) have to CVS up (changed Makefile.am and configure.in to reflect dv stuff - need to test it does work with new defines in playdv.c) [in future work in code/fm01 directory to cvs → sf.net]

Thu Jul 3 16:25:55 BST 2003

1) basic live playback working using dv1394 capture handle / triple buffering from capture and SDL. 2) now other function to add so plays back frames/offset/length from file (use mmap stuff from recent playdv) 3) code on laptop synced to sf is under sfnet/fm01 4) also start work on embed/extend python or lisp 5) also unify approach so can be extended with SDL_console and fm01 stream root screen + capture overlay screen

Mon Jul 7 18:33:53 BST 2003

1) playing with cl-sdl? bindings (couldn't get other cmucl-xlib-and-gl to work - could be mesa issue on lap to resolve) .. seems work ok also unclear on packages.

from cliki.net/asdf::

To compile and load a system 'foo', you need to (1) ensure that foo.asd is in one of the directories in central-registry (a symlink to the real location of foo.asd is preferred), (2) execute ``(asdf:operate 'asdf:load-op 'foo)''

$ cd /home/me/cl/systems/ $ ln -s ~/src/foo/foo.asd . $ lisp * (asdf:operate 'asdf:load-op 'foo)

which is fine for asdf? stuff.

Wed Jul 9 17:41:36 BST 2003

1) abstracting out dv stuff → towards tmpfile and full interface for wrapping … now is YUV (need to convert?) so only overlay at 0,0 no can set to whatever

can set dv colour space to RGB (but memcpy & blit to sdl surface is slow) - need other solution - maybe overlay to trans software sdl surface

is what type YUV? DV_FOURCC_YUY2 Packed mode: Y0+U0+Y1+V0

looking also at libavcodec - see apiexample.c under Mplayer/libavcodec

Thu Jul 10 19:51:54 BST 2003

1) now using OpenGL? under SDL for dv (rgb in libdv)→ screen so should work with console etc. code needs big clean up and could also do with more modular GL code. is around 20fps capture/playback at present (is ok)

TODO?: 1)ditch messing with cmucl gl stuff and check cl-sdl on main fm01 machine

2) run through all extending and embedding options

3) mpeg4 research

Thu Jul 17 00:28:51 BST 2003

1) using detachtty to run sbcl for server on fm01 now (is detachtty socket (/var/run/cliki-socket) command ) can use attachtty name@server:/var/run/cliki-socket to re-attach interactively

2) further abstracting dv stuff - is a total mess as not using dv1394 for capture - q of whether switch code to this - cannot seem to close raw handle and buffers cleanly.

3) OpenGL? with cl-sdl fine on fm01 machine

Tue Jul 22 14:49:59 BST 2003

1) fixed close raw handles but should shift code->dv1394. added sdl_console stuff (console.c). but low frame rate now ?

Thu Jul 24 16:46:45 BST 2003

1) see extend for recent work 2) upgraded araneida and cliki?

Sun Jul 27 20:28:25 BST 2003

1) first success with embed python now printing to sdl_console but need sort namespaces and PYTHONPATH issue DONE 2) also add play/record functions DONE 3) watch static functions (remember is local to module) 4) access C structures from interpreter important (research)

newton keyboard on ipaq running familiar linux :

mentions

modprobe serial modprobe newtonkbd modprobe keybdev modprobe serport

but also modprobe input ??? (that is loaded by newtonkbd) next day after re-solder and modules as above working so put stuff in /etc/modules and starts inputattach in /etc/rc.boot dir so all loads automatically and works

Fri Aug 8 14:51:07 BST 2003

1) had to clear SDL_console to avoid repetition of python->c stuff 2) play and live as functions with framecount (should next be frames x->y on play)

Wed Aug 13 20:48:06 BST 2003

really need to get lisp environment sorted - cl-sdl (using asdf) is fine with cmucl (not sbcl) but can't seem to load cmucl-xlib-and-gl to do much at all - loads library but can never find examples or whatever – eg. daniel's viewer.lisp … need to crack clc (common-lisp-controller) or whatever issues

further notes (now seem able to use viewer.lisp on m15)

1) downloaded clx-0.5 for sbcl (0.5.1 didn't compile). did symlink from .asd in /usr/local dist to /usr/share/common-lisp/systems/clx.asd then in sbcl (require 'clx) (which compiles and loads) then i did (load "viewer.lisp") (note package is called acclaim) - tried (acclaim::run) but classes didn't seem work when loaded slides.lisp so then did (in-package :acclaim) then (run) this clarifies some of modules/classes stuff.

looking at defsystem

2) next up is to do all this from emacs then look again at embedded lisp/ extended notes

Tue Aug 19 16:50:48 BST 2003

1) still package issues with my lisp experiments - trying out cmucl-xlib-and-gl examples (fail with divide by zero errors) - but simple-test.lisp has issues with xopendisplay (qualified as xlib-gl:xopendisplay is fine) but just has gl:function and then straight x stuff hmm

Fri Sep 12

1) working now on gdapp mostly to link up with fm01 → see gdappTODO?

2) to watch when compiling on non-debian → (esp gentoo). newer sdl_console (changed some headers) need python2.3 compiled as shared library (enable in configure - also prefix=/usr). do ./configure for fm01 with -prefix=/usr also think need to symlink for libpython2.3.so

should put some lisp stuff here → pref setup notes under gentoo and how to run stuff