הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Question
Thursday, June 30, 2016 12:04 PM
Hello
I want to show live streaming video of my IP camera in my windows desktop application using .Net .
I have my camera IP;Credentials and port number
All replies (10)
Saturday, July 2, 2016 5:07 PM ✅Answered | 1 vote
It has to be there please check whether you have added all the references and ActiceX is also installed. Cause these are the methods which is used to play video via VLC in winforms.
axVLCPlugin1.addTarget("rtsp://Your IP cam address", null, VLCPlaylistMode.VLCPlayListReplaceAndGo, 0); axVLCPlugin1.play(); --> used to start streaming
axVLCPlugin1.stop(); --> used to stop streaming
So please check and add references of axvlc.dll and vlc.dll
and also import the classes by using.
OR try this neither
axVLCPlugin1.playlist.add("rtsp address");
axVLCPlugin1.playlist.playItem(0);
axVLCPlugin1.playlist.stop();
Pradeep(PKM)
Friday, July 1, 2016 9:50 AM | 1 vote
Hi Tech,
You could host a WebBrowser control in your desktop application and show the IP camera video in WebBrowser.
Best Regards,
Li Wang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Friday, July 1, 2016 10:28 AM
Hello
I want to show live streaming video of my IP camera in my windows desktop application using .Net .
I have my camera IP;Credentials and port number
I bought a GoPro Hero 3+ a bit ago. Got rid of it cause its WiFi hotspot capabilities DHCP would not establish routing for my PC and had to implement static routes for it.
Anyhow I could access it's video streaming using special commands since the GoPro app wouldn't work on my PC due to my Graphics card not having some required open GL capability or something required by the GoPro app.
My guess is your IP camera may not be a WebCam or is it? If it's a WebCam you should be able to access it directly using a WebBrowser control as DotNet Wang mentions.
If your IP camera is not a WebCam but some proprietary device that doesn't work in the fashion of a WebCam such as the GoPro Hero 3+ then there may be commands you can use with the URL to cause the IP camera to distribute a video feed to an app in some fashion.
Perhaps you could provide the name and model of the IP camera in question so information could be researched in order to assist you.
La vida loca
Saturday, July 2, 2016 4:39 AM
I am having IP Camera of I Link Professionals. I am able to connect it and view the live stream using RTSP url in my VLC player.
Can we integrate the same rtsp url and use it in our destop app. to view the live stream as well as to record.
Saturday, July 2, 2016 5:04 AM
I am having IP Camera of I Link Professionals. I am able to connect it and view the live stream using RTSP url in my VLC player.
Can we integrate the same rtsp url and use it in our destop app. to view the live stream as well as to record.
iLink Professionals has various IP cameras. This IP camera is supported by Internet Explorer, no version of I.E. mentioned, and there is a WebBrowser control based on I.E. that can possibly be used with this camera to view a live stream.
As far as recording a live stream and displaying a live stream using VLC in a WindowsForms app you should probably go to VLC's website to find information on that. Also see Storing RTSP to a file location and Record RTSP Stream from IP-Cam using vb.net and AXVLCPlugin.
La vida loca
Saturday, July 2, 2016 5:32 AM
You can implement the VLC plugin (COM component) into your desktop application and there by providing the RSTP address of the camera you can show live feed.
I implemented that for a Panasonic IP camera and the feed was perfect.
But there is a catch. You must have VLC installed in the developer machine and users machine. Then go to "C:\Program Files\VideoLAN\VLC\axvlc.dll" and add this reference in your project and use the classes.
And if you don't want that VLC will be there in the users machine then copy the "C:\Program Files\VideoLAN\VLC\plugin" folder in your applications root directory and from there take reference of the axvlc.dll. But while implementing the application in the users machine you have to register this axvlc.dll in the users registry through code. If you can follow any one of the following then you are done.
Or try to implement this libvlc.net I haven't tried it but it can help you out.
OR
You can have a look at the OZEKI (third party dll) which also is used for live streaming of IP cameras but before that you have to see whether your IP camera supports ozeki.
I will look for my code that I implemented and if I find it out then I will share it. In the meantime you start to implement.
Pradeep(PKM)
Saturday, July 2, 2016 5:44 AM
Can you tell me how can I pass rtsp url to my vlc plugin in destop app
I have added vlc plugin in my toolbox and added to my form too
Saturday, July 2, 2016 6:01 AM
I guess it was something like this
axVLCPlugin1.addTarget("rtsp://Your IP cam address", null, VLCPlaylistMode.VLCPlayListReplaceAndGo, 0);
axVLCPlugin1.Play();
You try this in the meantime when I go back home I while try to find it and will send you my code.
Have a look at this also
Pradeep(PKM)
Saturday, July 2, 2016 7:19 AM
.addtarget & .play are not there. I have VLC 2.2.4 installed in my PC added PLugin is VLC ActiveX Plugin and IE Web Plugin v2
Monday, July 4, 2016 5:09 AM
Hey is your problem resolved.
If yes then don't forget to mark it as answer so that others can benefit from it also.
Pradeep(PKM)