Pages: [1]
  Print  
Author Topic: Can DCS-930L stream MJPEG video to VLC?  (Read 19187 times)
jsrober
Level 1 Member
*
Posts: 14


« on: March 20, 2011, 04:38:15 PM »

Hi,

I'd like to use VLC to view the MJPEG stream from the DCS-930L. What URL should I use to do this?

Thanks!
John
Logged
three_jeeps
Level 2 Member
**
Posts: 44


« Reply #1 on: March 21, 2011, 07:02:24 AM »

If your trying to get it through the Dlink server, I don't know how. I don't use that service.

If you configured the camera to be accessable via a third-party ip mapping service (e.g. noip.com, dyndsn.com) then use the name/ip address that you configured with the third party. 
Logged
dw886
Level 1 Member
*
Posts: 7


« Reply #2 on: March 25, 2011, 09:44:51 AM »

@three_jeeps:
Can you expand a little on your setup?  I understand that you have something mapping a domain name to an external IP.  What software are you using to view the camera?  I'm also trying to find the direct URL for the MJPEG stream so I can use different software (or build my own) to monitor the video feed for this camera...

Thanks for any information you can provide!
Logged
acellier
Level 4 Member
****
Posts: 380


« Reply #3 on: April 01, 2011, 01:00:35 PM »

I tried http://<LANIP>/jview.htm 
but the VLC error log said "not a mpeg stream"
each try required inputting admin & password, VLC tries but fails to read it ...
Logged
dw886
Level 1 Member
*
Posts: 7


« Reply #4 on: April 01, 2011, 01:02:44 PM »

try http://[LanIP]/video.cgi

That seems to be the MJPEG stream on these units...I called support and they told me that there wasn't one, but I was able to find it later using some network monitoring...
Logged
acellier
Level 4 Member
****
Posts: 380


« Reply #5 on: April 01, 2011, 02:27:21 PM »

http://[LanIP]/video.cgi works in the browser (currently Firefox 4, 32-bit, MacOS 10.6.7) but not in VLC 1.18
How did you find the alternate URL?
Logged
dw886
Level 1 Member
*
Posts: 7


« Reply #6 on: April 01, 2011, 02:51:34 PM »

There's another URL that you can try, I haven't been able to see any differences between the two though:  http://[LanIP]/mjpeg.cgi

In all honesty, I was troubleshooting about 5 different items at once, and the webcam was only a portion of the puzzle.  I was using Fiddler and Network Monitor watching the HTTP requests that were leaving my machine when using the built-in D-Link website on the camera.  I'd watch the requests, and then pull up the source from the pages that the requests were hitting looking for clues.

One thing to note, if you change the camera settings using the administration webpage, and then save the changes, you'll see that the stream at http://[LanIP]/video.cgi will be updates as well.  For example, if you use the D-Link UI to change the camera resolution or FPS, and then hit that stream, you'll see that the stream now has the new changes reflected.

I haven't figured out how to get to the audio or the motion detection, but I'd like to know that as well. There's an AudioControl.cgi file that you can pass two parameters two that will turn on the audio stream on/off in the D-Link UI, but I'm more interested in using the camera capabilities outside of the D-Link software - I just haven't had the time to dig into this more.  If they'd only give us access to the files running on the webserver on the camera, or give us some documentation!

Here's what I've been able to find so far:

Controls audio while streaming live video through the D-Link UI:
===============
http://[LanIP]/audiocontrol.cgi?AudioMute=0
http://[LanIP]/audiocontrol.cgi?AudioMute=1
===============

Video Feeds:
===============
http://[LanIP]/mjpeg.cgi
http://[LanIP]/video.cgi
===============

Hope this helps.  Please share if you find anything else. :-)
Logged
jsrober
Level 1 Member
*
Posts: 14


« Reply #7 on: April 01, 2011, 03:08:46 PM »

Thank you VERY much for sharing your research.

I tried both video.cgi and mjpeg.cgi in VLC, but it won't play them. That's too bad.

I agree the D-ViewCam software stinks. D-Link delivers mediocre products and ****py software. I wish I could afford Axis.

Keep up the good work!

John
Logged
three_jeeps
Level 2 Member
**
Posts: 44


« Reply #8 on: April 06, 2011, 12:18:39 PM »

@three_jeeps:
Can you expand a little on your setup?  I understand that you have something mapping a domain name to an external IP.  What software are you using to view the camera?  I'm also trying to find the direct URL for the MJPEG stream so I can use different software (or build my own) to monitor the video feed for this camera...

Thanks for any information you can provide!

here is, in general, what I did:
1) from the computer that is attached to your router, go to www.dyndns.com and sign up for a free domain name.  i.e. mycam1.dyndns.tv.  Dyndns will be able to automatically identify you domain address and use that domain address in its configuration process.
2) Log into your router and use port forwarding to forward your cameras IP address.  I am assuming you are behind a home router on a home network so the address will be something like 192.168.x.y - what ever IP address your router assigned to your camera via DHCP when the camera was initially powered on and connected.  So ip forwarding will automatically route a browser request from mycam1.dyndns.tv to your dlink camera located at 192.168.x.y, and subsequently will route the video feed from the camera to the browser that requested the information. 
If you are unsure of how to do port forwarding for your router, you may wish to visit: http://portforward.com/ and look up the detailed instructions for your router.
3) to test, from within a browser on a PC, in the address bar enter: mycam1.dyndns.tv:portnumber  where portnumber is the the port number you specified in your camera setup.

If successful, you should get the website of the camera, and it will ask you to authenticate (user name, pw). After you login you will see the video - you may have to toggle the ActiveX  or Java radio buttons, depending on how you set the cam up and the browser you are using.

4) to see the video stream in the browser, mycam1.dyndns.tv:portnumber/video.cgi
You can then try this in VLC and see if it works.  If you don't see anything, there may be a codec issue...but, from what I recall, VLC incorporates the largest number of codecs around....

If it works, you can fine tune the arrangement by entering the dyndns info into your camera website...that way, if your ISP changes your address, it will be picked up automatically by your camera.

Good luck.
-J
Logged
dw886
Level 1 Member
*
Posts: 7


« Reply #9 on: April 07, 2011, 07:35:08 AM »

One more update to this - I'm using mControl (home automation software) to interface to this camera.  About 50% of the time, I get an error that seems similar to what you're seeing in VLC where it says something to the effect of "the stream does not indicate the content type".  The error that you're seeing in VLC also sounds like it's complaining about the content type.  It almost seems like the stream isn't a normal MJPEG content stream.  If I keep trying to refresh the camera stream, eventually it'll work...

I really wish there was some technical documentation on these cameras.  If we could see the scripting from the VIDEO.cgi file, or the MJPEG.cgi file, it would surely help.  There could be parameters that need to be passed to the page that would re-start the stream (like video.cgi?profile=3, video.cgi?fps=20, etc.), but without being able to look at the files it's nearly impossible to tell this...

Anyone from D-Link have the content of the internal web server from the DCS-930L to share???
Logged
radiohe4d
Level 1 Member
*
Posts: 1


« Reply #10 on: February 04, 2014, 07:45:15 AM »

In case anyone else, much like myself, finds these posts but still no answers then hopefully I can help.

#######
Using:
#######

DCS-930L IP Camera (Only camera I have to test on)

VLC 2.0.7 (not sure if the version is relevant)
         Open VLC => 'Media' => 'Open Network Stream' => Edit and paste the address below => 'Play'

http://username:password@192.168.1.1:80/video/mjpg.cgi

#######
Replace:
#######

'username' and 'password' with those used to access your camera.
'192.168.1.1' with the cameras IP address (or for remote connection your DNS such as 'mycam.no-ip.biz')
         Don't forget the " : " between IP and Port number.
'80' with the cameras Port number (for remote connection this must be Port Forwarded in your router)

#######
And:
#######

You're done  Wink
Logged
lar2599
Level 1 Member
*
Posts: 1


« Reply #11 on: May 23, 2014, 04:59:21 AM »

I tried unsuccessfully for days to get my D-Link to connect with VLC.     Then the obvious happened....don't use your user name.....use "admin" then your password. Connected right up

You would think D-Link would make this info available to users...I now have a small , always on top , video stream on my desktop.
Logged
Pages: [1]
  Print  
 
Jump to:  

Theme by webtechnica.com.