Hey -

this is pretty cool!  I fixed the axis one by doing the following:

write/binary (to-file join "image" [ count ".jpg"]) copy/part head buffer p2
;count: count + 1
f/image: load (to-file join "image" [ count ".jpg"])
;f/image: load to-binary copy/part head buffer p2
show f

I'm not sure why the to-binary statement isn't working tho.  All this does
is save jpg to disk, and load it, reusing the same filename over and over.

- Porter


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 4:55 AM
Subject: [REBOL] Big Brother Re:


> Hi
>
> This stream use an rtsp protocol
> It need Real player.
>
> I write a small script to parse a multipart/x-mixed-replace stream of jpeg
> images from a webcam
>
> Here the format of the stream
>
> "The http header"
> Content-type: multipart/x-mixed-replace; boundary=--myboundary\n\n
> "The jpegs images"
> Content-type: image/jpeg\n\n
> image data
> \n\n--myboundary\n
> .
> .
> .
> Content-type: image/jpeg\n\n
> image data
> \n\n--myboundary\n
>
>
> It works smothly with our webcam in our intranet
> But i can't manage to make it works with a demo stream available on the
axis
> web site (www.axis.com)
>
> problem: the jpegs are parsed correctly but it fail to convert jpeg data
to
> an image! datatype.
> The images saved to disk are ok and they can be loaded later in rebol/view
> (see the source)
>
> May someone help me to fix it ?
>
> Thanks
>
> Hammiche Mourad
> [EMAIL PROTECTED]
>
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 06, 2000 4:23 AM
> Subject: [REBOL] Big Brother
>
>
> >
> > Is there a REBOL way of acquiring the pictures out of the stream from
> CBS's
> > "Big Brother"?
> >
> > I received a "Not Implemented" error.
> >
> > http://bb1.stream.aol.com:8080/ramgen/adtag/general/live/bblive1.smi
> > http://bb1.stream.aol.com:8080/ramgen/adtag/general/live/bblive2.smi
> > http://bb1.stream.aol.com:8080/ramgen/adtag/general/live/bblive3.smi
> > http://bb1.stream.aol.com:8080/ramgen/adtag/general/live/bblive4.smi
> >
> > --
> >
> >                 ---===///||| Donald Dalley |||\\\===---
> >                      The World of AmiBroker Support
> >                   http://webhome.idirect.com/~ddalley
> >                           UIN/ICQ#: 65203020
> >
> >
>

Reply via email to