Lisp HUG Maillist Archive

Questions: 1-Can I show video in CAPI panes? 2-How to get Photo File attributes such as Shoot Date-Time etc?

Hi all,

 

I’m a retired psychologist/professor renewing my LISP-related skills from many years ago (lisp and LW has added a lot of new stuff—CAPI is complex).  Currently I’m playing with LW to build a screensaver/photo-viewer that shows photos and preferably also camcorder videos (along with other options I can’t find on the slideshow viewers I located on the Internet).  For example most  don’t adjust the photo to full screen size automatically or give enough order options.

 

In this project I would also like to

1.      Display the photo attributes – especially the shoot date and time, and perhaps other attributes as well. Does anyone know how to find these file attributes in .JPG (and other) files using LispWorks?

2.      Display video files in the same CAPI  pane as I display the .jpg photos. I can’t find a way to play video files such as .MOV, .VOB,  .MPG etc.  using lisp or CAPI.  Does anyone know a way of doing this.  I have previous Java experience, but haven’t even looked into combining Java and LW.

 

I would appreciate any help anyone can give.  Anyone who’d like a (free) copy of the screensaver/photo-viewer could also let me know.

 

Tom

 

Tom G. Stevens

Tom.Stevens@csulb.edu

 

Re: Questions: 1-Can I show video in CAPI panes? 2-How to get Photo File attributes such as Shoot Date-Time etc?

I can help with the first question.

Data such as date the photo was taken and other miscellaneous data is stored as "EXIF" data in the image. Zach Beane wrote a library, ZPB-EXIF, which is able to extract and handle that data. You can find it here: http://www.xach.com/lisp/zpb-exif/

I do not know of any facilities LispWorks provides natively to extract such data.

For the second question, I do not believe there is a native way that CAPI provides for playing video files. Videos are a combination of notoriously complex formats, and it probably isn't sensible for CAPI to support all of them natively. I suspect that you would need to write something yourself entirely.

If I were you, I'd work on just photos to begin with, and put videos on the back-burner. :)

I hope that helps.

Cheers,

Robert


On Tue, Jul 23, 2013 at 7:17 PM, Tom Stevens <Tom.Stevens@csulb.edu> wrote:

Hi all,

 

I’m a retired psychologist/professor renewing my LISP-related skills from many years ago (lisp and LW has added a lot of new stuff—CAPI is complex).  Currently I’m playing with LW to build a screensaver/photo-viewer that shows photos and preferably also camcorder videos (along with other options I can’t find on the slideshow viewers I located on the Internet).  For example most  don’t adjust the photo to full screen size automatically or give enough order options.

 

In this project I would also like to

1.      Display the photo attributes – especially the shoot date and time, and perhaps other attributes as well. Does anyone know how to find these file attributes in .JPG (and other) files using LispWorks?

2.      Display video files in the same CAPI  pane as I display the .jpg photos. I can’t find a way to play video files such as .MOV, .VOB,  .MPG etc.  using lisp or CAPI.  Does anyone know a way of doing this..  I have previous Java experience, but haven’t even looked into combining Java and LW.

 

I would appreciate any help anyone can give.  Anyone who’d like a (free) copy of the screensaver/photo-viewer could also let me know.

 

Tom

 

Tom G. Stevens

Tom.Stevens@csulb.edu

 


Updated at: 2020-12-10 08:35 UTC