grab a jpg image from the yawcam directory?

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
Banshee
Posts: 13
Joined: Sun Nov 21, 2004 8:32 pm

grab a jpg image from the yawcam directory?

Post by Banshee »

Is it possible grab a jpg image from the yawcam folder and by using a script have that image show on the webpage along with the webcam viewer while using the streaming mode of the cam software?
malun
Site Admin
Posts: 1590
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

You can do like this:

1) Edit your stream template page (or whatever page you use for the stream applet) to include the line:

Code: Select all

<img src="http://-public-address-to-your-yawcam-computer:8888/out.jpg">
(where 8888 is the port number you used in the settings for the http)
Your template file can be found in your Yawcam stream directory. (i.e. c:\program files\yawcam\stream)

2) Start booth the stream and the http output.

This should make the image to show up on the streampage.

/malun
Guest

Post by Guest »

I just have to say that this Yawcam program is just about the coolest free or pay webcam software I have ever used. I have been using webcam32 for years, but with the java change, wc32 has been a real pain lateley, as MSJVM has to used to view the streaming cam image. So anyway I would like to thank you so very much malun for this program and your quick support. Oh yes one more question.... Is it possible to grab a frame image from the stream also??
Banshee
Posts: 13
Joined: Sun Nov 21, 2004 8:32 pm

Post by Banshee »

I just have to say that this Yawcam program is just about the coolest free or pay webcam software I have ever used. I have been using webcam32 for years, but with the java change, wc32 has been a real pain lateley, as MSJVM has to used to view the streaming cam image. So anyway I would like to thank you so very much malun for this program and your quick support. Oh yes one more question.... Is it possible to grab a frame image from the stream also?? (sorry about the other post, I forgot to log in)
malun
Site Admin
Posts: 1590
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

Is it possible to grab a frame image from the stream also??
No, there is no way of grabbing a frame from the streaming applet. (If you don't use print screen)
But grabbing a frame from the http output would be the same, wouldn't it?

/malun
Last edited by malun on Sat Nov 27, 2004 8:08 pm, edited 1 time in total.
Banshee
Posts: 13
Joined: Sun Nov 21, 2004 8:32 pm

Grab jpg image?

Post by Banshee »

Would it be possible to have a "default save" setting to the www directory that would save the broadcasters name.jpg image without the name0.jpg, name1.jpg, and so on? this would be a nice feature for use on some webcam websites. Its purpose would be to have a preview mode for the cams broadcasting to the site.
malun
Site Admin
Posts: 1590
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

I'm not sure I understand you here...
You want to be able to get an image as a preview for the stream, right?

Do you want to use the file output and save the image in the www directory?
If you don't want an image array (where images get the name i.e. nam0.jpg, name1.jpg, name2.jpg and so on...) It's easier to just grab the out.jpg which will be a newly taken picture.

I don't know if I have answered your question... probably not ;-)
Please explain a bit more...

/malun
Banshee
Posts: 13
Joined: Sun Nov 21, 2004 8:32 pm

Post by Banshee »

By golly your a genius! the out.jpg works great for the preview mode!!!
If you want to check out what I'm up to with your cam software go to http://chatnvid.no-ip.com:81/index.php and log in to the ChatnVid page, you will have to register first, just name password, and email. This is a project I have been working on for over a year now. I first used WebcamXP, no-good, then Webcam32, no-good (java viewer problems had to use MSJVM to see video), then I found your software and I am totally impressed with it!!! I am not trying to promote my website as it is a private project for my friends, and old school mates, but your people may give it try if the want.
Again Thanks;
Banshee
malun
Site Admin
Posts: 1590
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

Great, I'll try your site soon...

/malun
Post Reply