[ltp] video snapshot

gustavo linux-thinkpad@linux-thinkpad.org
Wed, 10 Dec 2003 17:00:42 +0200


gustavo wrote:

>
>
> Grigory Batalov wrote:
>
>> On Wed, 10 Dec 2003 08:57:39 +0300
>> Grigory Batalov <grisxa@mail.ru> wrote:
>>
>>  
>>
>>>> Yes I mean online (realtime) but from MY screen, and .... VNC is for
>>>> remote terminal (I'm right?), and also only for do it like be 
>>>> there. So..
>>>> Can VNC recorder ???
>>>>     
>>>
>>>  VNC is often used for teaching (one man works, other are watching).
>>>
>>>  I can't remember where I read about it, but it seems to be
>>>  this link:
>>>
>>>  http://www.informatik.uni-trier.de/~ziewer/MulticastVNC/playback.html
>>>   
>>
>>
>>  No, this one:
>>
>>  http://www.unixuser.org/~euske/vnc2swf/
>>  
>>
> Hello
>  I taked the vnc2swf, I was config it but when I make I get the next 
> error:
>       / />tmp/vnc2swf-0.3$ make
>        gcc  -DHAVE_LIBZ=1 -DHAVE_LIBMING=1  -I. 
> -DVNC_SOCKLEN_T=socklen_t  -I/usr/X11R6/include  -O2 -Wall  -g -c 
> writeswf.c
>        writeswf.c: In function `WriteRawImage':
>        writeswf.c:342: `SWFDBLBitmap' undeclared (first use in this 
> function)
>        writeswf.c:342: (Each undeclared identifier is reported only once
>        writeswf.c:342: for each function it appears in.)
>        writeswf.c:342: parse error before `dbl'
>        writeswf.c:355: `dbl' undeclared (first use in this function)
>        make: *** [writeswf.o] Error 1
>
>  I taked a lock to the file 'ming.h', there you can see  (line 99) the 
> next lines:
>          /* SWFDBLBitmap extends SWFBitmap */
>
>        SWFBitmap newSWFDBLBitmap(FILE *f);
>        SWFBitmap newSWFDBLBitmap_fromInput(SWFInput input);
> And I didn't know where is the definition of this type 'SWFDBLBitmap', 
> (I'm using debian woody,
> I hope that isn't a problem). Do you know?  Did you the make  without 
> problems ??
>  Thank you
>  Gusti

  I fixed it with a litle 'define  in a file writeswf.c (#define 
SWFDBLBitmap SWFBitmap)
 and looks work.
  So I run vncserver:
       >vncserver :1
 follow by vnc2swf:
       >vnc2swf -startrecording out.swf :1
And a big window is opened, but I only want work in mi computer and 
record it. Do
you know how do it??
 
 thank
   Gusti
-- 
Regards.
gustavo halperin
_________________________________________
Laboratory for Computer Graphics and CAD
Faculty of Mechanical Engineering
Technion - Israel Institute of Technology
Haifa, Israel 32000

Tel:      972-4-829-2334
Fax:    972-4-829-5711
e-mail: gustavoh@tx.technion.ac.il <mailto:gustavoh@tx.technion.ac.il>
_________________________________________