--> Accessing Video URL with Delphi Using Video Grabber Component | Delphi Tips Trick

For Newbie

Tuesday, 27 September 2011

Accessing Video URL with Delphi Using Video Grabber Component

| Tuesday, 27 September 2011
Accessing Video URL with Delphi Using Video Grabber Component

Accessing video URL is video access that is saved in a certain directory website, where the video is addressed in a certain web domain. Domain can be in the form form of address that is friendly user like   axrtsphttp://webkamera.kristinehamn.se/mpeg4/media.amp,  or IP, for example http://192.168.50.1/cencored

Programming with Borland Delphi support for accessing video url including IP camera,
The component that is used in making video url accessing application with Delphi is as follows:  

No
Component Name Properties Value
1 Label1 Caption Video URL Address
2 Button1 Caption Preview
3 Edit1 Text axrtsphttp://webkamera
.kristinehamn.se/mpeg4/media.amp
4 Videograbber1 -


Arrange the source code like the picture Bellow:



And then type the following source code

No Component Event Source Code
1 Button1 OnClick VideoGrabber.IPCameraURL := edtIPCameraURL.Text;
    if VideoGrabber.VideoSource <> vs_IPCamera then begin
if VideoGrabber.CurrentState = cs_Down then begin
VideoGrabber.VideoSource := vs_IPCamera;
      end
end;
VideoGrabber.StartPreview;
2 Form1 OnCreate VideoGrabber.VideoSource := vs_IPCamera;

then run the application, this is the resut test:


Note:
The video grabber component that is used in this application is shareware version so that it could not work properly (maximal), in limited random time, applicaton will stopped working, besides that application will appear overlay text nagscreen the address of the website is www.datastead.com


  I hope this writing can give benefit to the visitors, readers, developer and me. Thanks for visiting and availability for sharing this article by pressing 
Share this on Facebook
or just press like button under this posting
 

Related Posts